UNPKG

igniteui-theming

Version:

A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.

32 lines (31 loc) 1.17 kB
import palettes_default from "../theming/dist/json/colors/presets/palettes.js"; //#region src/knowledge/palettes.ts /** * Embedded palette presets from the Ignite UI Theming framework. * These are loaded from the JSON files generated by buildJSON.mjs * which is the single source of truth from the Sass code. */ /** * All palette presets loaded from JSON. */ var PALETTE_PRESETS = palettes_default; /** * Get light palette presets only. */ var LIGHT_PALETTE_PRESETS = { "light-bootstrap-palette": PALETTE_PRESETS["light-bootstrap-palette"], "light-material-palette": PALETTE_PRESETS["light-material-palette"], "light-fluent-palette": PALETTE_PRESETS["light-fluent-palette"], "light-indigo-palette": PALETTE_PRESETS["light-indigo-palette"] }; /** * Get dark palette presets only. */ var DARK_PALETTE_PRESETS = { "dark-bootstrap-palette": PALETTE_PRESETS["dark-bootstrap-palette"], "dark-material-palette": PALETTE_PRESETS["dark-material-palette"], "dark-fluent-palette": PALETTE_PRESETS["dark-fluent-palette"], "dark-indigo-palette": PALETTE_PRESETS["dark-indigo-palette"] }; //#endregion export { DARK_PALETTE_PRESETS, LIGHT_PALETTE_PRESETS, PALETTE_PRESETS };