@starasia/theme 1.0.0 → 1.0.2
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/dist/default.json.d.ts +23 -27
- package/dist/index.es.js +198 -835
- package/dist/index.umd.js +21 -50
- package/dist/types/components/card.d.ts +1 -1
- package/dist/types/theme.d.ts +3 -6
- package/package.json +11 -11
package/dist/default.json.d.ts
CHANGED
|
@@ -254,18 +254,18 @@ declare const _default: {
|
|
|
254
254
|
},
|
|
255
255
|
"tertiary": {
|
|
256
256
|
"background-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.21)",
|
|
257
|
-
"text-color": "rgb(var(--starasia-ui-raw-color-blue-
|
|
257
|
+
"text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
|
|
258
258
|
"border-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.21)",
|
|
259
259
|
"hover": {
|
|
260
260
|
"background-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.3)",
|
|
261
261
|
"border-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.3)",
|
|
262
|
-
"text-color": "rgb(var(--starasia-ui-raw-color-blue-
|
|
262
|
+
"text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
|
|
263
263
|
"shadow": "0px 0px 0px -1px #f0f0f0"
|
|
264
264
|
},
|
|
265
265
|
"active": {
|
|
266
266
|
"background-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.46)",
|
|
267
267
|
"border-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.46)",
|
|
268
|
-
"text-color": "rgb(var(--starasia-ui-raw-color-blue-
|
|
268
|
+
"text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
|
|
269
269
|
"shadow": "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-blue-300), 0.28)"
|
|
270
270
|
},
|
|
271
271
|
"disable": {
|
|
@@ -276,17 +276,17 @@ declare const _default: {
|
|
|
276
276
|
},
|
|
277
277
|
"quaternary": {
|
|
278
278
|
"background-color": "rgba(255, 255, 255, 0)",
|
|
279
|
-
"text-color": "rgb(var(--starasia-ui-raw-color-blue-
|
|
280
|
-
"border-color": "rgb(var(--starasia-ui-raw-color-blue-
|
|
279
|
+
"text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
|
|
280
|
+
"border-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
|
|
281
281
|
"hover": {
|
|
282
282
|
"background-color": "rgba(255, 255, 255, 0)",
|
|
283
|
-
"border-color": "rgba(var(--starasia-ui-raw-color-blue-
|
|
284
|
-
"text-color": "rgba(var(--starasia-ui-raw-color-blue-
|
|
283
|
+
"border-color": "rgba(var(--starasia-ui-raw-color-blue-700), 0.9)",
|
|
284
|
+
"text-color": "rgba(var(--starasia-ui-raw-color-blue-700), 0.9)"
|
|
285
285
|
},
|
|
286
286
|
"active": {
|
|
287
287
|
"background-color": "rgb(255, 255, 255)",
|
|
288
|
-
"border-color": "rgb(
|
|
289
|
-
"text-color": "rgb(var(--starasia-ui-raw-color-blue-
|
|
288
|
+
"border-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
|
|
289
|
+
"text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
|
|
290
290
|
"shadow": "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-blue-300), 0.28)"
|
|
291
291
|
},
|
|
292
292
|
"disable": {
|
|
@@ -297,17 +297,17 @@ declare const _default: {
|
|
|
297
297
|
},
|
|
298
298
|
"link": {
|
|
299
299
|
"background-color": "rgba(255, 255, 255, 0)",
|
|
300
|
-
"text-color": "rgb(var(--starasia-ui-raw-color-blue-
|
|
300
|
+
"text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
|
|
301
301
|
"border-color": "rgba(255, 255, 255, 0)",
|
|
302
302
|
"hover": {
|
|
303
303
|
"background-color": "rgba(255, 255, 255, 0)",
|
|
304
304
|
"border-color": "rgba(255, 255, 255, 0)",
|
|
305
|
-
"text-color": "rgba(
|
|
305
|
+
"text-color": "rgba(var(--starasia-ui-raw-color-blue-900), 0.9)"
|
|
306
306
|
},
|
|
307
307
|
"active": {
|
|
308
308
|
"background-color": "rgba(255, 255, 255, 0)",
|
|
309
309
|
"border-color": "rgba(255, 255, 255, 0)",
|
|
310
|
-
"text-color": "rgb(var(--starasia-ui-raw-color-blue-
|
|
310
|
+
"text-color": "rgb(var(--starasia-ui-raw-color-blue-700))"
|
|
311
311
|
},
|
|
312
312
|
"disable": {
|
|
313
313
|
"background-color": "rgba(255, 255, 255, 0)",
|
|
@@ -329,7 +329,7 @@ declare const _default: {
|
|
|
329
329
|
"background-color": "rgba(var(--starasia-ui-raw-color-green-600), 0.75)",
|
|
330
330
|
"border-color": "rgba(var(--starasia-ui-raw-color-green-600), 0.75)",
|
|
331
331
|
"text-color": "rgb(255, 255, 255)",
|
|
332
|
-
"shadow": "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-green-
|
|
332
|
+
"shadow": "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-green-800), 0.28)"
|
|
333
333
|
},
|
|
334
334
|
"disable": {
|
|
335
335
|
"background-color": "rgb(var(--starasia-ui-raw-color-gray-400))",
|
|
@@ -347,10 +347,10 @@ declare const _default: {
|
|
|
347
347
|
"text-color": "rgb(255, 255, 255)"
|
|
348
348
|
},
|
|
349
349
|
"active": {
|
|
350
|
-
"background-color": "rgba(var(--starasia-ui-raw-color-red-
|
|
351
|
-
"border-color": "rgba(var(--starasia-ui-raw-color-red-
|
|
350
|
+
"background-color": "rgba(var(--starasia-ui-raw-color-red-800), 0.68)",
|
|
351
|
+
"border-color": "rgba(var(--starasia-ui-raw-color-red-800), 0.68)",
|
|
352
352
|
"text-color": "rgb(255, 255, 255)",
|
|
353
|
-
"shadow": "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-red-
|
|
353
|
+
"shadow": "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-red-800), 0.28)"
|
|
354
354
|
},
|
|
355
355
|
"disable": {
|
|
356
356
|
"background-color": "rgb(var(--starasia-ui-raw-color-red-300))",
|
|
@@ -368,15 +368,15 @@ declare const _default: {
|
|
|
368
368
|
"text-color": "rgb(255, 255, 255)"
|
|
369
369
|
},
|
|
370
370
|
"active": {
|
|
371
|
-
"background-color": "rgba(var(--starasia-ui-raw-color-orange-
|
|
372
|
-
"border-color": "rgba(var(--starasia-ui-raw-color-orange-
|
|
371
|
+
"background-color": "rgba(var(--starasia-ui-raw-color-orange-800), 0.75)",
|
|
372
|
+
"border-color": "rgba(var(--starasia-ui-raw-color-orange-800), 0.75)",
|
|
373
373
|
"text-color": "rgb(255, 255, 255)",
|
|
374
|
-
"shadow": "0px 0px 0px 2px rgba(var(--starasia-ui-raw-color-orange-
|
|
374
|
+
"shadow": "0px 0px 0px 2px rgba(var(--starasia-ui-raw-color-orange-800), 0.28)"
|
|
375
375
|
},
|
|
376
376
|
"disable": {
|
|
377
377
|
"background-color": "rgb(var(--starasia-ui-raw-color-orange-300))",
|
|
378
378
|
"border-color": "rgb(var(--starasia-ui-raw-color-orange-300))",
|
|
379
|
-
"text-color": "rgb(
|
|
379
|
+
"text-color": "rgb(var(--starasia-ui-raw-color-orange-600))"
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
},
|
|
@@ -397,7 +397,7 @@ declare const _default: {
|
|
|
397
397
|
"secondary": "var(--starasia-ui-color-gray-700)",
|
|
398
398
|
"tertiary": "var(--starasia-ui-color-gray-500)",
|
|
399
399
|
"disable": "var(--starasia-ui-color-gray-200)",
|
|
400
|
-
"white": "
|
|
400
|
+
"white": "var(--starasia-ui-color-white-900)"
|
|
401
401
|
},
|
|
402
402
|
"utility": {
|
|
403
403
|
"success": {
|
|
@@ -488,11 +488,7 @@ declare const _default: {
|
|
|
488
488
|
"xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
|
|
489
489
|
"2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
|
|
490
490
|
"inner": "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
|
|
491
|
-
"
|
|
492
|
-
},
|
|
493
|
-
"borderRadius": {
|
|
494
|
-
"rounded": "8px",
|
|
495
|
-
"circular": "192px"
|
|
491
|
+
"card": "0px 4px 35px 0px rgba(112, 144, 176, 0.25)"
|
|
496
492
|
}
|
|
497
493
|
},
|
|
498
494
|
"font": {
|
|
@@ -509,7 +505,7 @@ declare const _default: {
|
|
|
509
505
|
"6xl": "3rem"
|
|
510
506
|
},
|
|
511
507
|
"fontWeights": {
|
|
512
|
-
"hairline":
|
|
508
|
+
"hairline": 100,
|
|
513
509
|
"thin": 100,
|
|
514
510
|
"light": 200,
|
|
515
511
|
"normal": 300,
|