Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

All color attributes accept theme slot colors and shared colors #52

Closed
FeodorFitsner opened this issue Feb 16, 2021 · 0 comments
Closed
Labels
enhancement New feature or request

Comments

@FeodorFitsner
Copy link
Contributor

The list of theme colors can be found on Fluent UI Theme Slots page.

The list of shared colors can be found on Fluent UI Shared Colors page.

For example, you can add an icon with themePrimary color:

add icon name=shop color=themePrimary

Color is being searched in the following order:

  1. Theme slot color
  2. Shared color
  3. Fallback to a named web color or color hex value.
@FeodorFitsner FeodorFitsner added the enhancement New feature or request label Feb 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant