igniteui-theming
Version:
A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.
28 lines (27 loc) • 982 B
JavaScript
import indigo_default from "../theming/dist/json/elevations/indigo.js";
import material_default from "../theming/dist/json/elevations/material.js";
//#region src/knowledge/elevations.ts
/**
* Elevation presets for Material and Indigo design systems.
* These are loaded from the JSON files generated by buildJSON.mjs
* which is the single source of truth from the Sass code.
*/
/**
* Material Design elevation definitions loaded from JSON.
* Based on the Material Design elevation system with 25 levels (0-24).
*/
var MATERIAL_ELEVATIONS = material_default.elevations;
/**
* Indigo Design System elevation definitions loaded from JSON.
* A custom elevation system with unique shadow definitions.
*/
var INDIGO_ELEVATIONS = indigo_default.elevations;
/**
* All elevation presets indexed by design system name.
*/
var ELEVATION_PRESETS = {
material: MATERIAL_ELEVATIONS,
indigo: INDIGO_ELEVATIONS
};
//#endregion
export { ELEVATION_PRESETS, INDIGO_ELEVATIONS, MATERIAL_ELEVATIONS };