@gitbutler/design-core 1.3.3 → 1.3.5
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/package.json +1 -1
- package/styles/reset.css +21 -0
- package/utility/helpers.css +0 -7
package/package.json
CHANGED
package/styles/reset.css
CHANGED
|
@@ -249,4 +249,25 @@
|
|
|
249
249
|
[hidden] {
|
|
250
250
|
display: none;
|
|
251
251
|
}
|
|
252
|
+
|
|
253
|
+
/* Focus outline for keyboard navigation */
|
|
254
|
+
input[type="radio"],
|
|
255
|
+
input[type="checkbox"] {
|
|
256
|
+
appearance: none;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
a:focus-visible,
|
|
260
|
+
button:focus-visible,
|
|
261
|
+
input:focus-visible,
|
|
262
|
+
select:focus-visible,
|
|
263
|
+
textarea:focus-visible,
|
|
264
|
+
[tabindex]:focus-visible,
|
|
265
|
+
[role="button"]:focus-visible,
|
|
266
|
+
[role="link"]:focus-visible,
|
|
267
|
+
details:focus-visible,
|
|
268
|
+
summary:focus-visible,
|
|
269
|
+
.focus-visible:focus-visible {
|
|
270
|
+
outline: 2px solid var(--clr-theme-pop-element);
|
|
271
|
+
outline-offset: -2px;
|
|
272
|
+
}
|
|
252
273
|
}
|
package/utility/helpers.css
CHANGED
|
@@ -193,10 +193,3 @@ pre {
|
|
|
193
193
|
color-mix(in srgb, var(--clr-theme-pop-element), transparent, 0.5);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
|
|
197
|
-
/* ACCESSIBILITY */
|
|
198
|
-
/* Focus outline for keyboard navigation */
|
|
199
|
-
.focus-state:focus-visible {
|
|
200
|
-
outline: 2px solid var(--clr-theme-pop-element);
|
|
201
|
-
outline-offset: -2px;
|
|
202
|
-
}
|