File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99@import ' icon/md-icon' ;
1010@import ' motion/md-motion-tokens-easing' ;
1111@import ' shape/md-shape-tokens' ;
12+ @import ' space/md-space-tokens' ;
1213@import ' typography/md-typography-tokens' ;
1314// go/keep-sorted end
Original file line number Diff line number Diff line change 1+ /* !
2+ * Copyright 2026 Google LLC
3+ * SPDX-License-Identifier: Apache-2.0
4+ */
5+
6+ @layer md.sys.space {
7+ :root {
8+ --md-sys-space-unit : 8px ;
9+ --md-sys-space-0 : calc (var (--md-sys-space-unit ) * 0 );
10+ --md-sys-space-25 : calc (var (--md-sys-space-unit ) * 0.25 );
11+ --md-sys-space-50 : calc (var (--md-sys-space-unit ) * 0.5 );
12+ --md-sys-space-75 : calc (var (--md-sys-space-unit ) * 0.75 );
13+ --md-sys-space-100 : var (--md-sys-space-unit );
14+ --md-sys-space-125 : calc (var (--md-sys-space-unit ) * 1.25 );
15+ --md-sys-space-150 : calc (var (--md-sys-space-unit ) * 1.5 );
16+ --md-sys-space-175 : calc (var (--md-sys-space-unit ) * 1.75 );
17+ --md-sys-space-200 : calc (var (--md-sys-space-unit ) * 2 );
18+ --md-sys-space-250 : calc (var (--md-sys-space-unit ) * 2.5 );
19+ --md-sys-space-300 : calc (var (--md-sys-space-unit ) * 3 );
20+ --md-sys-space-400 : calc (var (--md-sys-space-unit ) * 4 );
21+ --md-sys-space-450 : calc (var (--md-sys-space-unit ) * 4.5 );
22+ --md-sys-space-500 : calc (var (--md-sys-space-unit ) * 5 );
23+ --md-sys-space-600 : calc (var (--md-sys-space-unit ) * 6 );
24+ --md-sys-space-700 : calc (var (--md-sys-space-unit ) * 7 );
25+ --md-sys-space-800 : calc (var (--md-sys-space-unit ) * 8 );
26+ --md-sys-space-900 : calc (var (--md-sys-space-unit ) * 9 );
27+ }
28+ }
Original file line number Diff line number Diff line change 135135 --shadow-2xl : initial ; // Material does not have a 2xl shadow.
136136
137137 // Space
138- --spacing : 8 px ;
138+ --spacing : var ( --md-sys-space-unit ) ;
139139
140140 // Breakpoints
141141 --breakpoint-sm : 600px ; // medium
You can’t perform that action at this time.
0 commit comments