@tollerud/ui 1.0.3 → 1.0.5

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 CHANGED
@@ -6,7 +6,16 @@ A complete, browsable UI library built around **monochrome + yellow accent**. No
6
6
 
7
7
  **Requirements:** React ≥ 18 · TypeScript supported (types included) · Tailwind CSS v3 or v4
8
8
 
9
- → **[Component reference →](COMPONENTS.md)** · **[Setup guide →](GETTING_STARTED.md)** · **[Changelog →](CHANGELOG.md)**
9
+ → **[Component reference →](COMPONENTS.md)** · **[Setup guide →](GETTING_STARTED.md)** · **[Brand guidelines →](BRAND.md)** · **[Changelog →](CHANGELOG.md)**
10
+
11
+ ## Packages
12
+
13
+ | Package | Install | Use when |
14
+ |---------|---------|----------|
15
+ | [`@tollerud/ui`](https://www.npmjs.com/package/@tollerud/ui) | `npm install @tollerud/ui` | You want the full design system — components, tokens, Tailwind preset |
16
+ | [`@tollerud/footer`](https://www.npmjs.com/package/@tollerud/footer) | `npm install @tollerud/footer` | You only need the branded footer, with no other design system dependency |
17
+
18
+ `@tollerud/ui` already re-exports `Footer` internally — install `@tollerud/footer` separately only when you want the footer in a project that doesn't use the full design system.
10
19
 
11
20
  ## Philosophy
12
21
 
@@ -132,7 +141,8 @@ The design system includes `tollerud-avatar.svg` — a full cel-shaded monochrom
132
141
  | Token | Hex | Usage |
133
142
  |-------|-----|-------|
134
143
  | `--tollerud-yellow` | `#E8D500` | Primary actions, highlights, links |
135
- | `--tollerud-acid` / `--tollerud-yellow-bright` | `#FFFF00` | Tollerud voltage, shader glow, hover peaks |
144
+ | `--tollerud-acid` / `--tollerud-yellow` | `#FFFF00` | Primary yellow, CTAs, focus, key data |
145
+ | `--tollerud-yellow-warm` | `#E8D500` | Secondary yellow, gradients, warm states |
136
146
  | `--tollerud-amber` | `#FFB800` | Warmth accents, secondary highlights |
137
147
  | `--tollerud-black` | `#0A0A0A` | Default background |
138
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-bright hover:shadow-tollerud-glow",
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(232,213,0,0.25)] bg-transparent before:content-["\u276F_"] before:opacity-70 hover:border-tollerud-yellow hover:shadow-tollerud-glow hover:bg-[rgba(232,213,0,0.05)]'
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-bright",
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: [