@wtasnorg/candi 0.0.31 → 0.0.32

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
@@ -125,6 +125,14 @@ candi/
125
125
  | `npm test` | Run all tests |
126
126
  | `npm run test:color` | Test color definitions |
127
127
  | `npm run test:colors` | Test color conversions |
128
+ | `npm run test:conv` | Unit test color-conv.js functions |
129
+ | `npm run test:sync` | Test sync-colors.js output |
130
+ | `npm run test:lint-tokens` | Validate token schema |
131
+ | `npm run test:gen-primitives` | Test semantic color generation |
132
+ | `npm run test:build-docs` | Test version injection |
133
+ | `npm run test:guard-semantics` | Validate palette integrity |
134
+ | `npm run test:scripts` | Regression test all build outputs |
135
+ | `npm run test:package-artifacts` | Test artifact generation |
128
136
  | `npm run test:flutter` | Test Flutter package |
129
137
  | `npm run test:vscode` | Test VS Code extension |
130
138
  | `npm run test:vim` | Test Vim colorschemes |
@@ -139,6 +147,7 @@ candi/
139
147
  | :--- | :--- |
140
148
  | `npm run artifact` | Package all platforms into zip archives |
141
149
  | `npm run vscode:package` | Generate `.vsix` VS Code extension |
150
+ | `npm run install:local` | Install themes to local system (Dry-run by default, uses artifacts) |
142
151
  | `./scripts/package-bump.sh <version>` | Bump version across all packages |
143
152
 
144
153
  ---
package/dist/base.css CHANGED
@@ -12,21 +12,21 @@
12
12
 
13
13
  :root {
14
14
  /* @tokens-start-light */
15
- --candi-bg: oklch(96% 0.012 85);
16
- --candi-surface: oklch(93% 0.015 85);
15
+ --candi-bg: oklch(97.8% 0.005 80);
16
+ --candi-surface: oklch(95.5% 0.01 80);
17
17
  --candi-elevated: oklch(100% 0 0);
18
- --candi-text: oklch(25% 0.02 250);
19
- --candi-text-subtle: oklch(45% 0.015 250);
20
- --candi-text-muted: oklch(60% 0.01 250);
21
- --candi-border: oklch(88% 0.012 85);
22
- --candi-border-strong: oklch(80% 0.015 85);
23
- --candi-divider: oklch(85% 0.01 85);
18
+ --candi-text: oklch(28% 0.015 80);
19
+ --candi-text-subtle: oklch(50% 0.01 80);
20
+ --candi-text-muted: oklch(55% 0.01 80);
21
+ --candi-border: oklch(84% 0.01 80);
22
+ --candi-border-strong: oklch(75% 0.01 80);
23
+ --candi-divider: oklch(88% 0.01 80);
24
24
  --candi-link: oklch(50% 0.08 230);
25
25
  --candi-disabled: oklch(75% 0.005 250);
26
26
  --candi-overlay: oklch(0% 0 0 / 0.5);
27
27
  --candi-scrim: oklch(0% 0 0 / 0.32);
28
28
  --candi-inverse-surface: oklch(25% 0.015 250);
29
- --candi-inverse-text: oklch(92% 0.01 85);
29
+ --candi-inverse-text: oklch(92% 0.01 250);
30
30
  --candi-shadow: 0 2px 8px rgba(45, 50, 57, 0.06);
31
31
  --candi-shadow-md: 0 4px 20px rgba(45, 50, 57, 0.1);
32
32
  --candi-shadow-lg: 0 8px 40px rgba(45, 50, 57, 0.15);
@@ -108,62 +108,62 @@
108
108
  --candi-silver-strong: oklch(65% 0.012 250);
109
109
  --candi-silver-outline: oklch(60% 0.009 250);
110
110
  --candi-on-silver: oklch(0% 0 0);
111
- --candi-accent: oklch(52% 0.14 275);
112
- --candi-accent-subtle: oklch(85% 0.112 275);
113
- --candi-accent-soft: oklch(62% 0.126 275);
114
- --candi-accent-strong: oklch(42% 0.154 275);
115
- --candi-accent-outline: oklch(37% 0.126 275);
111
+ --candi-accent: oklch(52% 0.08 250);
112
+ --candi-accent-subtle: oklch(85% 0.048 250);
113
+ --candi-accent-soft: oklch(62% 0.064 250);
114
+ --candi-accent-strong: oklch(42% 0.088 250);
115
+ --candi-accent-outline: oklch(37% 0.056 250);
116
116
  --candi-on-accent: oklch(100% 0 0);
117
- --candi-secondary: oklch(60% 0.10 15);
118
- --candi-secondary-subtle: oklch(93% 0.08 15);
119
- --candi-secondary-soft: oklch(70% 0.09 15);
120
- --candi-secondary-strong: oklch(50% 0.11 15);
121
- --candi-secondary-outline: oklch(45% 0.09 15);
117
+ --candi-secondary: oklch(60% 0.07 15);
118
+ --candi-secondary-subtle: oklch(93% 0.042 15);
119
+ --candi-secondary-soft: oklch(70% 0.056 15);
120
+ --candi-secondary-strong: oklch(50% 0.077 15);
121
+ --candi-secondary-outline: oklch(45% 0.049 15);
122
122
  --candi-on-secondary: oklch(0% 0 0);
123
- --candi-success: oklch(50% 0.08 145);
124
- --candi-success-subtle: oklch(83% 0.064 145);
125
- --candi-success-soft: oklch(60% 0.072 145);
126
- --candi-success-strong: oklch(40% 0.088 145);
127
- --candi-success-outline: oklch(35% 0.072 145);
123
+ --candi-success: oklch(50% 0.06 145);
124
+ --candi-success-subtle: oklch(83% 0.036 145);
125
+ --candi-success-soft: oklch(60% 0.048 145);
126
+ --candi-success-strong: oklch(40% 0.066 145);
127
+ --candi-success-outline: oklch(35% 0.042 145);
128
128
  --candi-on-success: oklch(100% 0 0);
129
- --candi-warning: oklch(60% 0.10 75);
130
- --candi-warning-subtle: oklch(93% 0.08 75);
131
- --candi-warning-soft: oklch(70% 0.09 75);
132
- --candi-warning-strong: oklch(50% 0.11 75);
133
- --candi-warning-outline: oklch(45% 0.09 75);
129
+ --candi-warning: oklch(60% 0.07 75);
130
+ --candi-warning-subtle: oklch(93% 0.042 75);
131
+ --candi-warning-soft: oklch(70% 0.056 75);
132
+ --candi-warning-strong: oklch(50% 0.077 75);
133
+ --candi-warning-outline: oklch(45% 0.049 75);
134
134
  --candi-on-warning: oklch(0% 0 0);
135
- --candi-error: oklch(50% 0.10 25);
136
- --candi-error-subtle: oklch(83% 0.08 25);
137
- --candi-error-soft: oklch(60% 0.09 25);
138
- --candi-error-strong: oklch(40% 0.11 25);
139
- --candi-error-outline: oklch(35% 0.09 25);
135
+ --candi-error: oklch(50% 0.08 25);
136
+ --candi-error-subtle: oklch(83% 0.048 25);
137
+ --candi-error-soft: oklch(60% 0.064 25);
138
+ --candi-error-strong: oklch(40% 0.088 25);
139
+ --candi-error-outline: oklch(35% 0.056 25);
140
140
  --candi-on-error: oklch(100% 0 0);
141
- --candi-info: oklch(50% 0.08 225);
142
- --candi-info-subtle: oklch(83% 0.064 225);
143
- --candi-info-soft: oklch(60% 0.072 225);
144
- --candi-info-strong: oklch(40% 0.088 225);
145
- --candi-info-outline: oklch(35% 0.072 225);
141
+ --candi-info: oklch(50% 0.06 225);
142
+ --candi-info-subtle: oklch(83% 0.036 225);
143
+ --candi-info-soft: oklch(60% 0.048 225);
144
+ --candi-info-strong: oklch(40% 0.066 225);
145
+ --candi-info-outline: oklch(35% 0.042 225);
146
146
  --candi-on-info: oklch(100% 0 0);
147
147
  /* @tokens-end-light */
148
148
  }
