Themes: Expose elevations as custom CSS props #8920
Labels
program: igniteui
project management
✨ themes
🧰 feature-request
version: 12.0.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Is your feature request related to a problem? Please describe
Expose all levels of elevation (0..24) as custom CSS props.
Describe the solution you'd like
Create a mixin called
igx-elevation-vars
that include all custom CSS elevation props in a given scope for a given Sass map as produced by theigx-elevations
function.Update the
igx-elevation
function to retrieve an elevation level as either :$elevations
map is passed or$igx-legacy-support
is set totrue
);$elevations
map is omitted and$igx-legacy-support
is set tofalse
);$igx-legacy-support
is set totrue
and the$elevation
map is not passed, try to resolve the elevations from the default$elevation
map;Additional context
This feature is a part of #8868
The text was updated successfully, but these errors were encountered: