Commit c5e4766
committed
fix(material-experimental/theming): Update M3 palettes (#28109)
Last time I checked, the M3 theme generator generated the same neutral
palette regardless of the primary color used. That didn't really make
much sense, because it caused the neutral colors to always have a
purplish tint. It seems like maybe a bug that was fixed, because now it
generates different neutral colors depending on the primary.
I've updated our pre-defined palettes to capture these different
neutrals. I created a script to convert the MDC theme builder exports to
our palette CSS format. I'm not including it as part of this commit, but
just FYI that it'll be cheap to add to / update our predefined palettes
in the future. If we want the script checked in I can clean it up and
make a separate PR for it.
(cherry picked from commit 1735032)1 parent cfe596a commit c5e4766
File tree
5 files changed
+390
-196
lines changed- src
- material-experimental/theming
- material/core/theming/tests
5 files changed
+390
-196
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments