@@ -12,11 +12,11 @@ $tag-colors-default-hover-color: theme(
12
12
);
13
13
$tag-colors-default-background-color : theme (
14
14
' tag-colors-default-background-color' ,
15
- colors .surface ( neutral )
15
+ colors .tag ( default )
16
16
);
17
17
$tag-colors-default-hover-background-color : theme (
18
18
' tag-colors-default-hover-background-color' ,
19
- colors .button ( secondary -hover )
19
+ colors .tag ( default -hover )
20
20
);
21
21
22
22
$tag-colors-primary-color : theme (
@@ -25,11 +25,11 @@ $tag-colors-primary-color: theme(
25
25
);
26
26
$tag-colors-primary-background-color : theme (
27
27
' tag-colors-primary-background-color' ,
28
- colors .button (primary-default )
28
+ colors .tag (primary )
29
29
);
30
30
$tag-colors-primary-hover-background-color : theme (
31
31
' tag-colors-primary-hover-background-color' ,
32
- colors .button (primary-hover )
32
+ colors .tag (primary-hover )
33
33
);
34
34
35
35
$tag-colors-secondary-color : theme (
@@ -38,11 +38,11 @@ $tag-colors-secondary-color: theme(
38
38
);
39
39
$tag-colors-secondary-background-color : theme (
40
40
' tag-colors-secondary-background-color' ,
41
- colors .button (secondary-default )
41
+ colors .tag (secondary )
42
42
);
43
43
$tag-colors-secondary-hover-background-color : theme (
44
44
' tag-colors-secondary-hover-background-color' ,
45
- colors .button (secondary-hover )
45
+ colors .tag (secondary-hover )
46
46
);
47
47
48
48
$tag-colors-danger-color : theme (
@@ -51,11 +51,11 @@ $tag-colors-danger-color: theme(
51
51
);
52
52
$tag-colors-danger-background-color : theme (
53
53
' tag-colors-danger-background-color' ,
54
- colors .button (danger-default )
54
+ colors .tag (danger )
55
55
);
56
56
$tag-colors-danger-hover-background-color : theme (
57
57
' tag-colors-danger-hover-background-color' ,
58
- colors .button (danger-hover )
58
+ colors .tag (danger-hover )
59
59
);
60
60
61
61
$tag-colors-secondary-danger-color : theme (
@@ -64,11 +64,11 @@ $tag-colors-secondary-danger-color: theme(
64
64
);
65
65
$tag-colors-secondary-danger-background-color : theme (
66
66
' tag-colors-secondary-danger-background-color' ,
67
- colors .button (secondary-danger-default )
67
+ colors .tag (secondary )
68
68
);
69
69
$tag-colors-secondary-danger-hover-background-color : theme (
70
70
' tag-colors-secondary-danger-hover-background-color' ,
71
- colors .button (secondary-danger -hover )
71
+ colors .tag (secondary-hover )
72
72
);
73
73
74
74
$tag-colors-warning-color : theme (
@@ -77,11 +77,24 @@ $tag-colors-warning-color: theme(
77
77
);
78
78
$tag-colors-warning-background-color : theme (
79
79
' tag-colors-warning-background-color' ,
80
- colors .button (warning-default )
80
+ colors .tag (warning )
81
81
);
82
82
$tag-colors-warning-hover-background-color : theme (
83
83
' tag-colors-warning-hover-background-color' ,
84
- colors .button (warning-hover )
84
+ colors .tag (warning-hover )
85
+ );
86
+
87
+ $tag-colors-featured-color : theme (
88
+ ' tag-colors-featured-color' ,
89
+ colors .button (on-primary )
90
+ );
91
+ $tag-colors-featured-background-color : theme (
92
+ ' tag-colors-featured-background-color' ,
93
+ colors .tag (featured )
94
+ );
95
+ $tag-colors-featured-hover-background-color : theme (
96
+ ' tag-colors-featured-hover-background-color' ,
97
+ colors .tag (featured-hover )
85
98
);
86
99
87
100
$tag-colors-disabled-color : theme (
@@ -116,6 +129,15 @@ $tag-colors-disabled-background-color: theme(
116
129
117
130
@include typography .use-font-scale (micro);
118
131
132
+ & __inner {
133
+ overflow : hidden ;
134
+
135
+ min-width : 0 ;
136
+
137
+ white-space : nowrap ;
138
+ text-overflow : ellipsis ;
139
+ }
140
+
119
141
& --primary {
120
142
color : $tag-colors-primary-color ;
121
143
background-color : $tag-colors-primary-background-color ;
@@ -176,6 +198,18 @@ $tag-colors-disabled-background-color: theme(
176
198
}
177
199
}
178
200
201
+ & --featured {
202
+ color : $tag-colors-featured-color ;
203
+ background-color : $tag-colors-featured-background-color ;
204
+
205
+ & .rcx-tag--clickable {
206
+ & :hover {
207
+ color : $tag-colors-featured-color ;
208
+ background-color : $tag-colors-featured-hover-background-color ;
209
+ }
210
+ }
211
+ }
212
+
179
213
& --disabled {
180
214
cursor : not-allowed ;
181
215
0 commit comments