@evinvest/uikit 0.8.0 → 0.8.1
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/README.md +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/styles/tokens.css +0 -305
package/README.md
CHANGED
|
@@ -45,8 +45,8 @@ Tailwind v4 entrypoint — this is the load-bearing part of the kit:
|
|
|
45
45
|
@import "@evinvest/uikit/styles/tokens.css";
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
`styles/tokens.css` is
|
|
49
|
-
|
|
48
|
+
`styles/tokens.css` is copied at pack time from the repo-root `tokens.css` shared
|
|
49
|
+
with the Rust feature; it defines a single **dark** palette via `:root` and wires it into
|
|
50
50
|
Tailwind utilities via `@theme inline`. (The kit drops `dark:*` utility variants
|
|
51
51
|
because the palette is dark by default — see [Limitations](#limitations).)
|
|
52
52
|
|
package/dist/index.js
CHANGED
|
@@ -2666,7 +2666,7 @@ function Switch({
|
|
|
2666
2666
|
{
|
|
2667
2667
|
"data-slot": "switch-thumb",
|
|
2668
2668
|
"data-state": state,
|
|
2669
|
-
className: "bg-
|
|
2669
|
+
className: "data-[state=checked]:bg-primary-foreground data-[state=unchecked]:bg-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0"
|
|
2670
2670
|
}
|
|
2671
2671
|
)
|
|
2672
2672
|
}
|