@microsoft/fast-components > isDark
isDark() function
Determines if a color should be considered Dark Mode
Signature:export declare function isDark(color: Swatch): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
color | Swatch | The color to check to mode of |
boolean
boolean