Skip to content

Commit

Permalink
feat(material/core): rename theme mixin (#29857)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin authored Oct 10, 2024
1 parent 48b2680 commit 4869909
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/dev-app/theme-m3.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ html {
}

body.demo-experimental-theme {
@include mat.private-experimental-theme((
@include mat.theme((
color: (
theme-type: light,
primary: $primary,
Expand Down Expand Up @@ -83,7 +83,7 @@ body.demo-unicorn-dark-theme {
}

&.demo-experimental-theme {
@include mat.private-experimental-theme((
@include mat.theme((
color: (
theme-type: dark,
primary: $primary,
Expand All @@ -110,7 +110,7 @@ $density-scales: (-1, -2, -3, -4, minimum, maximum);
}

body.demo-experimental-theme & {
@include mat.private-experimental-theme((density: $scale));
@include mat.theme((density: $scale));
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions src/material/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
@forward './core/tokens/m2' show m2-tokens-from-theme;
@forward './core/tokens/m3-system' show system-level-colors,
system-level-typography, system-level-elevation, system-level-shape,
system-level-motion, system-level-state;
@forward './core/tokens/m3-system' as private-experimental-* show private-experimental-theme;
system-level-motion, system-level-state, theme;

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

0 comments on commit 4869909

Please sign in to comment.