Commit a752641
fix(material/core): handle hues inferred as numbers (#23237)
We have some hues that start with a number (e.g. `700-contrast`), which can break the map lookup in `get-color-from-palette`, because Sass infers them as numbers.
These changes make it so that the key is cast to a string before we do the lookup.
Fixes #23230.
(cherry picked from commit df7c46b)1 parent efa9e92 commit a752641
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
0 commit comments