Skip to content

Commit 4869909

Browse files
authored
feat(material/core): rename theme mixin (#29857)
1 parent 48b2680 commit 4869909

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/dev-app/theme-m3.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ html {
4747
}
4848

4949
body.demo-experimental-theme {
50-
@include mat.private-experimental-theme((
50+
@include mat.theme((
5151
color: (
5252
theme-type: light,
5353
primary: $primary,
@@ -83,7 +83,7 @@ body.demo-unicorn-dark-theme {
8383
}
8484

8585
&.demo-experimental-theme {
86-
@include mat.private-experimental-theme((
86+
@include mat.theme((
8787
color: (
8888
theme-type: dark,
8989
primary: $primary,
@@ -110,7 +110,7 @@ $density-scales: (-1, -2, -3, -4, minimum, maximum);
110110
}
111111

112112
body.demo-experimental-theme & {
113-
@include mat.private-experimental-theme((density: $scale));
113+
@include mat.theme((density: $scale));
114114
}
115115
}
116116
}

src/material/_index.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
@forward './core/tokens/m2' show m2-tokens-from-theme;
2121
@forward './core/tokens/m3-system' show system-level-colors,
2222
system-level-typography, system-level-elevation, system-level-shape,
23-
system-level-motion, system-level-state;
24-
@forward './core/tokens/m3-system' as private-experimental-* show private-experimental-theme;
23+
system-level-motion, system-level-state, theme;
2524

2625
// Private/Internal
2726
@forward './core/density/private/all-density' show all-component-densities;

0 commit comments

Comments
 (0)