@gitbutler/design-core 1.3.4 → 1.3.6
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 +16 -0
package/package.json
CHANGED
package/styles/reset.css
CHANGED
|
@@ -265,4 +265,20 @@
|
|
|
265
265
|
outline: 2px solid var(--clr-theme-pop-element);
|
|
266
266
|
outline-offset: -2px;
|
|
267
267
|
}
|
|
268
|
+
|
|
269
|
+
/* Contrasting outline for elements on similar backgrounds */
|
|
270
|
+
button:focus-visible:is([class*="pop"], [class*="theme"], [class*="success"]),
|
|
271
|
+
[role="button"]:focus-visible:is(
|
|
272
|
+
[class*="pop"],
|
|
273
|
+
[class*="theme"],
|
|
274
|
+
[class*="success"]
|
|
275
|
+
),
|
|
276
|
+
input[type="checkbox"]:checked:focus-visible,
|
|
277
|
+
input[type="radio"]:checked:focus-visible {
|
|
278
|
+
outline-color: color-mix(
|
|
279
|
+
in srgb,
|
|
280
|
+
var(--clr-theme-pop-element) 60%,
|
|
281
|
+
var(--clr-text-1)
|
|
282
|
+
);
|
|
283
|
+
}
|
|
268
284
|
}
|