@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/README.md +457 -10
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/styles/config/_index.scss +77 -77
- package/src/styles/mixins/_mixin.scss +4 -4
- package/storybook-static/project.json +1 -1
package/package.json
CHANGED
|
@@ -186,83 +186,83 @@ $paragraph-spacing-preset-defaults: (
|
|
|
186
186
|
$light-theme-defaults: (
|
|
187
187
|
tokens: (
|
|
188
188
|
"--surface-0": #ffffff,
|
|
189
|
-
"--surface-1": #
|
|
190
|
-
"--surface-2": #
|
|
191
|
-
"--content-0":
|
|
192
|
-
"--content-1":
|
|
193
|
-
"--content-2":
|
|
194
|
-
"--focus-ring":
|
|
195
|
-
"--overlay-backdrop": rgba(0, 0, 0, 0.
|
|
196
|
-
"--overlay-glass": rgba(255, 255, 255, 0.
|
|
197
|
-
"--shadow-xs": 0 0 0.25em rgba(0, 0, 0, 0.
|
|
198
|
-
"--shadow-sm": 0 0 0.25em rgba(0, 0, 0, 0.
|
|
199
|
-
"--shadow-md": 0 0 0.5em rgba(0, 0, 0, 0.
|
|
200
|
-
"--shadow-lg": 0 0 1em rgba(0, 0, 0, 0.
|
|
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.
|
|
204
|
-
c: 0
|
|
205
|
-
h:
|
|
203
|
+
l: 0.2,
|
|
204
|
+
c: 0,
|
|
205
|
+
h: 0
|
|
206
206
|
),
|
|
207
207
|
status: (
|
|
208
208
|
neutral: (
|
|
209
209
|
fill: (
|
|
210
|
-
l: 0.
|
|
211
|
-
c: 0
|
|
212
|
-
h:
|
|
210
|
+
l: 0.2,
|
|
211
|
+
c: 0,
|
|
212
|
+
h: 0
|
|
213
213
|
),
|
|
214
214
|
border: (
|
|
215
|
-
l: 0.
|
|
216
|
-
c: 0
|
|
217
|
-
h:
|
|
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.
|
|
224
|
-
h:
|
|
223
|
+
c: 0.2,
|
|
224
|
+
h: 25
|
|
225
225
|
),
|
|
226
226
|
border: (
|
|
227
227
|
l: 0.52,
|
|
228
|
-
c: 0.
|
|
229
|
-
h:
|
|
228
|
+
c: 0.2,
|
|
229
|
+
h: 25
|
|
230
230
|
)
|
|
231
231
|
),
|
|
232
232
|
warning: (
|
|
233
233
|
fill: (
|
|
234
|
-
l: 0.
|
|
234
|
+
l: 0.65,
|
|
235
235
|
c: 0.16,
|
|
236
|
-
h:
|
|
236
|
+
h: 90
|
|
237
237
|
),
|
|
238
238
|
border: (
|
|
239
|
-
l: 0.
|
|
239
|
+
l: 0.65,
|
|
240
240
|
c: 0.16,
|
|
241
|
-
h:
|
|
241
|
+
h: 90
|
|
242
242
|
)
|
|
243
243
|
),
|
|
244
244
|
success: (
|
|
245
245
|
fill: (
|
|
246
246
|
l: 0.5,
|
|
247
|
-
c: 0.
|
|
248
|
-
h:
|
|
247
|
+
c: 0.16,
|
|
248
|
+
h: 145
|
|
249
249
|
),
|
|
250
250
|
border: (
|
|
251
251
|
l: 0.5,
|
|
252
|
-
c: 0.
|
|
253
|
-
h:
|
|
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.
|
|
260
|
-
h:
|
|
259
|
+
c: 0.16,
|
|
260
|
+
h: 250
|
|
261
261
|
),
|
|
262
262
|
border: (
|
|
263
263
|
l: 0.52,
|
|
264
|
-
c: 0.
|
|
265
|
-
h:
|
|
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": #
|
|
274
|
-
"--surface-1": #
|
|
275
|
-
"--surface-2": #
|
|
276
|
-
"--content-0":
|
|
277
|
-
"--content-1":
|
|
278
|
-
"--content-2":
|
|
279
|
-
"--focus-ring":
|
|
280
|
-
"--overlay-backdrop": rgba(
|
|
281
|
-
"--overlay-glass": rgba(
|
|
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.
|
|
289
|
-
c: 0
|
|
290
|
-
h:
|
|
288
|
+
l: 0.92,
|
|
289
|
+
c: 0,
|
|
290
|
+
h: 0
|
|
291
291
|
),
|
|
292
292
|
status: (
|
|
293
293
|
neutral: (
|
|
294
294
|
fill: (
|
|
295
|
-
l: 0.
|
|
296
|
-
c: 0
|
|
297
|
-
h:
|
|
295
|
+
l: 0.88,
|
|
296
|
+
c: 0,
|
|
297
|
+
h: 0
|
|
298
298
|
),
|
|
299
299
|
border: (
|
|
300
|
-
l: 0.
|
|
301
|
-
c: 0
|
|
302
|
-
h:
|
|
300
|
+
l: 0.35,
|
|
301
|
+
c: 0,
|
|
302
|
+
h: 0
|
|
303
303
|
)
|
|
304
304
|
),
|
|
305
305
|
error: (
|
|
306
306
|
fill: (
|
|
307
|
-
l: 0.
|
|
308
|
-
c: 0.
|
|
309
|
-
h:
|
|
307
|
+
l: 0.72,
|
|
308
|
+
c: 0.2,
|
|
309
|
+
h: 25
|
|
310
310
|
),
|
|
311
311
|
border: (
|
|
312
|
-
l: 0.
|
|
313
|
-
c: 0.
|
|
314
|
-
h:
|
|
312
|
+
l: 0.72,
|
|
313
|
+
c: 0.2,
|
|
314
|
+
h: 25
|
|
315
315
|
)
|
|
316
316
|
),
|
|
317
317
|
warning: (
|
|
318
318
|
fill: (
|
|
319
|
-
l: 0.
|
|
320
|
-
c: 0.
|
|
321
|
-
h:
|
|
319
|
+
l: 0.8,
|
|
320
|
+
c: 0.16,
|
|
321
|
+
h: 90
|
|
322
322
|
),
|
|
323
323
|
border: (
|
|
324
|
-
l: 0.
|
|
325
|
-
c: 0.
|
|
326
|
-
h:
|
|
324
|
+
l: 0.8,
|
|
325
|
+
c: 0.16,
|
|
326
|
+
h: 90
|
|
327
327
|
)
|
|
328
328
|
),
|
|
329
329
|
success: (
|
|
330
330
|
fill: (
|
|
331
|
-
l: 0.
|
|
332
|
-
c: 0.
|
|
333
|
-
h:
|
|
331
|
+
l: 0.75,
|
|
332
|
+
c: 0.16,
|
|
333
|
+
h: 145
|
|
334
334
|
),
|
|
335
335
|
border: (
|
|
336
|
-
l: 0.
|
|
337
|
-
c: 0.
|
|
338
|
-
h:
|
|
336
|
+
l: 0.75,
|
|
337
|
+
c: 0.16,
|
|
338
|
+
h: 145
|
|
339
339
|
)
|
|
340
340
|
),
|
|
341
341
|
info: (
|
|
342
342
|
fill: (
|
|
343
|
-
l: 0.
|
|
343
|
+
l: 0.76,
|
|
344
344
|
c: 0.16,
|
|
345
|
-
h:
|
|
345
|
+
h: 250
|
|
346
346
|
),
|
|
347
347
|
border: (
|
|
348
|
-
l: 0.
|
|
348
|
+
l: 0.76,
|
|
349
349
|
c: 0.16,
|
|
350
|
-
h:
|
|
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":
|
|
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"}
|