gd-sprest-bs
Version:
SharePoint JavaScript, TypeScript and Web Components designed using the Bootstrap framework.
111 lines (110 loc) • 4.72 kB
JavaScript
// Default modern theme key/value (variable name/key for theme information)
export const DefaultModern = {
"--sp-accent": "accent",
"--sp-black": "black",
"--sp-blocking-icon": "blockingIcon",
"--sp-blue": "blue",
"--sp-blue-light": "blueLight",
"--sp-error-background": "errorBackground",
"--sp-error-icon": "errorIcon",
"--sp-green": "green",
"--sp-green-dark": "greenDark",
"--sp-green-light": "greenLight",
"--sp-info-background": "infoBackground",
"--sp-info-icon": "infoIcon",
"--sp-magenta-light": "magentaLight",
"--sp-neutral-dark": "neutralDark",
"--sp-neutral-light": "neutralLight",
"--sp-neutral-lighter": "neutralLighter",
"--sp-neutral-lighter-alt": "neutralLighterAlt",
"--sp-neutral-primary": "neutralPrimary",
"--sp-neutral-primary-alt": "neutralPrimaryAlt",
"--sp-neutral-secondary": "neutralSecondary",
"--sp-neutral-secondary-alt": "neutralSecondaryAlt",
"--sp-neutral-tertiary": "neutralTertiary",
"--sp-neutral-tertiary-alt": "neutralTertiaryAlt",
"--sp-neutral-quaternary": "neutralQuaternary",
"--sp-neutral-quaternary-alt": "neutralQuaternaryAlt",
"--sp-orange": "orange",
"--sp-primary-button-text": "primaryButtonText",
"--sp-primary-text": "primaryText",
"--sp-purple": "purple",
"--sp-purple-dark": "purpleDark",
"--sp-purple-light": "purpleLight",
"--sp-red": "red",
"--sp-red-dark": "redDark",
"--sp-severe-warning-background": "severeWarningBackground",
"--sp-severe-warning-icon": "severeWarningIcon",
"--sp-success-background": "successBackground",
"--sp-success-icon": "successIcon",
"--sp-teal": "teal",
"--sp-theme-dark": "themeDark",
"--sp-theme-darker": "themeDarker",
"--sp-theme-dark-alt": "themeDarkAlt",
"--sp-theme-light": "themeLight",
"--sp-theme-lighter": "themeLighter",
"--sp-theme-lighter-alt": "themeLighterAlt",
"--sp-theme-primary": "themePrimary",
"--sp-theme-secondary": "themeSecondary",
"--sp-theme-tertiary": "themeTertiary",
"--sp-warning-background": "warningBackground",
"--sp-warning-highlight": "warningHighlight",
"--sp-white": "white",
"--sp-yellow": "yellow",
"--sp-yellow-dark": "yellowDark"
};
// Default classic theme key/value (variable name/key for theme information)
export const DefaultClassic = {
"--sp-accent": "accentButtonBackground",
"--sp-black": "bodyTextChecked",
"--sp-blocking-icon": "blockingIcon",
"--sp-blue": "blue",
"--sp-blue-light": "blueLight",
"--sp-error-background": "errorBackground",
"--sp-error-icon": "errorIcon",
"--sp-green": "green",
"--sp-green-dark": "greenDark",
"--sp-green-light": "greenLight",
"--sp-info-background": "infoBackground",
"--sp-info-icon": "infoIcon",
"--sp-magenta-light": "magentaLight",
"--sp-neutral-dark": "StrongBodyText",
"--sp-neutral-light": "DisabledLines",
"--sp-neutral-lighter": "DialogBorder",
"--sp-neutral-lighter-alt": "DisabledBackground",
"--sp-neutral-primary": "ButtonText",
"--sp-neutral-primary-alt": "neutralPrimaryAlt",
"--sp-neutral-secondary": "SubtleEmphasisText",
"--sp-neutral-secondary-alt": "SubtleBodyText",
"--sp-neutral-tertiary": "DisabledText",
"--sp-neutral-tertiary-alt": "SubtleLines",
"--sp-neutral-quaternary": "disabledSubtext",
"--sp-neutral-quaternary-alt": "listItemBackgroundCheckedHovered",
"--sp-orange": "orange",
"--sp-primary-button-text": "TileText",
"--sp-primary-text": "BodyText",
"--sp-purple": "purple",
"--sp-purple-dark": "purpleDark",
"--sp-purple-light": "purpleLight",
"--sp-red": "red",
"--sp-red-dark": "redDark",
"--sp-severe-warning-background": "severeWarningBackground",
"--sp-severe-warning-icon": "severeWarningIcon",
"--sp-success-background": "successBackground",
"--sp-success-icon": "successIcon",
"--sp-teal": "teal",
"--sp-theme-dark": "EmphasisBorder",
"--sp-theme-darker": "EmphasisHoverBorder",
"--sp-theme-dark-alt": "primaryButtonBackgroundHovered",
"--sp-theme-light": "StrongLines",
"--sp-theme-lighter": "ButtonHoverBackground",
"--sp-theme-lighter-alt": "themeLighterAlt",
"--sp-theme-primary": "AccentText",
"--sp-theme-secondary": "AccentLines",
"--sp-theme-tertiary": "SuiteBarHoverBackground",
"--sp-warning-background": "warningBackground",
"--sp-warning-highlight": "warningHighlight",
"--sp-white": "EmphasisText",
"--sp-yellow": "yellow",
"--sp-yellow-dark": "yellowDark"
};