@tollerud/ui 1.0.4 → 1.0.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/README.md +2 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/globals.css +14 -14
- package/package.json +1 -1
- package/tokens.css +7 -7
- package/tollerud-preset.js +11 -11
package/README.md
CHANGED
|
@@ -141,7 +141,8 @@ The design system includes `tollerud-avatar.svg` — a full cel-shaded monochrom
|
|
|
141
141
|
| Token | Hex | Usage |
|
|
142
142
|
|-------|-----|-------|
|
|
143
143
|
| `--tollerud-yellow` | `#E8D500` | Primary actions, highlights, links |
|
|
144
|
-
| `--tollerud-acid` / `--tollerud-yellow
|
|
144
|
+
| `--tollerud-acid` / `--tollerud-yellow` | `#FFFF00` | Primary yellow, CTAs, focus, key data |
|
|
145
|
+
| `--tollerud-yellow-warm` | `#E8D500` | Secondary yellow, gradients, warm states |
|
|
145
146
|
| `--tollerud-amber` | `#FFB800` | Warmth accents, secondary highlights |
|
|
146
147
|
| `--tollerud-black` | `#0A0A0A` | Default background |
|
|
147
148
|
| `--tollerud-noir-900` | `#121212` | Card / raised surface |
|
package/dist/index.cjs
CHANGED
|
@@ -43,11 +43,11 @@ function cn(...inputs) {
|
|
|
43
43
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
44
44
|
}
|
|
45
45
|
var variants = {
|
|
46
|
-
primary: "bg-tollerud-yellow text-tollerud-black border-tollerud-yellow hover:bg-tollerud-yellow
|
|
46
|
+
primary: "bg-tollerud-yellow text-tollerud-black border-tollerud-yellow hover:bg-tollerud-yellow hover:shadow-tollerud-glow",
|
|
47
47
|
secondary: "bg-transparent text-tollerud-text-primary border-tollerud-border hover:border-tollerud-text-secondary hover:bg-tollerud-surface-hover",
|
|
48
48
|
ghost: "bg-transparent text-tollerud-text-secondary border-transparent hover:text-tollerud-text-primary hover:bg-tollerud-surface-hover",
|
|
49
49
|
destructive: "bg-tollerud-error text-white border-tollerud-error hover:shadow-[0_0_12px_rgba(239,68,68,0.3)]",
|
|
50
|
-
terminal: 'font-mono text-tollerud-yellow border-[rgba(
|
|
50
|
+
terminal: 'font-mono text-tollerud-yellow border-[rgba(255,255,0,0.25)] bg-transparent before:content-["\u276F_"] before:opacity-70 hover:border-tollerud-yellow hover:shadow-tollerud-glow hover:bg-[rgba(255,255,0,0.05)]'
|
|
51
51
|
};
|
|
52
52
|
var sizes = {
|
|
53
53
|
sm: "px-3 py-1 text-sm",
|
|
@@ -1685,7 +1685,7 @@ var Switch = React2.forwardRef(
|
|
|
1685
1685
|
"transition-colors duration-200 ease-out",
|
|
1686
1686
|
checked ? "bg-tollerud-yellow" : "bg-tollerud-noir-600",
|
|
1687
1687
|
"group-hover:bg-tollerud-noir-500",
|
|
1688
|
-
checked && "group-hover:bg-tollerud-yellow-
|
|
1688
|
+
checked && "group-hover:bg-tollerud-yellow-warm",
|
|
1689
1689
|
"peer-focus-visible:outline-2 peer-focus-visible:outline-tollerud-yellow peer-focus-visible:outline-offset-2"
|
|
1690
1690
|
),
|
|
1691
1691
|
children: [
|