@@ -8,7 +8,15 @@ $prefix: (mat, slider);
8
8
// Tokens that can't be configured through Angular Material's current theming API,
9
9
// but may be in a future version of the theming API.
10
10
@function get-unthemable-tokens () {
11
- @return ();
11
+ @return (
12
+ value- indicator- width: auto ,
13
+ value- indicator- height: 32px ,
14
+ value- indicator- caret- width: 6px ,
15
+ value- indicator- caret- height: 6px ,
16
+ value- indicator- caret- offset: -5px ,
17
+ value- indicator- border- radius: 4px ,
18
+ value- indicator- padding: 0 12px
19
+ );
12
20
}
13
21
14
22
// Tokens that can be configured through Angular Material's color theming API.
@@ -17,14 +25,7 @@ $prefix: (mat, slider);
17
25
18
26
@return (
19
27
// Opacity of value indicator text container
20
- value- indicator- opacity: if ($is-dark , 0.9 , 0.6 ),
21
- value- indicator- width: auto ,
22
- value- indicator- height: 32px ,
23
- value- indicator- caret- width: 6px ,
24
- value- indicator- caret- height: 6px ,
25
- value- indicator- caret- offset: -5px ,
26
- value- indicator- border- radius: 4px ,
27
- value- indicator- padding: 0 12px ,
28
+ value- indicator- opacity: if ($is-dark , 0.9 , 0.6 )
28
29
);
29
30
}
30
31
@@ -42,9 +43,9 @@ $prefix: (mat, slider);
42
43
// This is used to create token slots.
43
44
@function get-token-slots () {
44
45
@return sass-utils .deep-merge-all (
45
- get-unthemable-tokens (),
46
- get-color-tokens (token-utils .$placeholder-color-config ),
47
- get-typography-tokens (token-utils .$placeholder-typography-config ),
48
- get-density-tokens (token-utils .$placeholder-density-config )
46
+ get-unthemable-tokens (),
47
+ get-color-tokens (token-utils .$placeholder-color-config ),
48
+ get-typography-tokens (token-utils .$placeholder-typography-config ),
49
+ get-density-tokens (token-utils .$placeholder-density-config )
49
50
);
50
51
}
0 commit comments