UNPKG

@fluentui/react

Version:

Reusable React components for building web experiences.

39 lines (38 loc) 2.05 kB
import type { IThemeRules } from './IThemeRules'; export declare enum BaseSlots { primaryColor = 0, backgroundColor = 1, foregroundColor = 2 } export declare enum FabricSlots { themePrimary = 0,// BaseSlots.primaryColor, Shade[Shade.Unshaded]); themeLighterAlt = 1,// BaseSlots.primaryColor, Shade[Shade.Shade1]); themeLighter = 2,// BaseSlots.primaryColor, Shade[Shade.Shade2]); themeLight = 3,// BaseSlots.primaryColor, Shade[Shade.Shade3]); themeTertiary = 4,// BaseSlots.primaryColor, Shade[Shade.Shade4]); themeSecondary = 5,// BaseSlots.primaryColor, Shade[Shade.Shade5]); themeDarkAlt = 6,// BaseSlots.primaryColor, Shade[Shade.Shade6]); themeDark = 7,// BaseSlots.primaryColor, Shade[Shade.Shade7]); themeDarker = 8,// BaseSlots.primaryColor, Shade[Shade.Shade8]); neutralLighterAlt = 9,// BaseSlots.backgroundColor, Shade[Shade.Shade1]); neutralLighter = 10,// BaseSlots.backgroundColor, Shade[Shade.Shade2]); neutralLight = 11,// BaseSlots.backgroundColor, Shade[Shade.Shade3]); neutralQuaternaryAlt = 12,// BaseSlots.backgroundColor, Shade[Shade.Shade4]); neutralQuaternary = 13,// BaseSlots.backgroundColor, Shade[Shade.Shade5]); neutralTertiaryAlt = 14,// BaseSlots.backgroundColor, Shade[Shade.Shade6]); // bg6 or fg2 neutralTertiary = 15,// BaseSlots.foregroundColor, Shade[Shade.Shade3]); neutralSecondaryAlt = 16,// BaseSlots.foregroundColor, Shade[Shade.Shade4]); neutralSecondary = 17,// BaseSlots.foregroundColor, Shade[Shade.Shade5]); neutralPrimaryAlt = 18,// BaseSlots.foregroundColor, Shade[Shade.Shade6]); neutralPrimary = 19,// BaseSlots.foregroundColor, Shade[Shade.Unshaded]); neutralDark = 20,// BaseSlots.foregroundColor, Shade[Shade.Shade7]); black = 21,// BaseSlots.foregroundColor, Shade[Shade.Shade8]); white = 22 } export declare enum SemanticColorSlots { bodyBackground = 0, bodyText = 1, disabledBackground = 2, disabledText = 3 } export declare function themeRulesStandardCreator(): IThemeRules;