@passui/tokens 0.1.4 → 0.1.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/base.css +12 -3
- package/styles/utilities.css +7 -2
package/package.json
CHANGED
package/styles/base.css
CHANGED
|
@@ -52,9 +52,18 @@
|
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
/*
|
|
56
|
+
* No focus rings. Components draw them with Tailwind ring utilities
|
|
57
|
+
* (focus-visible:ring-2 ring-accent/70), which sit in a later layer, so the
|
|
58
|
+
* ring layers are zeroed with !important (important wins from the earlier layer).
|
|
59
|
+
*/
|
|
60
|
+
:is(:focus-visible, :focus-within) {
|
|
61
|
+
/* biome-ignore lint/complexity/noImportantStyles: must beat the ring utilities in a later layer */
|
|
62
|
+
--tw-ring-shadow: 0 0 #0000 !important;
|
|
63
|
+
/* biome-ignore lint/complexity/noImportantStyles: must beat the ring utilities in a later layer */
|
|
64
|
+
--tw-ring-offset-shadow: 0 0 #0000 !important;
|
|
65
|
+
/* biome-ignore lint/complexity/noImportantStyles: must beat any outline a component sets */
|
|
66
|
+
outline: none !important;
|
|
58
67
|
}
|
|
59
68
|
|
|
60
69
|
::selection {
|
package/styles/utilities.css
CHANGED
|
@@ -466,8 +466,13 @@
|
|
|
466
466
|
background-color: var(--color-elevated);
|
|
467
467
|
border-radius: 1.25rem;
|
|
468
468
|
overflow: hidden;
|
|
469
|
-
|
|
470
|
-
|
|
469
|
+
/* A visible hairline, a faint lit top rim for the glass edge, and a barely there lift. */
|
|
470
|
+
box-shadow:
|
|
471
|
+
inset 0 0 0 0.5px
|
|
472
|
+
color-mix(in srgb, var(--color-separator) 90%, transparent),
|
|
473
|
+
inset 0 1px 0 0
|
|
474
|
+
color-mix(in srgb, var(--color-glass-specular) 60%, transparent),
|
|
475
|
+
0 1px 2px rgb(0 0 0 / 0.04);
|
|
471
476
|
}
|
|
472
477
|
|
|
473
478
|
/* The hairline between grouped rows. */
|