@ryuzaki13/react-foundation-ui 1.0.11 → 1.0.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuzaki13/react-foundation-ui",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Reusable React foundation UI primitives and Storybook stories.",
5
5
  "license": "MIT",
6
6
  "author": "Ryuzaki13",
@@ -186,83 +186,83 @@ $paragraph-spacing-preset-defaults: (
186
186
  $light-theme-defaults: (
187
187
  tokens: (
188
188
  "--surface-0": #ffffff,
189
- "--surface-1": #f7f8f9,
190
- "--surface-2": #eceef0,
191
- "--content-0": oklch(0.26 0.01 244),
192
- "--content-1": oklch(0.44 0.02 268),
193
- "--content-2": oklch(0.54 0.02 258),
194
- "--focus-ring": oklch(0.5 0.3 270),
195
- "--overlay-backdrop": rgba(0, 0, 0, 0.1),
196
- "--overlay-glass": rgba(255, 255, 255, 0.8),
197
- "--shadow-xs": 0 0 0.25em rgba(0, 0, 0, 0.15),
198
- "--shadow-sm": 0 0 0.25em rgba(0, 0, 0, 0.25),
199
- "--shadow-md": 0 0 0.5em rgba(0, 0, 0, 0.25),
200
- "--shadow-lg": 0 0 1em rgba(0, 0, 0, 0.25)
189
+ "--surface-1": #f5f5f5,
190
+ "--surface-2": #e5e5e5,
191
+ "--content-0": #111111,
192
+ "--content-1": #444444,
193
+ "--content-2": #777777,
194
+ "--focus-ring": #000000,
195
+ "--overlay-backdrop": rgba(0, 0, 0, 0.12),
196
+ "--overlay-glass": rgba(255, 255, 255, 0.86),
197
+ "--shadow-xs": 0 0 0.25em rgba(0, 0, 0, 0.12),
198
+ "--shadow-sm": 0 0 0.25em rgba(0, 0, 0, 0.2),
199
+ "--shadow-md": 0 0 0.5em rgba(0, 0, 0, 0.24),
200
+ "--shadow-lg": 0 0 1em rgba(0, 0, 0, 0.28)
201
201
  ),
202
202
  accent: (
203
- l: 0.55,
204
- c: 0.22,
205
- h: 245
203
+ l: 0.2,
204
+ c: 0,
205
+ h: 0
206
206
  ),
207
207
  status: (
208
208
  neutral: (
209
209
  fill: (
210
- l: 0.26,
211
- c: 0.01,
212
- h: 244
210
+ l: 0.2,
211
+ c: 0,
212
+ h: 0
213
213
  ),
214
214
  border: (
215
- l: 0.86,
216
- c: 0.016,
217
- h: 245
215
+ l: 0.82,
216
+ c: 0,
217
+ h: 0
218
218
  )
219
219
  ),
220
220
  error: (
221
221
  fill: (
222
222
  l: 0.52,
223
- c: 0.19,
224
- h: 22
223
+ c: 0.2,
224
+ h: 25
225
225
  ),
226
226
  border: (
227
227
  l: 0.52,
228
- c: 0.19,
229
- h: 22
228
+ c: 0.2,
229
+ h: 25
230
230
  )
231
231
  ),
232
232
  warning: (
233
233
  fill: (
234
- l: 0.55,
234
+ l: 0.65,
235
235
  c: 0.16,
236
- h: 75
236
+ h: 90
237
237
  ),
238
238
  border: (
239
- l: 0.55,
239
+ l: 0.65,
240
240
  c: 0.16,
241
- h: 75
241
+ h: 90
242
242
  )
243
243
  ),
244
244
  success: (
245
245
  fill: (
246
246
  l: 0.5,
247
- c: 0.14,
248
- h: 160
247
+ c: 0.16,
248
+ h: 145
249
249
  ),
250
250
  border: (
251
251
  l: 0.5,
252
- c: 0.14,
253
- h: 160
252
+ c: 0.16,
253
+ h: 145
254
254
  )
255
255
  ),
256
256
  info: (
257
257
  fill: (
258
258
  l: 0.52,
259
- c: 0.15,
260
- h: 255
259
+ c: 0.16,
260
+ h: 250
261
261
  ),
262
262
  border: (
263
263
  l: 0.52,
264
- c: 0.15,
265
- h: 255
264
+ c: 0.16,
265
+ h: 250
266
266
  )
267
267
  )
268
268
  )
@@ -270,84 +270,84 @@ $light-theme-defaults: (
270
270
 
271
271
  $dark-theme-defaults: (
272
272
  tokens: (
273
- "--surface-0": #222a35,
274
- "--surface-1": #27313f,
275
- "--surface-2": #2d3646,
276
- "--content-0": oklch(0.9 0.01 256),
277
- "--content-1": oklch(0.8 0.02 256),
278
- "--content-2": oklch(0.7 0.02 256),
279
- "--focus-ring": oklch(0.88 0.2 94),
280
- "--overlay-backdrop": rgba(30, 37, 47, 0.18),
281
- "--overlay-glass": rgba(30, 37, 47, 0.8),
273
+ "--surface-0": #000000,
274
+ "--surface-1": #111111,
275
+ "--surface-2": #222222,
276
+ "--content-0": #ffffff,
277
+ "--content-1": #cccccc,
278
+ "--content-2": #999999,
279
+ "--focus-ring": #ffffff,
280
+ "--overlay-backdrop": rgba(255, 255, 255, 0.12),
281
+ "--overlay-glass": rgba(0, 0, 0, 0.86),
282
282
  "--shadow-xs": 0 0 0.25em rgba(0, 0, 0, 0.15),
283
283
  "--shadow-sm": 0 0 0.25em rgba(0, 0, 0, 0.25),
284
284
  "--shadow-md": 0 0 0.5em rgba(0, 0, 0, 0.25),
285
285
  "--shadow-lg": 0 0 1em rgba(0, 0, 0, 0.25)
286
286
  ),
287
287
  accent: (
288
- l: 0.7,
289
- c: 0.2,
290
- h: 245
288
+ l: 0.92,
289
+ c: 0,
290
+ h: 0
291
291
  ),
292
292
  status: (
293
293
  neutral: (
294
294
  fill: (
295
- l: 0.7,
296
- c: 0.02,
297
- h: 256
295
+ l: 0.88,
296
+ c: 0,
297
+ h: 0
298
298
  ),
299
299
  border: (
300
- l: 0.4,
301
- c: 0.02,
302
- h: 256
300
+ l: 0.35,
301
+ c: 0,
302
+ h: 0
303
303
  )
304
304
  ),
305
305
  error: (
306
306
  fill: (
307
- l: 0.7,
308
- c: 0.18,
309
- h: 22
307
+ l: 0.72,
308
+ c: 0.2,
309
+ h: 25
310
310
  ),
311
311
  border: (
312
- l: 0.7,
313
- c: 0.18,
314
- h: 22
312
+ l: 0.72,
313
+ c: 0.2,
314
+ h: 25
315
315
  )
316
316
  ),
317
317
  warning: (
318
318
  fill: (
319
- l: 0.72,
320
- c: 0.14,
321
- h: 75
319
+ l: 0.8,
320
+ c: 0.16,
321
+ h: 90
322
322
  ),
323
323
  border: (
324
- l: 0.72,
325
- c: 0.14,
326
- h: 75
324
+ l: 0.8,
325
+ c: 0.16,
326
+ h: 90
327
327
  )
328
328
  ),
329
329
  success: (
330
330
  fill: (
331
- l: 0.7,
332
- c: 0.14,
333
- h: 165
331
+ l: 0.75,
332
+ c: 0.16,
333
+ h: 145
334
334
  ),
335
335
  border: (
336
- l: 0.7,
337
- c: 0.14,
338
- h: 165
336
+ l: 0.75,
337
+ c: 0.16,
338
+ h: 145
339
339
  )
340
340
  ),
341
341
  info: (
342
342
  fill: (
343
- l: 0.7,
343
+ l: 0.76,
344
344
  c: 0.16,
345
- h: 258
345
+ h: 250
346
346
  ),
347
347
  border: (
348
- l: 0.7,
348
+ l: 0.76,
349
349
  c: 0.16,
350
- h: 258
350
+ h: 250
351
351
  )
352
352
  )
353
353
  )
@@ -285,15 +285,15 @@
285
285
  @mixin generate-accent($L, $C, $H, $mode) {
286
286
  @if $mode == light {
287
287
  --content-accent: oklch(#{$L} #{$C} #{$H});
288
- --surface-accent: oklch(0.94 #{$C - 0.2} #{$H - 15});
289
- --border-accent: oklch(#{$L - 0.03} #{$C - 0.08} #{$H});
288
+ --surface-accent: oklch(0.94 #{math.max(0, $C - 0.2)} #{$H - 15});
289
+ --border-accent: oklch(#{$L - 0.03} #{math.max(0, $C - 0.08)} #{$H});
290
290
  // --focus-accent: oklch(#{$L + 0.04} #{$C + 0.05} #{$H});
291
291
  }
292
292
 
293
293
  @if $mode == dark {
294
294
  --content-accent: oklch(#{$L} #{$C} #{$H});
295
- --surface-accent: oklch(#{$L - 0.4} #{$C - 0.15} #{$H - 10});
296
- --border-accent: oklch(#{$L - 0.08} #{$C - 0.1} #{$H});
295
+ --surface-accent: oklch(#{$L - 0.4} #{math.max(0, $C - 0.15)} #{$H - 10});
296
+ --border-accent: oklch(#{$L - 0.08} #{math.max(0, $C - 0.1)} #{$H});
297
297
  // --focus-accent: oklch(#{$L + 0.06} #{$C + 0.03} #{$H});
298
298
  }
299
299
  }
@@ -1 +1 @@
1
- {"generatedAt":1783603993719,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"metaFramework":{"name":"tanstack-react","packageName":"@tanstack/react-router","version":"1.170.17"},"knownPackages":{"testPackages":{"@testing-library/dom":"10.4.1","@testing-library/react":"16.3.2","@testing-library/user-event":"^14.6.1","vitest":"4.1.10"},"stateManagementPackages":{"zustand":"^5.0.14"},"dataFetchingPackages":{"@tanstack/react-query":"^5.101.1"},"routerPackages":{"@tanstack/react-router":"^1.170.16"}},"hasRouterPackage":false,"packageManager":{"type":"npm","version":"11.7.0","agent":"npm","nodeLinker":"node_modules"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":9,"storybookVersion":"10.4.6","storybookVersionSpecifier":"^10.4.6","language":"typescript","storybookPackages":{"@storybook/react-vite":{"version":"10.4.6"},"storybook":{}},"addons":{"@storybook/addon-docs":{"version":"10.4.6"},"@storybook/addon-a11y":{"version":"10.4.6"}},"packageJsonType":"module"}
1
+ {"generatedAt":1783606689420,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"metaFramework":{"name":"tanstack-react","packageName":"@tanstack/react-router","version":"1.170.17"},"knownPackages":{"testPackages":{"@testing-library/dom":"10.4.1","@testing-library/react":"16.3.2","@testing-library/user-event":"^14.6.1","vitest":"4.1.10"},"stateManagementPackages":{"zustand":"^5.0.14"},"dataFetchingPackages":{"@tanstack/react-query":"^5.101.1"},"routerPackages":{"@tanstack/react-router":"^1.170.16"}},"hasRouterPackage":false,"packageManager":{"type":"npm","version":"11.7.0","agent":"npm","nodeLinker":"node_modules"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":9,"storybookVersion":"10.4.6","storybookVersionSpecifier":"^10.4.6","language":"typescript","storybookPackages":{"@storybook/react-vite":{"version":"10.4.6"},"storybook":{}},"addons":{"@storybook/addon-docs":{"version":"10.4.6"},"@storybook/addon-a11y":{"version":"10.4.6"}},"packageJsonType":"module"}