@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@passui/tokens",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Framework independent Passui design tokens and shared styles.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/styles/base.css CHANGED
@@ -52,9 +52,18 @@
52
52
  cursor: pointer;
53
53
  }
54
54
 
55
- :focus-visible {
56
- outline: 2px solid var(--color-accent-text);
57
- outline-offset: 2px;
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 {
@@ -466,8 +466,13 @@
466
466
  background-color: var(--color-elevated);
467
467
  border-radius: 1.25rem;
468
468
  overflow: hidden;
469
- box-shadow: inset 0 0 0 0.5px
470
- color-mix(in srgb, var(--color-separator) 55%, transparent);
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. */