@gitbutler/design-core 1.3.7 → 1.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fonts/fonts.css +65 -65
- package/package.json +55 -53
- package/styles/reset.css +265 -265
- package/styles/text.css +67 -67
- package/utility/general.css +16 -16
- package/utility/helpers.css +109 -111
package/styles/reset.css
CHANGED
|
@@ -1,268 +1,268 @@
|
|
|
1
1
|
/* BOILERPLATE CSS */
|
|
2
2
|
/* reset all styles */
|
|
3
3
|
@layer reset {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
4
|
+
/* base */
|
|
5
|
+
*,
|
|
6
|
+
:after,
|
|
7
|
+
:before {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
border: 0 solid;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
html {
|
|
13
|
+
overscroll-behavior: none;
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
line-height: 1.5;
|
|
16
|
+
-webkit-font-smoothing: antialiased;
|
|
17
|
+
-moz-osx-font-smoothing: grayscale;
|
|
18
|
+
text-rendering: optimizeLegibility;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
body {
|
|
22
|
+
padding: 0;
|
|
23
|
+
margin: 0;
|
|
24
|
+
overflow-x: hidden;
|
|
25
|
+
color: var(--clr-text-1);
|
|
26
|
+
font-family: var(--font-default);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* elements */
|
|
30
|
+
hr {
|
|
31
|
+
height: 0;
|
|
32
|
+
border-top-width: 1px;
|
|
33
|
+
color: inherit;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
abbr:where([title]) {
|
|
37
|
+
-webkit-text-decoration: underline dotted;
|
|
38
|
+
text-decoration: underline dotted;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
h1,
|
|
42
|
+
h2,
|
|
43
|
+
h3,
|
|
44
|
+
h4,
|
|
45
|
+
h5,
|
|
46
|
+
h6 {
|
|
47
|
+
font-weight: inherit;
|
|
48
|
+
font-size: inherit;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
a {
|
|
52
|
+
color: inherit;
|
|
53
|
+
text-decoration: inherit;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
b,
|
|
57
|
+
strong {
|
|
58
|
+
font-weight: bolder;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
code,
|
|
62
|
+
kbd,
|
|
63
|
+
pre,
|
|
64
|
+
samp {
|
|
65
|
+
font-size: 1em;
|
|
66
|
+
font-family: var(--font-mono);
|
|
67
|
+
font-variation-settings: normal;
|
|
68
|
+
font-feature-settings: normal;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
small {
|
|
72
|
+
font-size: 80%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
sub,
|
|
76
|
+
sup {
|
|
77
|
+
position: relative;
|
|
78
|
+
font-size: 75%;
|
|
79
|
+
line-height: 0;
|
|
80
|
+
vertical-align: baseline;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
sub {
|
|
84
|
+
bottom: -0.25em;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
sup {
|
|
88
|
+
top: -0.5em;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
table {
|
|
92
|
+
border-color: inherit;
|
|
93
|
+
border-collapse: collapse;
|
|
94
|
+
text-indent: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
button,
|
|
98
|
+
input,
|
|
99
|
+
optgroup,
|
|
100
|
+
select,
|
|
101
|
+
textarea {
|
|
102
|
+
margin: 0;
|
|
103
|
+
padding: 0;
|
|
104
|
+
border: 0;
|
|
105
|
+
color: inherit;
|
|
106
|
+
font-weight: inherit;
|
|
107
|
+
font-size: 100%;
|
|
108
|
+
line-height: inherit;
|
|
109
|
+
font-family: inherit;
|
|
110
|
+
font-variation-settings: inherit;
|
|
111
|
+
font-feature-settings: inherit;
|
|
112
|
+
letter-spacing: inherit;
|
|
113
|
+
background: transparent;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
button,
|
|
117
|
+
select {
|
|
118
|
+
text-transform: none;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
button,
|
|
122
|
+
input:where([type="button"]),
|
|
123
|
+
input:where([type="reset"]),
|
|
124
|
+
input:where([type="submit"]) {
|
|
125
|
+
-webkit-appearance: button;
|
|
126
|
+
background-image: none;
|
|
127
|
+
background-color: transparent;
|
|
128
|
+
outline: none;
|
|
129
|
+
touch-action: manipulation;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
:-moz-focusring {
|
|
133
|
+
outline: auto;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:-moz-ui-invalid {
|
|
137
|
+
box-shadow: none;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
progress {
|
|
141
|
+
vertical-align: baseline;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
::-webkit-inner-spin-button,
|
|
145
|
+
::-webkit-outer-spin-button {
|
|
146
|
+
height: auto;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
[type="search"] {
|
|
150
|
+
-webkit-appearance: textfield;
|
|
151
|
+
outline-offset: -2px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
::-webkit-search-decoration {
|
|
155
|
+
-webkit-appearance: none;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
::-webkit-file-upload-button {
|
|
159
|
+
-webkit-appearance: button;
|
|
160
|
+
font: inherit;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
summary {
|
|
164
|
+
display: list-item;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
blockquote,
|
|
168
|
+
dd,
|
|
169
|
+
dl,
|
|
170
|
+
figure,
|
|
171
|
+
h1,
|
|
172
|
+
h2,
|
|
173
|
+
h3,
|
|
174
|
+
h4,
|
|
175
|
+
h5,
|
|
176
|
+
h6,
|
|
177
|
+
hr,
|
|
178
|
+
p,
|
|
179
|
+
pre {
|
|
180
|
+
margin: 0;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
fieldset {
|
|
184
|
+
margin: 0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
fieldset,
|
|
188
|
+
legend {
|
|
189
|
+
padding: 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
menu,
|
|
193
|
+
ol,
|
|
194
|
+
ul {
|
|
195
|
+
margin: 0;
|
|
196
|
+
padding: 0;
|
|
197
|
+
list-style: none;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
dialog {
|
|
201
|
+
padding: 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
textarea {
|
|
205
|
+
resize: vertical;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
input::-moz-placeholder,
|
|
209
|
+
textarea::-moz-placeholder {
|
|
210
|
+
color: #9ca3af;
|
|
211
|
+
opacity: 1;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
input::placeholder,
|
|
215
|
+
textarea::placeholder {
|
|
216
|
+
color: #9ca3af;
|
|
217
|
+
opacity: 1;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
[role="button"],
|
|
221
|
+
button {
|
|
222
|
+
text-align: left;
|
|
223
|
+
cursor: pointer;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
[role="button"]:disabled,
|
|
227
|
+
button:disabled,
|
|
228
|
+
:disabled {
|
|
229
|
+
cursor: not-allowed;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
audio,
|
|
233
|
+
canvas,
|
|
234
|
+
embed,
|
|
235
|
+
iframe,
|
|
236
|
+
img,
|
|
237
|
+
object,
|
|
238
|
+
video {
|
|
239
|
+
display: block;
|
|
240
|
+
vertical-align: middle;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
img,
|
|
244
|
+
video {
|
|
245
|
+
max-width: 100%;
|
|
246
|
+
height: auto;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
[hidden] {
|
|
250
|
+
display: none;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* Focus outline for keyboard navigation */
|
|
254
|
+
a:focus-visible,
|
|
255
|
+
button:focus-visible,
|
|
256
|
+
input:focus-visible,
|
|
257
|
+
select:focus-visible,
|
|
258
|
+
textarea:focus-visible,
|
|
259
|
+
[tabindex]:focus-visible,
|
|
260
|
+
[role="button"]:focus-visible,
|
|
261
|
+
[role="link"]:focus-visible,
|
|
262
|
+
details:focus-visible,
|
|
263
|
+
summary:focus-visible,
|
|
264
|
+
.focus-visible:focus-visible {
|
|
265
|
+
outline: 2px solid var(--clr-theme-pop-element);
|
|
266
|
+
outline-offset: -2px;
|
|
267
|
+
}
|
|
268
|
+
}
|