File tree Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 11
11
a {
12
12
color : var (--color-text );
13
13
text-decoration : underline;
14
- text-underline-offset : 0.1875 rem ;
14
+ text-underline-offset : var ( --space-0-75 ) ;
15
15
}
16
16
17
17
background : var (--color-bg );
54
54
text-decoration : underline;
55
55
align-items : center;
56
56
justify-content : center;
57
- text-underline-offset : 0.1875 rem ;
57
+ text-underline-offset : var ( --space-0-75 ) ;
58
58
border-right : 2px solid var (--color-border );
59
-
60
- a {
61
- color : var (--color-text );
62
- text-decoration : underline;
63
- }
64
59
}
65
60
66
61
[data-slot = "right" ] {
67
62
flex : 1 ;
68
63
display : flex;
69
64
align-items : center;
70
65
justify-content : center;
71
- gap : 0.625 rem ;
66
+ gap : var ( --space-2-5 ) ;
72
67
padding : 0 var (--space-6 );
73
68
}
74
69
78
73
align-items : center;
79
74
cursor : pointer;
80
75
color : var (--color-text-secondary );
81
- font-size : 1.125 rem ;
76
+ font-size : var ( --font-size-lg ) ;
82
77
font-family : var (--font-mono );
83
78
gap : var (--space-2 );
84
79
}
141
136
align-items : start;
142
137
gap : var (--space-3 );
143
138
144
- & : nth-child (1 ) {}
139
+ & : nth-child (1 ) {
140
+ }
145
141
146
142
& : nth-child (2 ) {
147
143
border-left : 2px solid var (--color-border );
221
217
[data-component = "copy-status" ] {
222
218
[data-slot = "copy" ] {
223
219
display : block;
224
- width : 16 px ;
225
- height : 16 px ;
220
+ width : var ( --space-4 ) ;
221
+ height : var ( --space-4 ) ;
226
222
color : var (--color-text-dimmed );
227
223
228
224
[data-copied ] & {
232
228
233
229
[data-slot = "check" ] {
234
230
display : none;
235
- width : 16 px ;
236
- height : 16 px ;
231
+ width : var ( --space-4 ) ;
232
+ height : var ( --space-4 ) ;
237
233
color : white;
238
234
239
235
[data-copied ] & {
Original file line number Diff line number Diff line change 2
2
--space-0 : 0 ;
3
3
--space-px : 1px ;
4
4
--space-0-5 : 0.125rem ;
5
+ --space-0-75 : 0.1875rem ;
5
6
--space-1 : 0.25rem ;
6
7
--space-1-5 : 0.375rem ;
7
8
--space-2 : 0.5rem ;
You can’t perform that action at this time.
0 commit comments