149
149
 
150
150
  .dark {
151
151
  /* @tokens-start-dark */
152
- --candi-bg: oklch(18% 0.015 85);
153
- --candi-surface: oklch(22% 0.012 85);
154
- --candi-elevated: oklch(25% 0.015 85);
155
- --candi-text: oklch(92% 0.01 85);
156
- --candi-text-subtle: oklch(72% 0.008 85);
157
- --candi-text-muted: oklch(58% 0.006 85);
158
- --candi-border: oklch(30% 0.01 85);
159
- --candi-border-strong: oklch(40% 0.012 85);
160
- --candi-divider: oklch(28% 0.008 85);
161
- --candi-link: oklch(65% 0.08 85);
162
- --candi-disabled: oklch(45% 0.005 85);
152
+ --candi-bg: oklch(18% 0.015 250);
153
+ --candi-surface: oklch(22% 0.012 250);
154
+ --candi-elevated: oklch(25% 0.015 250);
155
+ --candi-text: oklch(92% 0.01 250);
156
+ --candi-text-subtle: oklch(75% 0.01 250);
157
+ --candi-text-muted: oklch(62% 0.008 250);
158
+ --candi-border: oklch(35% 0.01 250);
159
+ --candi-border-strong: oklch(45% 0.012 250);
160
+ --candi-divider: oklch(32% 0.008 250);
161
+ --candi-link: oklch(65% 0.08 250);
162
+ --candi-disabled: oklch(45% 0.005 250);
163
163
  --candi-overlay: oklch(0% 0 0 / 0.7);
164
164
  --candi-scrim: oklch(0% 0 0 / 0.6);
165
- --candi-inverse-surface: oklch(92% 0.008 85);
166
- --candi-inverse-text: oklch(25% 0.015 275);
165
+ --candi-inverse-surface: oklch(92% 0.01 250);
166
+ --candi-inverse-text: oklch(25% 0.015 250);
167
167
  --candi-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
168
168
  --candi-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
169
169
  --candi-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.45);
