Skip to content

Commit 3f544ef

Browse files
committed
refactor(multiple): Stop exposing theme-from-token sass functions
We still need these functions, but we don't need to expose them since we're shelving `mat.theme` for now
1 parent 3c22e32 commit 3f544ef

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

src/material/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ sass_library(
2323
name = "sass_lib",
2424
srcs = [
2525
"_index.scss",
26-
"_token-theming.scss",
2726
],
2827
deps = [
2928
"//src/material/core:core_scss_lib",

src/material/_index.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
@forward './core/style/button-common' as private-button-common-*;
3939
// The form field density mixin needs to be exposed, because the paginator depends on it.
4040
@forward './form-field/form-field-theme' as private-form-field-* show private-form-field-density;
41-
@forward './token-theming' as private-apply-*;
4241
@forward './core/style/sass-utils' as private-*;
4342

4443
// Structural

src/material/_token-theming.scss

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/material/card/_card-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
}
9090
}
9191

92-
@mixin theme-from-tokens($tokens) {
92+
@mixin _theme-from-tokens($tokens) {
9393
@if ($tokens != ()) {
9494
$elevated-card-tokens: map.get($tokens, tokens-mdc-elevated-card.$prefix);
9595
// Work around a bug in MDC where the elevation is not resolved to an actual shadow value.

src/material/checkbox/_checkbox-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
}
9898
}
9999

100-
@mixin theme-from-tokens($tokens) {
100+
@mixin _theme-from-tokens($tokens) {
101101
@if ($tokens != ()) {
102102
// TODO(mmalerba): Some of the theme styles above are not represented in terms of tokens,
103103
// so this mixin is currently incomplete.

0 commit comments

Comments
 (0)