Skip to content

Commit 31fa24f

Browse files
committed
chore(tokens): 🔥 Replace v0_172 tokens with latest ones from @material/web
This commit removes the v0_172 tokens and updates the import paths. - Removes the old token files. - Updates the import paths to v0_192. - Adds comment to _index.scss with the source from where tokens can be updated.
1 parent ff7b7ac commit 31fa24f

10 files changed

+9
-292
lines changed

‎tokens/_index.scss‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
// SPDX-License-Identifier: Apache-2.0
44
//
55

6+
/**
7+
* Tokens can be grabbed from here: https://github.com/material-components/material-web/blob/main/tokens/v0_192 or here: https://github.com/material-components/material-web/tree/e8b5b29d1eb18566126b77fcdc01c5f7f8899e25/tokens
8+
* And then updated per-component from the Material Design website.
9+
*/
10+
611
// go/keep-sorted start
712
@forward './md-comp-data-table' as md-comp-data-table-*;
813
@forward './md-comp-elevated-card' as md-comp-elevated-card-*;

‎tokens/_md-comp-data-table.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@use '@material/web/tokens/md-sys-shape';
99
@use '@material/web/tokens/md-sys-state';
1010
@use '@material/web/tokens/md-sys-typescale';
11-
@use './v0_172/md-comp-data-table';
11+
@use '@material/web/tokens/v0_192/md-comp-data-table';
1212
// go/keep-sorted end
1313

1414
$_default: (

‎tokens/_md-comp-elevated-card.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@use '@material/web/tokens/md-sys-elevation';
99
@use '@material/web/tokens/md-sys-shape';
1010
@use '@material/web/tokens/md-sys-state';
11-
@use './v0_172/md-comp-elevated-card';
11+
@use '@material/web/tokens/v0_192/md-comp-elevated-card';
1212
// go/keep-sorted end
1313

1414
$_default: (

‎tokens/_md-comp-filled-card.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@use '@material/web/tokens/md-sys-elevation';
99
@use '@material/web/tokens/md-sys-shape';
1010
@use '@material/web/tokens/md-sys-state';
11-
@use './v0_172/md-comp-filled-card';
11+
@use '@material/web/tokens/v0_192/md-comp-filled-card';
1212
// go/keep-sorted end
1313

1414
$_default: (

‎tokens/_md-comp-outlined-card.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@use '@material/web/tokens/md-sys-elevation';
99
@use '@material/web/tokens/md-sys-shape';
1010
@use '@material/web/tokens/md-sys-state';
11-
@use './v0_172/md-comp-outlined-card';
11+
@use '@material/web/tokens/v0_192/md-comp-outlined-card';
1212
// go/keep-sorted end
1313

1414
$_default: (

‎tokens/v0_172/_index.scss‎

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

‎tokens/v0_172/_md-comp-data-table.scss‎

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

‎tokens/v0_172/_md-comp-elevated-card.scss‎

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

‎tokens/v0_172/_md-comp-filled-card.scss‎

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

‎tokens/v0_172/_md-comp-outlined-card.scss‎

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

0 commit comments

Comments
 (0)