Commit 634a97d 1 parent 3025cc3 commit 634a97d Copy full SHA for 634a97d
File tree 2 files changed +36
-9
lines changed
packages/fuselage/src/components/Tag
2 files changed +36
-9
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,6 @@ Secondary.args = {
50
50
variant : 'secondary' ,
51
51
} ;
52
52
53
- export const WithIcon = Template . bind ( { } ) ;
54
- WithIcon . args = {
55
- children : (
56
- < >
57
- < Icon size = 'x12' mie = 'x4' name = 'team-lock' /> Team
58
- </ >
59
- ) ,
60
- } ;
61
-
62
53
export const _Danger = Template . bind ( { } ) ;
63
54
_Danger . args = {
64
55
variant : 'danger' ,
@@ -73,6 +64,17 @@ Warning.args = {
73
64
variant : 'warning' ,
74
65
} ;
75
66
67
+ export const Featured = Template . bind ( { } ) ;
68
+ Featured . args = {
69
+ variant : 'featured' ,
70
+ } ;
71
+
72
+ export const WithIcon = Template . bind ( { } ) ;
73
+ WithIcon . args = {
74
+ icon : < Icon size = 'x12' mie = 'x4' name = 'team-lock' /> ,
75
+ children : 'Team' ,
76
+ } ;
77
+
76
78
export const Disabled = Template . bind ( { } ) ;
77
79
Disabled . args = {
78
80
disabled : true ,
Original file line number Diff line number Diff line change @@ -84,6 +84,19 @@ $tag-colors-warning-hover-background-color: theme(
84
84
colors .button (warning-hover )
85
85
);
86
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 .surface (featured )
94
+ );
95
+ $tag-colors-featured-hover-background-color : theme (
96
+ ' tag-colors-featured-hover-background-color' ,
97
+ colors .surface (featured-hover )
98
+ );
99
+
87
100
$tag-colors-disabled-color : theme (
88
101
' tag-colors-disabled-color' ,
89
102
colors .font (secondary-info )
@@ -185,6 +198,18 @@ $tag-colors-disabled-background-color: theme(
185
198
}
186
199
}
187
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
+
188
213
& --disabled {
189
214
cursor : not-allowed ;
190
215
You can’t perform that action at this time.
0 commit comments