Skip to content

Commit 26d5f2f

Browse files
committed
refactor: more fixes
1 parent 490cb15 commit 26d5f2f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/material/button/_icon-button-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
@include sass-utils.current-selector-or-root() {
8989
@include token-utils.create-token-values-mixed(
9090
m2-icon-button.get-density-tokens(
91-
$theme, $exclude: (state-layer-size))
91+
$theme, $exclude: (icon-button-state-layer-size))
9292
);
9393
}
9494

src/material/button/_m2-button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
button-filled-ripple-color: $ripple-color,
148148
button-filled-state-layer-color: $state-layer-color,
149149
button-outlined-label-text-color: inspection.get-theme-color($theme, $palette-name, default),
150-
button-outlined-outline-color: map.get(get-color-tokens($theme), outlined-outline-color),
150+
button-outlined-outline-color: map.get(get-color-tokens($theme), button-outlined-outline-color),
151151
button-outlined-ripple-color:
152152
if(
153153
meta.type-of(inspection.get-theme-color($theme, $palette-name)) == color,

src/material/checkbox/_checkbox-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
&.mat-primary {
3737
@include token-utils.create-token-values-mixed(
3838
m2-checkbox.get-color-tokens($theme, primary,
39-
$exclude: (disabled-label-color, label-text-color))
39+
$exclude: (checkbox-disabled-label-color, checkbox-label-text-color))
4040
);
4141
}
4242

4343
&.mat-warn {
4444
@include token-utils.create-token-values-mixed(
4545
m2-checkbox.get-color-tokens($theme, warn,
46-
$exclude: (disabled-label-color, label-text-color))
46+
$exclude: (checkbox-disabled-label-color, checkbox-label-text-color))
4747
);
4848
}
4949
}

src/material/core/tokens/_m3-system.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
// Emit component-level density tokens if the scale is lower than 0. The density tokens
145145
// do not fallback to any system-level values and must be defined if the scale is different.
146146
$density-tokens: get-density-tokens($scale);
147-
@each $prefix, $tokens in $density-tokens {
147+
@each $tokens in $density-tokens {
148148
@each $token-name, $token-value in $tokens {
149149
--mat-#{$token-name}: #{$token-value};
150150
}

src/material/tabs/_tabs-theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@
3232
.mat-mdc-tab-nav-bar {
3333
@include token-utils.create-token-values-mixed(
3434
m2-tabs.get-color-tokens($theme, primary,
35-
$exclude: (background-color, foreground-color)));
35+
$exclude: (tab-background-color, tab-foreground-color)));
3636

3737
&.mat-accent {
3838
@include token-utils.create-token-values-mixed(
3939
m2-tabs.get-color-tokens($theme, accent,
40-
$exclude: (background-color, foreground-color)));
40+
$exclude: (tab-background-color, tab-foreground-color)));
4141
}
4242

4343
&.mat-warn {
4444
@include token-utils.create-token-values-mixed(
4545
m2-tabs.get-color-tokens($theme, warn,
46-
$exclude: (background-color, foreground-color)));
46+
$exclude: (tab-background-color, tab-foreground-color)));
4747
}
4848

4949
&.mat-background-primary {

0 commit comments

Comments
 (0)