Skip to content

Commit e2ed6d9

Browse files
Merge pull request #9226 from IgniteUI/simeonoff/12.0.x-migrations
migrations(themes): update button migration
2 parents c80e8af + 7884953 commit e2ed6d9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

projects/igniteui-angular/migrations/update-12_0_0/changes/theme-props.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
"owner": "igx-button-theme"
323323
},
324324
{
325-
"name": "$disabled-text-color",
325+
"name": "$disabled-color",
326326
"replaceWith": "$disabled-foreground",
327327
"owner": "igx-button-theme"
328328
}

projects/igniteui-angular/src/lib/core/styles/themes/_index.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,16 @@
6969
/// @param {Map} $schema [$light-schema] - The schema used as basis for styling the components.
7070
/// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles.
7171
/// @param {Boolean} $legacy-support [false] - If set to true, it turns on support for IE11, i.e. css variables are not used in the generated component themes.
72-
/// @param {Boolean} $elevation [true] - Turns on/off elevations for all components in the theme.
7372
/// @param {Number} $roundness [null] - Sets the global roundness factor (the value can be any decimal fraction between 0 and 1) for all components.
73+
/// @param {Boolean} $elevation [true] - Turns on/off elevations for all components in the theme.
74+
/// @param {Map} $elevations [$igx-elevations] - The elevation map to be used by all component themes.
7475
/// @requires $components
7576
/// @requires $default-palette
77+
/// @requires $igx-elevations
7678
/// @requires {function} is-component
7779
@mixin igx-theme(
7880
$palette,
79-
$schema: $light-schema,
81+
$schema: $light-material-schema,
8082
$exclude: (),
8183
$legacy-support: false,
8284
$roundness: null,

0 commit comments

Comments
 (0)