@warmio/design 6.0.0 → 6.0.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.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/package.json +1 -1
  3. package/theme.css +12 -12
package/README.md CHANGED
@@ -26,6 +26,9 @@ Package ships `logo.css` (token-only Logo styles) and `dist/` (ESM + .d.ts). `de
26
26
 
27
27
  ## Releases
28
28
 
29
+ `6.0.1` returns the default light theme to lilac (theme and accent hue 295) and lightens
30
+ muted, border and accent tint. No token names change.
31
+
29
32
  `6.0.0` merges seven theme colors into existing ones and removes them with their Tailwind
30
33
  colors: `--card` and `--primary-foreground` into `--background`, `--secondary` and
31
34
  `--segmented-surface` into `--muted`, `--secondary-foreground` into `--muted-foreground`, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warmio/design",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "Warm's public design contract: CSS tokens and the Logo primitive.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/theme.css CHANGED
@@ -30,12 +30,12 @@
30
30
  --type-leading-display-hero: 3.5rem;
31
31
  --type-leading-display-hero-phone: 2.75rem;
32
32
  --type-leading-display-label-phone: 1.25rem;
33
- --type-tracking-body: 0.02em;
34
- --type-tracking-title: -0.01em;
35
- --type-tracking-heading: -0.03em;
36
- --type-tracking-display: -0.02em;
37
- --type-tracking-display-hero: -0.035em;
38
- --type-tracking-caps: 0.05em;
33
+ --type-tracking-body: 0em;
34
+ --type-tracking-title: 0em;
35
+ --type-tracking-heading: 0em;
36
+ --type-tracking-display: 0em;
37
+ --type-tracking-display-hero: 0em;
38
+ --type-tracking-caps: 0em;
39
39
  --control-type-size: var(--type-size-body);
40
40
  --control-type-leading: var(--type-leading-body);
41
41
  --field-type-size: var(--control-type-size);
@@ -174,21 +174,21 @@
174
174
 
175
175
  :root:where(*),
176
176
  .light {
177
- --theme-hue: 82;
178
- --accent-hue: 270;
177
+ --theme-hue: 295;
178
+ --accent-hue: 295;
179
179
  --theme-tint: 1;
180
180
  --theme-shadow-hue: calc(var(--theme-hue) + 213);
181
181
  --theme-data-lightness: 50%;
182
182
  --background: oklch(100% 0 0);
183
183
  --foreground: oklch(24% calc(0.006 * var(--theme-tint)) calc(var(--theme-hue) - 12));
184
184
  --muted-foreground: oklch(46% calc(0.01 * var(--theme-tint)) calc(var(--theme-hue) - 12));
185
- --accent: oklch(48% calc(0.065 * var(--theme-tint)) var(--accent-hue));
185
+ --accent: oklch(50% calc(0.084 * var(--theme-tint)) var(--accent-hue));
186
186
  --negative: oklch(47% 0.095 32);
187
187
  --warning: oklch(54% 0.13 62);
188
- --muted: oklch(94.8% calc(0.004 * var(--theme-tint)) calc(var(--theme-hue) + 3));
189
- --border: oklch(90.5% calc(0.005 * var(--theme-tint)) calc(var(--theme-hue) + 3));
188
+ --muted: oklch(96% calc(0.004 * var(--theme-tint)) calc(var(--theme-hue) + 3));
189
+ --border: oklch(92% calc(0.005 * var(--theme-tint)) calc(var(--theme-hue) + 3));
190
190
  --control-border: oklch(58% calc(0.01 * var(--theme-tint)) calc(var(--theme-hue) - 12));
191
- --accent-tint: oklch(93.4% calc(0.015 * var(--theme-tint)) calc(var(--theme-hue) - 5));
191
+ --accent-tint: oklch(95% calc(0.015 * var(--theme-tint)) calc(var(--theme-hue) - 5));
192
192
  --negative-tint: oklch(94.7% 0.0095 32);
193
193
  --warning-tint: oklch(95% 0.02 62);
194
194
  --shadow-color: oklch(12% calc(0.025 * var(--theme-tint)) var(--theme-shadow-hue) / 10%);