How to use the @fluentui/react.themes.teamsHighContrast function in @fluentui/react

To help you get started, we’ve selected a few @fluentui/react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / fluent-ui-react / docs / src / views / ColorSchemes.tsx View on Github external
'brand',
              'red',
              'green',
              'yellow',
              'orange',
              'pink',
              'silver',
              'onyx',
              'amethyst',
            ]}
            defaultValue={'brand'}
            placeholder="Select the color"
            onSelectedChange={(e, { value }) => setColor(value as string)}
          />
github microsoft / fluent-ui-react / docs / src / views / CategoryColorSchemes.tsx View on Github external
'orange',
              'orangeLight',
              'yellowDark',
              'yellow',
              'brown',
              'oliveDark',
              'olive',
              'neon',
              'formatting',
            ]}
            defaultValue={'red'}
            placeholder="Select the color"
            onSelectedChange={(e, { value }) => setColor(value as string)}
          />
github microsoft / fluent-ui-react / docs / src / views / Colors.tsx View on Github external
inputBorder: colors.black[750],
    textAreaBorder: colors.black[450],
  }
}
          `}
          />

          <p>
            You can see use color schemes defined for Teams' themes as reference to create own,
            below is definition for <code>brand</code> color in in Teams light, high contrast and
            dark themes.
          </p>