Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions src/material/core/tokens/m3/_md-sys-color.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
//
// Design system display name: Material 3
// Design system version: v0.161
//
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to mention what version these values are based on?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll probably continue iterating them in pieces as we spot discrepancies. I think the version is "up to date as far as we know", and its going to be hard to pin it down over time


@use 'sass:map';

// Indicates whether alternative tokens should be used
Expand Down Expand Up @@ -63,9 +58,7 @@ $_alternate-tokens: false;

@if ($_alternate-tokens) {
$values: map.merge($values, (
background: map.get($palettes, neutral, 10),
on-surface-variant: map.get($palettes, neutral-variant, 80),
surface: map.get($palettes, neutral, 10),
surface-bright: #37393b,
surface-container: #1e1f20,
surface-container-high: #282a2c,
Expand Down Expand Up @@ -136,17 +129,12 @@ $_alternate-tokens: false;
@if ($_alternate-tokens) {
$values: map.merge($values, (
background: map.get($palettes, neutral, 100),
on-error-container: map.get($palettes, error, 10),
on-primary-container: map.get($palettes, primary, 10),
on-secondary-container: map.get($palettes, secondary, 10),
on-tertiary-container: map.get($palettes, tertiary, 10),
surface: map.get($palettes, neutral, 100),
surface-bright: map.get($palettes, neutral, 100),
surface-container: #f0f4f9,
surface-container-high: #e9eef6,
surface-container-highest: #dde3ea,
surface-container-low: #f8fafd,
surface-container-lowest: map.get($palettes, primary, 100),
surface-dim: #d3dbe5,
surface-tint: #6991d6,
));
Expand Down
Loading