File tree 4 files changed +22
-1
lines changed
source/_patterns/01-elements
4 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 6
6
border : solid 1px $db-color-cool-gray-400 ;
7
7
border-radius : $chip---radius ;
8
8
display : inline-flex ;
9
+ font-weight : 500 ;
9
10
10
11
// Link related styles
11
12
font-size : to-rem ($pxValue : 14 );
42
43
color : $chip-checked--color ;
43
44
44
45
// *** Variants ***
46
+ & [data-variant = " light" ] {
47
+ background-color : $db-color-cool-gray-200 ;
48
+ color : $db-color-cool-gray-700 ;
49
+ border : 1px solid $db-color-cool-gray-400 ;
50
+ }
51
+
45
52
& [data-variant = " warning" ] {
46
53
background-color : $db-color-warning ;
47
54
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"variants" : [
3
+ {
4
+ "label" : " Light" ,
5
+ "variant" : " light"
6
+ },
3
7
{
4
8
"label" : " Warning" ,
5
9
"variant" : " warning"
Original file line number Diff line number Diff line change 6
6
border-radius : $tag---radius ;
7
7
color : $tag---color ;
8
8
display : inline-flex ;
9
+ font-weight : 500 ;
9
10
10
11
// Link related styles
11
12
font-size : to-rem ($pxValue : 12 );
12
- font-weight : initial ;
13
13
height : to-rem ($pxValue : 24 );
14
14
justify-content : center ;
15
15
padding-left : to-rem ($pxValue : 4 );
27
27
}
28
28
29
29
// *** Variants ***
30
+ & [data-variant = " light" ] {
31
+ background-color : $db-color-cool-gray-200 ;
32
+ color : $db-color-cool-gray-700 ;
33
+ border : 1px solid $db-color-cool-gray-400 ;
34
+ }
35
+
30
36
& [data-variant = " warning" ] {
31
37
background-color : $db-color-warning-small-font ;
32
38
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"variants" : [
3
+ {
4
+ "label" : " Light" ,
5
+ "variant" : " light"
6
+ },
3
7
{
4
8
"label" : " Informative" ,
5
9
"variant" : " informative"
You can’t perform that action at this time.
0 commit comments