@@ -245,41 +245,41 @@
245
245
  --candi-silver-strong: oklch(50% 0.012 250);
246
246
  --candi-silver-outline: oklch(45% 0.009 250);
247
247
  --candi-on-silver: oklch(100% 0 0);
248
- --candi-accent: oklch(65% 0.13 275);
249
- --candi-accent-subtle: oklch(38% 0.104 275);
250
- --candi-accent-soft: oklch(75% 0.117 275);
251
- --candi-accent-strong: oklch(55% 0.143 275);
252
- --candi-accent-outline: oklch(50% 0.117 275);
248
+ --candi-accent: oklch(65% 0.08 250);
249
+ --candi-accent-subtle: oklch(38% 0.048 250);
250
+ --candi-accent-soft: oklch(75% 0.064 250);
251
+ --candi-accent-strong: oklch(55% 0.088 250);
252
+ --candi-accent-outline: oklch(50% 0.056 250);
253
253
  --candi-on-accent: oklch(0% 0 0);
254
- --candi-secondary: oklch(70% 0.10 15);
255
- --candi-secondary-subtle: oklch(43% 0.08 15);
256
- --candi-secondary-soft: oklch(80% 0.09 15);
257
- --candi-secondary-strong: oklch(60% 0.11 15);
258
- --candi-secondary-outline: oklch(55% 0.09 15);
254
+ --candi-secondary: oklch(70% 0.07 15);
255
+ --candi-secondary-subtle: oklch(43% 0.042 15);
256
+ --candi-secondary-soft: oklch(80% 0.056 15);
257
+ --candi-secondary-strong: oklch(60% 0.077 15);
258
+ --candi-secondary-outline: oklch(55% 0.049 15);
259
259
  --candi-on-secondary: oklch(0% 0 0);
260
- --candi-success: oklch(75% 0.08 145);
261
- --candi-success-subtle: oklch(48% 0.064 145);
262
- --candi-success-soft: oklch(85% 0.072 145);
263
- --candi-success-strong: oklch(65% 0.088 145);
264
- --candi-success-outline: oklch(60% 0.072 145);
260
+ --candi-success: oklch(75% 0.06 145);
261
+ --candi-success-subtle: oklch(48% 0.036 145);
262
+ --candi-success-soft: oklch(85% 0.048 145);
263
+ --candi-success-strong: oklch(65% 0.066 145);
264
+ --candi-success-outline: oklch(60% 0.042 145);
265
265
  --candi-on-success: oklch(0% 0 0);
266
- --candi-warning: oklch(80% 0.10 75);
267
- --candi-warning-subtle: oklch(53% 0.08 75);
268
- --candi-warning-soft: oklch(90% 0.09 75);
269
- --candi-warning-strong: oklch(70% 0.11 75);
270
- --candi-warning-outline: oklch(65% 0.09 75);
266
+ --candi-warning: oklch(80% 0.07 75);
267
+ --candi-warning-subtle: oklch(53% 0.042 75);
268
+ --candi-warning-soft: oklch(90% 0.056 75);
269
+ --candi-warning-strong: oklch(70% 0.077 75);
270
+ --candi-warning-outline: oklch(65% 0.049 75);
271
271
  --candi-on-warning: oklch(0% 0 0);
272
- --candi-error: oklch(75% 0.10 25);
273
- --candi-error-subtle: oklch(48% 0.08 25);
274
- --candi-error-soft: oklch(85% 0.09 25);
275
- --candi-error-strong: oklch(65% 0.11 25);
276
- --candi-error-outline: oklch(60% 0.09 25);
272
+ --candi-error: oklch(75% 0.08 25);
273
+ --candi-error-subtle: oklch(48% 0.048 25);
274
+ --candi-error-soft: oklch(85% 0.064 25);
275
+ --candi-error-strong: oklch(65% 0.088 25);
276
+ --candi-error-outline: oklch(60% 0.056 25);
277
277
  --candi-on-error: oklch(0% 0 0);
278
- --candi-info: oklch(75% 0.08 225);
279
- --candi-info-subtle: oklch(48% 0.064 225);
280
- --candi-info-soft: oklch(85% 0.072 225);
281
- --candi-info-strong: oklch(65% 0.088 225);
282
- --candi-info-outline: oklch(60% 0.072 225);
278
+ --candi-info: oklch(75% 0.06 225);
279
+ --candi-info-subtle: oklch(48% 0.036 225);
280
+ --candi-info-soft: oklch(85% 0.048 225);
281
+ --candi-info-strong: oklch(65% 0.066 225);
282
+ --candi-info-outline: oklch(60% 0.042 225);
283
283
  --candi-on-info: oklch(0% 0 0);
284
284
  /* @tokens-end-dark */
285
285
  }