@starasia/theme 1.0.0 → 1.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.
@@ -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-300))",
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-300))",
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-300))",
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-300))",
280
- "border-color": "rgb(var(--starasia-ui-raw-color-blue-300))",
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-500), 0.9)",
284
- "text-color": "rgba(var(--starasia-ui-raw-color-blue-500), 0.9)"
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(26, 117, 209)",
289
- "text-color": "rgb(var(--starasia-ui-raw-color-blue-300))",
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))",
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(13, 71, 161, 0.9)"
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-300))"
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-500), 0.28)"
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-700), 0.68)",
351
- "border-color": "rgba(var(--starasia-ui-raw-color-red-700), 0.68)",
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-600), 0.28)"
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-700), 0.75)",
372
- "border-color": "rgba(var(--starasia-ui-raw-color-orange-700), 0.75)",
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-600), 0.28)"
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(152, 104, 0)"
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": "#ffffff"
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
- "unnamed": "0px 4px 35px 0px rgba(112, 144, 176, 0.25)"
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": 50,
508
+ "hairline": 100,
513
509
  "thin": 100,
514
510
  "light": 200,
515
511
  "normal": 300,
package/dist/index.es.js CHANGED
@@ -10,20 +10,20 @@ var or = { exports: {} }, Y = {};
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
12
  var $r;
13
- function Ra() {
13
+ function _a() {
14
14
  if ($r)
15
15
  return Y;
16
16
  $r = 1;
17
17
  var o = jr, t = Symbol.for("react.element"), i = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, c = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
18
18
  function v(g, d, m) {
19
- var x, _ = {}, S = null, C = null;
19
+ var x, R = {}, S = null, C = null;
20
20
  m !== void 0 && (S = "" + m), d.key !== void 0 && (S = "" + d.key), d.ref !== void 0 && (C = d.ref);
21
21
  for (x in d)
22
- s.call(d, x) && !l.hasOwnProperty(x) && (_[x] = d[x]);
22
+ s.call(d, x) && !l.hasOwnProperty(x) && (R[x] = d[x]);
23
23
  if (g && g.defaultProps)
24
24
  for (x in d = g.defaultProps, d)
25
- _[x] === void 0 && (_[x] = d[x]);
26
- return { $$typeof: t, type: g, key: S, ref: C, props: _, _owner: c.current };
25
+ R[x] === void 0 && (R[x] = d[x]);
26
+ return { $$typeof: t, type: g, key: S, ref: C, props: R, _owner: c.current };
27
27
  }
28
28
  return Y.Fragment = i, Y.jsx = v, Y.jsxs = v, Y;
29
29
  }
@@ -38,9 +38,9 @@ var N = {};
38
38
  * LICENSE file in the root directory of this source tree.
39
39
  */
40
40
  var Cr;
41
- function _a() {
41
+ function Ra() {
42
42
  return Cr || (Cr = 1, process.env.NODE_ENV !== "production" && function() {
43
- var o = jr, t = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), g = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), D = Symbol.iterator, L = "@@iterator";
43
+ var o = jr, t = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), g = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), D = Symbol.iterator, L = "@@iterator";
44
44
  function Ir(r) {
45
45
  if (r === null || typeof r != "object")
46
46
  return null;
@@ -68,7 +68,7 @@ function _a() {
68
68
  var Yr = !1, Nr = !1, Lr = !1, Mr = !1, Vr = !1, er;
69
69
  er = Symbol.for("react.module.reference");
70
70
  function Ur(r) {
71
- return !!(typeof r == "string" || typeof r == "function" || r === s || r === l || Vr || r === c || r === m || r === x || Mr || r === C || Yr || Nr || Lr || typeof r == "object" && r !== null && (r.$$typeof === S || r.$$typeof === _ || r.$$typeof === v || r.$$typeof === g || r.$$typeof === d || // This needs to include all possible module reference object
71
+ return !!(typeof r == "string" || typeof r == "function" || r === s || r === l || Vr || r === c || r === m || r === x || Mr || r === C || Yr || Nr || Lr || typeof r == "object" && r !== null && (r.$$typeof === S || r.$$typeof === R || r.$$typeof === v || r.$$typeof === g || r.$$typeof === d || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
@@ -115,7 +115,7 @@ function _a() {
115
115
  return tr(e._context) + ".Provider";
116
116
  case d:
117
117
  return Jr(r, r.render, "ForwardRef");
118
- case _:
118
+ case R:
119
119
  var n = r.displayName || null;
120
120
  return n !== null ? n : $(r.type) || "Memo";
121
121
  case S: {
@@ -236,29 +236,29 @@ function _a() {
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
238
  Reflect.construct(b, []);
239
- } catch (R) {
240
- n = R;
239
+ } catch (_) {
240
+ n = _;
241
241
  }
242
242
  Reflect.construct(r, [], b);
243
243
  } else {
244
244
  try {
245
245
  b.call();
246
- } catch (R) {
247
- n = R;
246
+ } catch (_) {
247
+ n = _;
248
248
  }
249
249
  r.call(b.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
- } catch (R) {
255
- n = R;
254
+ } catch (_) {
255
+ n = _;
256
256
  }
257
257
  r();
258
258
  }
259
- } catch (R) {
260
- if (R && n && typeof R.stack == "string") {
261
- for (var u = R.stack.split(`
259
+ } catch (_) {
260
+ if (_ && n && typeof _.stack == "string") {
261
+ for (var u = _.stack.split(`
262
262
  `), E = n.stack.split(`
263
263
  `), w = u.length - 1, y = E.length - 1; w >= 1 && y >= 0 && u[w] !== E[y]; )
264
264
  y--;
@@ -305,7 +305,7 @@ function _a() {
305
305
  switch (r.$$typeof) {
306
306
  case d:
307
307
  return zr(r.render);
308
- case _:
308
+ case R:
309
309
  return U(r.type, a, e);
310
310
  case S: {
311
311
  var n = r, f = n._payload, p = n._init;
@@ -507,7 +507,7 @@ Check the top-level render call using <` + e + ">.");
507
507
  return a;
508
508
  }
509
509
  }
510
- function Rr(r, a) {
510
+ function _r(r, a) {
511
511
  {
512
512
  if (!r._store || r._store.validated || r.key != null)
513
513
  return;
@@ -520,14 +520,14 @@ Check the top-level render call using <` + e + ">.");
520
520
  r && r._owner && r._owner !== X.current && (n = " It was passed a child from " + $(r._owner.type) + "."), T(r), h('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', e, n), T(null);
521
521
  }
522
522
  }
523
- function _r(r, a) {
523
+ function Rr(r, a) {
524
524
  {
525
525
  if (typeof r != "object")
526
526
  return;
527
527
  if (G(r))
528
528
  for (var e = 0; e < r.length; e++) {
529
529
  var n = r[e];
530
- Q(n) && Rr(n, a);
530
+ Q(n) && _r(n, a);
531
531
  }
532
532
  else if (Q(r))
533
533
  r._store && (r._store.validated = !0);
@@ -535,7 +535,7 @@ Check the top-level render call using <` + e + ">.");
535
535
  var f = Ir(r);
536
536
  if (typeof f == "function" && f !== r.entries)
537
537
  for (var p = f.call(r), b; !(b = p.next()).done; )
538
- Q(b.value) && Rr(b.value, a);
538
+ Q(b.value) && _r(b.value, a);
539
539
  }
540
540
  }
541
541
  }
@@ -549,7 +549,7 @@ Check the top-level render call using <` + e + ">.");
549
549
  e = a.propTypes;
550
550
  else if (typeof a == "object" && (a.$$typeof === d || // Note: Memo only checks outer props here.
551
551
  // Inner props are checked in the reconciler.
552
- a.$$typeof === _))
552
+ a.$$typeof === R))
553
553
  e = a.propTypes;
554
554
  else
555
555
  return;
@@ -597,19 +597,19 @@ Check the top-level render call using <` + e + ">.");
597
597
  if (n)
598
598
  if (G(k)) {
599
599
  for (var F = 0; F < k.length; F++)
600
- _r(k[F], r);
600
+ Rr(k[F], r);
601
601
  Object.freeze && Object.freeze(k);
602
602
  } else
603
603
  h("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
604
604
  else
605
- _r(k, r);
605
+ Rr(k, r);
606
606
  }
607
607
  if (I.call(a, "key")) {
608
- var P = $(r), R = Object.keys(a).filter(function(wa) {
608
+ var P = $(r), _ = Object.keys(a).filter(function(wa) {
609
609
  return wa !== "key";
610
- }), rr = R.length > 0 ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}";
610
+ }), rr = _.length > 0 ? "{key: someKey, " + _.join(": ..., ") + ": ...}" : "{key: someKey}";
611
611
  if (!kr[P + rr]) {
612
- var pa = R.length > 0 ? "{" + R.join(": ..., ") + ": ...}" : "{}";
612
+ var pa = _.length > 0 ? "{" + _.join(": ..., ") + ": ...}" : "{}";
613
613
  h(`A props object containing a "key" prop is being spread into JSX:
614
614
  let props = %s;
615
615
  <%s {...props} />
@@ -631,7 +631,7 @@ React keys must be passed directly to JSX without using spread:
631
631
  N.Fragment = s, N.jsx = va, N.jsxs = da;
632
632
  }()), N;
633
633
  }
634
- process.env.NODE_ENV === "production" ? or.exports = Ra() : or.exports = _a();
634
+ process.env.NODE_ENV === "production" ? or.exports = _a() : or.exports = Ra();
635
635
  var ka = or.exports;
636
636
  function Or(o, t = "") {
637
637
  let i = "";
@@ -771,13 +771,13 @@ function ja(o, t) {
771
771
  return o && (i += Fr(o, t)), i;
772
772
  }
773
773
  function Ta(o) {
774
- var x, _, S, C, D, L;
774
+ var x, R, S, C, D, L;
775
775
  if (!o)
776
776
  return;
777
777
  const t = (x = o.colors) != null && x.raw ? Pr(
778
778
  o.colors.raw,
779
779
  "starasia-ui-raw-color"
780
- ) : "", i = (_ = o.colors) != null && _.computed ? Pr(
780
+ ) : "", i = (R = o.colors) != null && R.computed ? Pr(
781
781
  o.colors.computed,
782
782
  "starasia-ui-color"
783
783
  ) : "", s = (S = o.colors) != null && S.main ? Sa(o.colors.main, "starasia-ui") : "", c = (C = o.colors) != null && C.brand ? Or(o.colors.brand, "starasia-ui-brand") : "", l = (D = o.colors) != null && D.utility ? Or(
@@ -1077,18 +1077,18 @@ const Da = {
1077
1077
  },
1078
1078
  tertiary: {
1079
1079
  "background-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.21)",
1080
- "text-color": "rgb(var(--starasia-ui-raw-color-blue-300))",
1080
+ "text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
1081
1081
  "border-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.21)",
1082
1082
  hover: {
1083
1083
  "background-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.3)",
1084
1084
  "border-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.3)",
1085
- "text-color": "rgb(var(--starasia-ui-raw-color-blue-300))",
1085
+ "text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
1086
1086
  shadow: "0px 0px 0px -1px #f0f0f0"
1087
1087
  },
1088
1088
  active: {
1089
1089
  "background-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.46)",
1090
1090
  "border-color": "rgba(var(--starasia-ui-raw-color-blue-300), 0.46)",
1091
- "text-color": "rgb(var(--starasia-ui-raw-color-blue-300))",
1091
+ "text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
1092
1092
  shadow: "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-blue-300), 0.28)"
1093
1093
  },
1094
1094
  disable: {
@@ -1099,17 +1099,17 @@ const Da = {
1099
1099
  },
1100
1100
  quaternary: {
1101
1101
  "background-color": "rgba(255, 255, 255, 0)",
1102
- "text-color": "rgb(var(--starasia-ui-raw-color-blue-300))",
1103
- "border-color": "rgb(var(--starasia-ui-raw-color-blue-300))",
1102
+ "text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
1103
+ "border-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
1104
1104
  hover: {
1105
1105
  "background-color": "rgba(255, 255, 255, 0)",
1106
- "border-color": "rgba(var(--starasia-ui-raw-color-blue-500), 0.9)",
1107
- "text-color": "rgba(var(--starasia-ui-raw-color-blue-500), 0.9)"
1106
+ "border-color": "rgba(var(--starasia-ui-raw-color-blue-700), 0.9)",
1107
+ "text-color": "rgba(var(--starasia-ui-raw-color-blue-700), 0.9)"
1108
1108
  },
1109
1109
  active: {
1110
1110
  "background-color": "rgb(255, 255, 255)",
1111
- "border-color": "rgb(26, 117, 209)",
1112
- "text-color": "rgb(var(--starasia-ui-raw-color-blue-300))",
1111
+ "border-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
1112
+ "text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
1113
1113
  shadow: "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-blue-300), 0.28)"
1114
1114
  },
1115
1115
  disable: {
@@ -1120,17 +1120,17 @@ const Da = {
1120
1120
  },
1121
1121
  link: {
1122
1122
  "background-color": "rgba(255, 255, 255, 0)",
1123
- "text-color": "rgb(var(--starasia-ui-raw-color-blue-300))",
1123
+ "text-color": "rgb(var(--starasia-ui-raw-color-blue-700))",
1124
1124
  "border-color": "rgba(255, 255, 255, 0)",
1125
1125
  hover: {
1126
1126
  "background-color": "rgba(255, 255, 255, 0)",
1127
1127
  "border-color": "rgba(255, 255, 255, 0)",
1128
- "text-color": "rgba(13, 71, 161, 0.9)"
1128
+ "text-color": "rgba(var(--starasia-ui-raw-color-blue-900), 0.9)"
1129
1129
  },
1130
1130
  active: {
1131
1131
  "background-color": "rgba(255, 255, 255, 0)",
1132
1132
  "border-color": "rgba(255, 255, 255, 0)",
1133
- "text-color": "rgb(var(--starasia-ui-raw-color-blue-300))"
1133
+ "text-color": "rgb(var(--starasia-ui-raw-color-blue-700))"
1134
1134
  },
1135
1135
  disable: {
1136
1136
  "background-color": "rgba(255, 255, 255, 0)",
@@ -1151,7 +1151,7 @@ const Da = {
1151
1151
  "background-color": "rgba(var(--starasia-ui-raw-color-green-600), 0.75)",
1152
1152
  "border-color": "rgba(var(--starasia-ui-raw-color-green-600), 0.75)",
1153
1153
  "text-color": "rgb(255, 255, 255)",
1154
- shadow: "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-green-500), 0.28)"
1154
+ shadow: "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-green-800), 0.28)"
1155
1155
  },
1156
1156
  disable: {
1157
1157
  "background-color": "rgb(var(--starasia-ui-raw-color-gray-400))",
@@ -1169,10 +1169,10 @@ const Da = {
1169
1169
  "text-color": "rgb(255, 255, 255)"
1170
1170
  },
1171
1171
  active: {
1172
- "background-color": "rgba(var(--starasia-ui-raw-color-red-700), 0.68)",
1173
- "border-color": "rgba(var(--starasia-ui-raw-color-red-700), 0.68)",
1172
+ "background-color": "rgba(var(--starasia-ui-raw-color-red-800), 0.68)",
1173
+ "border-color": "rgba(var(--starasia-ui-raw-color-red-800), 0.68)",
1174
1174
  "text-color": "rgb(255, 255, 255)",
1175
- shadow: "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-red-600), 0.28)"
1175
+ shadow: "0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-red-800), 0.28)"
1176
1176
  },
1177
1177
  disable: {
1178
1178
  "background-color": "rgb(var(--starasia-ui-raw-color-red-300))",
@@ -1190,15 +1190,15 @@ const Da = {
1190
1190
  "text-color": "rgb(255, 255, 255)"
1191
1191
  },
1192
1192
  active: {
1193
- "background-color": "rgba(var(--starasia-ui-raw-color-orange-700), 0.75)",
1194
- "border-color": "rgba(var(--starasia-ui-raw-color-orange-700), 0.75)",
1193
+ "background-color": "rgba(var(--starasia-ui-raw-color-orange-800), 0.75)",
1194
+ "border-color": "rgba(var(--starasia-ui-raw-color-orange-800), 0.75)",
1195
1195
  "text-color": "rgb(255, 255, 255)",
1196
- shadow: "0px 0px 0px 2px rgba(var(--starasia-ui-raw-color-orange-600), 0.28)"
1196
+ shadow: "0px 0px 0px 2px rgba(var(--starasia-ui-raw-color-orange-800), 0.28)"
1197
1197
  },
1198
1198
  disable: {
1199
1199
  "background-color": "rgb(var(--starasia-ui-raw-color-orange-300))",
1200
1200
  "border-color": "rgb(var(--starasia-ui-raw-color-orange-300))",
1201
- "text-color": "rgb(152, 104, 0)"
1201
+ "text-color": "rgb(var(--starasia-ui-raw-color-orange-600))"
1202
1202
  }
1203
1203
  }
1204
1204
  },
@@ -1219,7 +1219,7 @@ const Da = {
1219
1219
  secondary: "var(--starasia-ui-color-gray-700)",
1220
1220
  tertiary: "var(--starasia-ui-color-gray-500)",
1221
1221
  disable: "var(--starasia-ui-color-gray-200)",
1222
- white: "#ffffff"
1222
+ white: "var(--starasia-ui-color-white-900)"
1223
1223
  },
1224
1224
  utility: {
1225
1225
  success: {
@@ -1309,11 +1309,7 @@ const Da = {
1309
1309
  xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
1310
1310
  "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
1311
1311
  inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
1312
- unnamed: "0px 4px 35px 0px rgba(112, 144, 176, 0.25)"
1313
- },
1314
- borderRadius: {
1315
- rounded: "8px",
1316
- circular: "192px"
1312
+ card: "0px 4px 35px 0px rgba(112, 144, 176, 0.25)"
1317
1313
  }
1318
1314
  }, Ia = {
1319
1315
  fontSizes: {
@@ -1329,7 +1325,7 @@ const Da = {
1329
1325
  "6xl": "3rem"
1330
1326
  },
1331
1327
  fontWeights: {
1332
- hairline: 50,
1328
+ hairline: 100,
1333
1329
  thin: 100,
1334
1330
  light: 200,
1335
1331
  normal: 300,
package/dist/index.umd.js CHANGED
@@ -51,4 +51,4 @@ React keys must be passed directly to JSX without using spread:
51
51
  ${d}
52
52
  ${m}
53
53
  }
54
- `}const H=k.createContext({theme:void 0,setTheme:()=>{}}),Kr="starasia-theme-style";function zr({value:o,children:t}){const[i,s]=k.useState(o),c=k.useMemo(()=>i?JSON.stringify(i):"",[i]),l=k.useRef(Ur(Kr));k.useEffect(()=>{if(c){const g=Br(JSON.parse(c));g&&(l!=null&&l.current)&&(l.current.textContent=g)}},[c]);const v=g=>{g&&s(g)};return Yr.jsx(H.Provider,{value:{theme:i,setTheme:v},children:t})}const X={colors:{raw:{white:{900:"255, 255, 255"},black:{900:"0, 0, 0"},blue:{50:"227, 242, 253",100:"187, 222, 251",200:"144, 202, 249",300:"100, 181, 246",400:"66, 165, 245",500:"33, 150, 243",600:"30, 136, 229",700:"25, 118, 210",800:"21, 101, 192",900:"13, 71, 161"},pink:{50:"251, 219, 241",100:"248, 183, 228",200:"245, 147, 215",300:"241, 111, 202",400:"238, 75, 189",500:"235, 39, 176",600:"215, 19, 157",700:"179, 16, 131",800:"143, 13, 104",900:"107, 9, 78"},purple:{50:"233, 222, 245",100:"212, 189, 235",200:"190, 156, 226",300:"169, 123, 216",400:"147, 90, 207",500:"126, 57, 197",600:"105, 47, 164",700:"84, 38, 131",800:"63, 28, 98",900:"42, 19, 65"},gray:{50:"255, 254, 255",100:"239, 243, 248",200:"201, 206, 204",300:"174, 182, 178",400:"147, 158, 153",500:"120, 134, 127",600:"96, 107, 102",700:"72, 80, 76",800:"48, 53, 51",900:"24, 26, 25"},red:{50:"255, 240, 243",100:"255, 204, 213",200:"255, 179, 193",300:"255, 143, 163",400:"255, 117, 143",500:"255, 77, 109",600:"201, 24, 74",700:"164, 19, 60",800:"128, 15, 47",900:"89, 13, 34"},orange:{50:"250, 246, 224",100:"255, 245, 193",200:"255, 225, 139",300:"255, 203, 105",400:"234, 183, 84",500:"210, 160, 58",600:"179, 130, 10",700:"152, 104, 0",800:"126, 80, 0",900:"97, 52, 0"},aloha:{50:"219, 247, 242",100:"184, 240, 230",200:"149, 232, 218",300:"114, 225, 206",400:"79, 218, 194",500:"44, 210, 182",600:"36, 175, 152",700:"29, 140, 121",800:"22, 105, 91",900:"14, 70, 60"},green:{50:"220, 246, 234",100:"186, 238, 214",200:"151, 230, 193",300:"117, 222, 173",400:"82, 214, 152",500:"48, 206, 132",600:"40, 172, 110",700:"32, 137, 88",800:"24, 103, 66",900:"16, 68, 44"}},computed:{white:{900:"rgba(var(--starasia-ui-raw-color-white-900), 1)"},black:{900:"rgba(var(--starasia-ui-raw-color-black-900), 1)"},blue:{50:"rgba(var(--starasia-ui-raw-color-blue-50), 1)",100:"rgba(var(--starasia-ui-raw-color-blue-100), 1)",200:"rgba(var(--starasia-ui-raw-color-blue-200), 1)",300:"rgba(var(--starasia-ui-raw-color-blue-300), 1)",400:"rgba(var(--starasia-ui-raw-color-blue-400), 1)",500:"rgba(var(--starasia-ui-raw-color-blue-500), 1)",600:"rgba(var(--starasia-ui-raw-color-blue-600), 1)",700:"rgba(var(--starasia-ui-raw-color-blue-700), 1)",800:"rgba(var(--starasia-ui-raw-color-blue-800), 1)",900:"rgba(var(--starasia-ui-raw-color-blue-900), 1)"},pink:{50:"rgba(var(--starasia-ui-raw-color-pink-50), 1)",100:"rgba(var(--starasia-ui-raw-color-pink-100), 1)",200:"rgba(var(--starasia-ui-raw-color-pink-200), 1)",300:"rgba(var(--starasia-ui-raw-color-pink-300), 1)",400:"rgba(var(--starasia-ui-raw-color-pink-400), 1)",500:"rgba(var(--starasia-ui-raw-color-pink-500), 1)",600:"rgba(var(--starasia-ui-raw-color-pink-600), 1)",700:"rgba(var(--starasia-ui-raw-color-pink-700), 1)",800:"rgba(var(--starasia-ui-raw-color-pink-800), 1)",900:"rgba(var(--starasia-ui-raw-color-pink-900), 1)"},purple:{50:"rgba(var(--starasia-ui-raw-color-purple-50), 1)",100:"rgba(var(--starasia-ui-raw-color-purple-100), 1)",200:"rgba(var(--starasia-ui-raw-color-purple-200), 1)",300:"rgba(var(--starasia-ui-raw-color-purple-300), 1)",400:"rgba(var(--starasia-ui-raw-color-purple-400), 1)",500:"rgba(var(--starasia-ui-raw-color-purple-500), 1)",600:"rgba(var(--starasia-ui-raw-color-purple-600), 1)",700:"rgba(var(--starasia-ui-raw-color-purple-700), 1)",800:"rgba(var(--starasia-ui-raw-color-purple-800), 1)",900:"rgba(var(--starasia-ui-raw-color-purple-900), 1)"},gray:{50:"rgba(var(--starasia-ui-raw-color-gray-50), 1)",100:"rgba(var(--starasia-ui-raw-color-gray-100), 1)",200:"rgba(var(--starasia-ui-raw-color-gray-200), 1)",300:"rgba(var(--starasia-ui-raw-color-gray-300), 1)",400:"rgba(var(--starasia-ui-raw-color-gray-400), 1)",500:"rgba(var(--starasia-ui-raw-color-gray-500), 1)",600:"rgba(var(--starasia-ui-raw-color-gray-600), 1)",700:"rgba(var(--starasia-ui-raw-color-gray-700), 1)",800:"rgba(var(--starasia-ui-raw-color-gray-800), 1)",900:"rgba(var(--starasia-ui-raw-color-gray-900), 1)"},red:{50:"rgba(var(--starasia-ui-raw-color-red-50), 1)",100:"rgba(var(--starasia-ui-raw-color-red-100), 1)",200:"rgba(var(--starasia-ui-raw-color-red-200), 1)",300:"rgba(var(--starasia-ui-raw-color-red-300), 1)",400:"rgba(var(--starasia-ui-raw-color-red-400), 1)",500:"rgba(var(--starasia-ui-raw-color-red-500), 1)",600:"rgba(var(--starasia-ui-raw-color-red-600), 1)",700:"rgba(var(--starasia-ui-raw-color-red-700), 1)",800:"rgba(var(--starasia-ui-raw-color-red-800), 1)",900:"rgba(var(--starasia-ui-raw-color-red-900), 1)"},orange:{50:"rgba(var(--starasia-ui-raw-color-orange-50), 1)",100:"rgba(var(--starasia-ui-raw-color-orange-100), 1)",200:"rgba(var(--starasia-ui-raw-color-orange-200), 1)",300:"rgba(var(--starasia-ui-raw-color-orange-300), 1)",400:"rgba(var(--starasia-ui-raw-color-orange-400), 1)",500:"rgba(var(--starasia-ui-raw-color-orange-500), 1)",600:"rgba(var(--starasia-ui-raw-color-orange-600), 1)",700:"rgba(var(--starasia-ui-raw-color-orange-700), 1)",800:"rgba(var(--starasia-ui-raw-color-orange-800), 1)",900:"rgba(var(--starasia-ui-raw-color-orange-900), 1)"},aloha:{50:"rgba(var(--starasia-ui-raw-color-aloha-50), 1)",100:"rgba(var(--starasia-ui-raw-color-aloha-100), 1)",200:"rgba(var(--starasia-ui-raw-color-aloha-200), 1)",300:"rgba(var(--starasia-ui-raw-color-aloha-300), 1)",400:"rgba(var(--starasia-ui-raw-color-aloha-400), 1)",500:"rgba(var(--starasia-ui-raw-color-aloha-500), 1)",600:"rgba(var(--starasia-ui-raw-color-aloha-600), 1)",700:"rgba(var(--starasia-ui-raw-color-aloha-700), 1)",800:"rgba(var(--starasia-ui-raw-color-aloha-800), 1)",900:"rgba(var(--starasia-ui-raw-color-aloha-900), 1)"},green:{50:"rgba(var(--starasia-ui-raw-color-green-50), 1)",100:"rgba(var(--starasia-ui-raw-color-green-100), 1)",200:"rgba(var(--starasia-ui-raw-color-green-200), 1)",300:"rgba(var(--starasia-ui-raw-color-green-300), 1)",400:"rgba(var(--starasia-ui-raw-color-green-400), 1)",500:"rgba(var(--starasia-ui-raw-color-green-500), 1)",600:"rgba(var(--starasia-ui-raw-color-green-600), 1)",700:"rgba(var(--starasia-ui-raw-color-green-700), 1)",800:"rgba(var(--starasia-ui-raw-color-green-800), 1)",900:"rgba(var(--starasia-ui-raw-color-green-900), 1)"}},main:{primary:{"background-color":"rgb(var(--starasia-ui-raw-color-blue-700))","text-color":"rgb(255, 255, 255)","border-color":"rgb(var(--starasia-ui-raw-color-blue-700))",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-blue-700), 0.9)","border-color":"rgba(var(--starasia-ui-raw-color-blue-700), 0.9)","text-color":"rgb(255, 255, 255)"},active:{"background-color":"rgb(var(--starasia-ui-raw-color-blue-800))","border-color":"rgb(var(--starasia-ui-raw-color-blue-800))","text-color":"rgb(255, 255, 255)",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-blue-300), 0.28)"},disable:{"background-color":"rgba(var(--starasia-ui-raw-color-gray-200), 0.68)","border-color":"rgba(var(--starasia-ui-raw-color-gray-200), 0.68)","text-color":"rgba(var(--starasia-ui-raw-color-gray-500), 0.62)"}},secondary:{"background-color":"rgb(var(--starasia-ui-raw-color-gray-50))","text-color":"rgb(72, 80, 76)","border-color":"rgba(120, 134, 127, 0.2)",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-gray-100), 0.9)","border-color":"rgba(120, 134, 127, 0.2)","text-color":"rgb(72, 80, 76)",shadow:"0px 0px 0px -1px #f0f0f0"},active:{"background-color":"rgba(var(--starasia-ui-raw-color-gray-200), 0.1)","border-color":"rgba(120, 134, 127, 0.2)","text-color":"rgb(72, 80, 76)",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-gray-200), 0.28), 0px 0px 0px -1px #f0f0f0"},disable:{"background-color":"rgba(var(--starasia-ui-raw-color-gray-200), 0.68)","border-color":"rgba(var(--starasia-ui-raw-color-gray-200), 0.68)","text-color":"rgba(var(--starasia-ui-raw-color-gray-500), 0.62)"}},tertiary:{"background-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.21)","text-color":"rgb(var(--starasia-ui-raw-color-blue-300))","border-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.21)",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.3)","border-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.3)","text-color":"rgb(var(--starasia-ui-raw-color-blue-300))",shadow:"0px 0px 0px -1px #f0f0f0"},active:{"background-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.46)","border-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.46)","text-color":"rgb(var(--starasia-ui-raw-color-blue-300))",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-blue-300), 0.28)"},disable:{"background-color":"rgba(var(--starasia-ui-raw-color-blue-200), 0.8)","border-color":"rgba(var(--starasia-ui-raw-color-blue-200), 0.8)","text-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.5)"}},quaternary:{"background-color":"rgba(255, 255, 255, 0)","text-color":"rgb(var(--starasia-ui-raw-color-blue-300))","border-color":"rgb(var(--starasia-ui-raw-color-blue-300))",hover:{"background-color":"rgba(255, 255, 255, 0)","border-color":"rgba(var(--starasia-ui-raw-color-blue-500), 0.9)","text-color":"rgba(var(--starasia-ui-raw-color-blue-500), 0.9)"},active:{"background-color":"rgb(255, 255, 255)","border-color":"rgb(26, 117, 209)","text-color":"rgb(var(--starasia-ui-raw-color-blue-300))",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-blue-300), 0.28)"},disable:{"background-color":"rgba(255, 255, 255, 0)","border-color":"rgba(var(--starasia-ui-raw-color-gray-500), 0.62)","text-color":"rgba(var(--starasia-ui-raw-color-gray-500), 0.62)"}},link:{"background-color":"rgba(255, 255, 255, 0)","text-color":"rgb(var(--starasia-ui-raw-color-blue-300))","border-color":"rgba(255, 255, 255, 0)",hover:{"background-color":"rgba(255, 255, 255, 0)","border-color":"rgba(255, 255, 255, 0)","text-color":"rgba(13, 71, 161, 0.9)"},active:{"background-color":"rgba(255, 255, 255, 0)","border-color":"rgba(255, 255, 255, 0)","text-color":"rgb(var(--starasia-ui-raw-color-blue-300))"},disable:{"background-color":"rgba(255, 255, 255, 0)","border-color":"rgba(255, 255, 255, 0)","text-color":"rgba(var(--starasia-ui-raw-color-gray-500), 0.62)"}},success:{"background-color":"rgb(var(--starasia-ui-raw-color-green-500))","text-color":"rgb(255, 255, 255)","border-color":"rgb(var(--starasia-ui-raw-color-green-500))",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-green-500), 0.9)","border-color":"rgba(var(--starasia-ui-raw-color-green-500), 0.9)","text-color":"rgb(255, 255, 255)"},active:{"background-color":"rgba(var(--starasia-ui-raw-color-green-600), 0.75)","border-color":"rgba(var(--starasia-ui-raw-color-green-600), 0.75)","text-color":"rgb(255, 255, 255)",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-green-500), 0.28)"},disable:{"background-color":"rgb(var(--starasia-ui-raw-color-gray-400))","border-color":"rgb(var(--starasia-ui-raw-color-gray-400))","text-color":"rgba(120, 134, 127, 0.62)"}},danger:{"background-color":"rgb(var(--starasia-ui-raw-color-red-600))","text-color":"rgb(255, 255, 255)","border-color":"rgb(var(--starasia-ui-raw-color-red-600))",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-red-600), 0.9)","border-color":"rgba(var(--starasia-ui-raw-color-red-600), 0.9)","text-color":"rgb(255, 255, 255)"},active:{"background-color":"rgba(var(--starasia-ui-raw-color-red-700), 0.68)","border-color":"rgba(var(--starasia-ui-raw-color-red-700), 0.68)","text-color":"rgb(255, 255, 255)",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-red-600), 0.28)"},disable:{"background-color":"rgb(var(--starasia-ui-raw-color-red-300))","border-color":"rgb(var(--starasia-ui-raw-color-red-300))","text-color":"rgba(201, 24, 74, 0.3)"}},warning:{"background-color":"rgb(var(--starasia-ui-raw-color-orange-600))","text-color":"rgb(255, 255, 255)","border-color":"rgb(var(--starasia-ui-raw-color-orange-600))",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-orange-600), 0.9)","border-color":"rgba(var(--starasia-ui-raw-color-orange-600), 0.9)","text-color":"rgb(255, 255, 255)"},active:{"background-color":"rgba(var(--starasia-ui-raw-color-orange-700), 0.75)","border-color":"rgba(var(--starasia-ui-raw-color-orange-700), 0.75)","text-color":"rgb(255, 255, 255)",shadow:"0px 0px 0px 2px rgba(var(--starasia-ui-raw-color-orange-600), 0.28)"},disable:{"background-color":"rgb(var(--starasia-ui-raw-color-orange-300))","border-color":"rgb(var(--starasia-ui-raw-color-orange-300))","text-color":"rgb(152, 104, 0)"}}},brand:{primary:{default:"var(--starasia-ui-color-blue-700)",secondary:"var(--starasia-ui-color-blue-300)",tertiary:"var(--starasia-ui-color-blue-50)"},secondary:{default:"var(--starasia-ui-color-pink-700)",secondary:"var(--starasia-ui-color-pink-300)",tertiary:"var(--starasia-ui-color-pink-50)"}},text:{default:"var(--starasia-ui-color-gray-900)",secondary:"var(--starasia-ui-color-gray-700)",tertiary:"var(--starasia-ui-color-gray-500)",disable:"var(--starasia-ui-color-gray-200)",white:"#ffffff"},utility:{success:{default:"var(--starasia-ui-color-green-600)",secondary:"var(--starasia-ui-color-green-200)",tertiary:"var(--starasia-ui-color-green-50)"},danger:{default:"var(--starasia-ui-color-red-600)",secondary:"var(--starasia-ui-color-red-200)",tertiary:"var(--starasia-ui-color-red-50)"},warning:{default:"var(--starasia-ui-color-orange-600)",secondary:"var(--starasia-ui-color-orange-200)",tertiary:"var(--starasia-ui-color-orange-50)"},information:{default:"var(--starasia-ui-color-blue-600)",secondary:"var(--starasia-ui-color-blue-200)",tertiary:"var(--starasia-ui-color-blue-50)"},dark:{default:"var(--starasia-ui-color-gray-600)",secondary:"var(--starasia-ui-color-gray-200)",tertiary:"var(--starasia-ui-color-gray-50)"},fill:{default:"rgba(120, 134, 127, 0.2)",secondary:"rgba(120, 134, 127, 0.16)",tertiary:"rgba(120, 134, 127, 0.1)"}}},metrics:{radii:{none:"0",xs:"0.25rem",sm:"0.375rem",md:"0.5rem",lg:"0.75rem",xl:"0.875rem","2xl":"1rem",full:"12rem"},spacing:{0:"0rem",1:"0.063rem",2:"0.125rem",4:"0.25rem",6:"0.375rem",8:"0.5rem",10:"0.625rem",12:"0.75rem",14:"0.875rem",16:"1rem",18:"1.125rem",20:"1.25rem",24:"1.5rem",28:"1.75rem",32:"2rem",36:"2.25rem",40:"2.5rem",48:"3rem",64:"4rem",80:"5rem",96:"6rem",128:"8rem",160:"10rem",192:"12rem",224:"14rem",256:"16rem",xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem","2xl":"2rem","3xl":"4rem"},border:{default:"1px solid var(--starasia-ui-color-border)"},shadows:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",unnamed:"0px 4px 35px 0px rgba(112, 144, 176, 0.25)"},borderRadius:{rounded:"8px",circular:"192px"}},font:{fontSizes:{xs:"0.625rem",sm:"0.75rem",md:"0.875rem",lg:"1rem",xl:"1.125rem","2xl":"1.25rem","3xl":"1.5rem","4xl":"2rem","5xl":"2.25rem","6xl":"3rem"},fontWeights:{hairline:50,thin:100,light:200,normal:300,medium:400,semibold:500,bold:600,extrabold:700,black:800},lineHeights:{3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"1.875rem",9:"2.25rem",10:"2.5rem",none:1,tight:1.25,snug:1.375,normal:1.5,relaxed:1.625,loose:2}}},br=(o,t)=>{const i={};return Object.keys(o).forEach(s=>{if(o!=null&&o[s]&&typeof(o==null?void 0:o[s])=="object"){i[s]={...o==null?void 0:o[s],...t==null?void 0:t[s],...br(o==null?void 0:o[s],t==null?void 0:t[s])};return}i[s]=(t==null?void 0:t[s])||(o==null?void 0:o[s])}),i};function Y(){const o=k.useContext(H),t=k.useMemo(()=>({...X,...o.theme,...br(X,o.theme)}),[o.theme,X]);return{...o,theme:t}}function Gr(){const{theme:o}=Y();return o.colors}function Hr(){var t;const{theme:o}=Y();return(t=o.metrics)==null?void 0:t.spacing}function Xr(){var t;const{theme:o}=Y();return(t=o.metrics)==null?void 0:t.radii}function qr(){var t;const{theme:o}=Y();return(t=o==null?void 0:o.metrics)==null?void 0:t.shadows}function Zr(o){return o}R.ThemeContext=H,R.ThemeProvider=zr,R.createTheme=Zr,R.useColor=Gr,R.useRadius=Xr,R.useShadow=qr,R.useSpacing=Hr,R.useTheme=Y,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});
54
+ `}const H=k.createContext({theme:void 0,setTheme:()=>{}}),Kr="starasia-theme-style";function zr({value:o,children:t}){const[i,s]=k.useState(o),c=k.useMemo(()=>i?JSON.stringify(i):"",[i]),l=k.useRef(Ur(Kr));k.useEffect(()=>{if(c){const g=Br(JSON.parse(c));g&&(l!=null&&l.current)&&(l.current.textContent=g)}},[c]);const v=g=>{g&&s(g)};return Yr.jsx(H.Provider,{value:{theme:i,setTheme:v},children:t})}const X={colors:{raw:{white:{900:"255, 255, 255"},black:{900:"0, 0, 0"},blue:{50:"227, 242, 253",100:"187, 222, 251",200:"144, 202, 249",300:"100, 181, 246",400:"66, 165, 245",500:"33, 150, 243",600:"30, 136, 229",700:"25, 118, 210",800:"21, 101, 192",900:"13, 71, 161"},pink:{50:"251, 219, 241",100:"248, 183, 228",200:"245, 147, 215",300:"241, 111, 202",400:"238, 75, 189",500:"235, 39, 176",600:"215, 19, 157",700:"179, 16, 131",800:"143, 13, 104",900:"107, 9, 78"},purple:{50:"233, 222, 245",100:"212, 189, 235",200:"190, 156, 226",300:"169, 123, 216",400:"147, 90, 207",500:"126, 57, 197",600:"105, 47, 164",700:"84, 38, 131",800:"63, 28, 98",900:"42, 19, 65"},gray:{50:"255, 254, 255",100:"239, 243, 248",200:"201, 206, 204",300:"174, 182, 178",400:"147, 158, 153",500:"120, 134, 127",600:"96, 107, 102",700:"72, 80, 76",800:"48, 53, 51",900:"24, 26, 25"},red:{50:"255, 240, 243",100:"255, 204, 213",200:"255, 179, 193",300:"255, 143, 163",400:"255, 117, 143",500:"255, 77, 109",600:"201, 24, 74",700:"164, 19, 60",800:"128, 15, 47",900:"89, 13, 34"},orange:{50:"250, 246, 224",100:"255, 245, 193",200:"255, 225, 139",300:"255, 203, 105",400:"234, 183, 84",500:"210, 160, 58",600:"179, 130, 10",700:"152, 104, 0",800:"126, 80, 0",900:"97, 52, 0"},aloha:{50:"219, 247, 242",100:"184, 240, 230",200:"149, 232, 218",300:"114, 225, 206",400:"79, 218, 194",500:"44, 210, 182",600:"36, 175, 152",700:"29, 140, 121",800:"22, 105, 91",900:"14, 70, 60"},green:{50:"220, 246, 234",100:"186, 238, 214",200:"151, 230, 193",300:"117, 222, 173",400:"82, 214, 152",500:"48, 206, 132",600:"40, 172, 110",700:"32, 137, 88",800:"24, 103, 66",900:"16, 68, 44"}},computed:{white:{900:"rgba(var(--starasia-ui-raw-color-white-900), 1)"},black:{900:"rgba(var(--starasia-ui-raw-color-black-900), 1)"},blue:{50:"rgba(var(--starasia-ui-raw-color-blue-50), 1)",100:"rgba(var(--starasia-ui-raw-color-blue-100), 1)",200:"rgba(var(--starasia-ui-raw-color-blue-200), 1)",300:"rgba(var(--starasia-ui-raw-color-blue-300), 1)",400:"rgba(var(--starasia-ui-raw-color-blue-400), 1)",500:"rgba(var(--starasia-ui-raw-color-blue-500), 1)",600:"rgba(var(--starasia-ui-raw-color-blue-600), 1)",700:"rgba(var(--starasia-ui-raw-color-blue-700), 1)",800:"rgba(var(--starasia-ui-raw-color-blue-800), 1)",900:"rgba(var(--starasia-ui-raw-color-blue-900), 1)"},pink:{50:"rgba(var(--starasia-ui-raw-color-pink-50), 1)",100:"rgba(var(--starasia-ui-raw-color-pink-100), 1)",200:"rgba(var(--starasia-ui-raw-color-pink-200), 1)",300:"rgba(var(--starasia-ui-raw-color-pink-300), 1)",400:"rgba(var(--starasia-ui-raw-color-pink-400), 1)",500:"rgba(var(--starasia-ui-raw-color-pink-500), 1)",600:"rgba(var(--starasia-ui-raw-color-pink-600), 1)",700:"rgba(var(--starasia-ui-raw-color-pink-700), 1)",800:"rgba(var(--starasia-ui-raw-color-pink-800), 1)",900:"rgba(var(--starasia-ui-raw-color-pink-900), 1)"},purple:{50:"rgba(var(--starasia-ui-raw-color-purple-50), 1)",100:"rgba(var(--starasia-ui-raw-color-purple-100), 1)",200:"rgba(var(--starasia-ui-raw-color-purple-200), 1)",300:"rgba(var(--starasia-ui-raw-color-purple-300), 1)",400:"rgba(var(--starasia-ui-raw-color-purple-400), 1)",500:"rgba(var(--starasia-ui-raw-color-purple-500), 1)",600:"rgba(var(--starasia-ui-raw-color-purple-600), 1)",700:"rgba(var(--starasia-ui-raw-color-purple-700), 1)",800:"rgba(var(--starasia-ui-raw-color-purple-800), 1)",900:"rgba(var(--starasia-ui-raw-color-purple-900), 1)"},gray:{50:"rgba(var(--starasia-ui-raw-color-gray-50), 1)",100:"rgba(var(--starasia-ui-raw-color-gray-100), 1)",200:"rgba(var(--starasia-ui-raw-color-gray-200), 1)",300:"rgba(var(--starasia-ui-raw-color-gray-300), 1)",400:"rgba(var(--starasia-ui-raw-color-gray-400), 1)",500:"rgba(var(--starasia-ui-raw-color-gray-500), 1)",600:"rgba(var(--starasia-ui-raw-color-gray-600), 1)",700:"rgba(var(--starasia-ui-raw-color-gray-700), 1)",800:"rgba(var(--starasia-ui-raw-color-gray-800), 1)",900:"rgba(var(--starasia-ui-raw-color-gray-900), 1)"},red:{50:"rgba(var(--starasia-ui-raw-color-red-50), 1)",100:"rgba(var(--starasia-ui-raw-color-red-100), 1)",200:"rgba(var(--starasia-ui-raw-color-red-200), 1)",300:"rgba(var(--starasia-ui-raw-color-red-300), 1)",400:"rgba(var(--starasia-ui-raw-color-red-400), 1)",500:"rgba(var(--starasia-ui-raw-color-red-500), 1)",600:"rgba(var(--starasia-ui-raw-color-red-600), 1)",700:"rgba(var(--starasia-ui-raw-color-red-700), 1)",800:"rgba(var(--starasia-ui-raw-color-red-800), 1)",900:"rgba(var(--starasia-ui-raw-color-red-900), 1)"},orange:{50:"rgba(var(--starasia-ui-raw-color-orange-50), 1)",100:"rgba(var(--starasia-ui-raw-color-orange-100), 1)",200:"rgba(var(--starasia-ui-raw-color-orange-200), 1)",300:"rgba(var(--starasia-ui-raw-color-orange-300), 1)",400:"rgba(var(--starasia-ui-raw-color-orange-400), 1)",500:"rgba(var(--starasia-ui-raw-color-orange-500), 1)",600:"rgba(var(--starasia-ui-raw-color-orange-600), 1)",700:"rgba(var(--starasia-ui-raw-color-orange-700), 1)",800:"rgba(var(--starasia-ui-raw-color-orange-800), 1)",900:"rgba(var(--starasia-ui-raw-color-orange-900), 1)"},aloha:{50:"rgba(var(--starasia-ui-raw-color-aloha-50), 1)",100:"rgba(var(--starasia-ui-raw-color-aloha-100), 1)",200:"rgba(var(--starasia-ui-raw-color-aloha-200), 1)",300:"rgba(var(--starasia-ui-raw-color-aloha-300), 1)",400:"rgba(var(--starasia-ui-raw-color-aloha-400), 1)",500:"rgba(var(--starasia-ui-raw-color-aloha-500), 1)",600:"rgba(var(--starasia-ui-raw-color-aloha-600), 1)",700:"rgba(var(--starasia-ui-raw-color-aloha-700), 1)",800:"rgba(var(--starasia-ui-raw-color-aloha-800), 1)",900:"rgba(var(--starasia-ui-raw-color-aloha-900), 1)"},green:{50:"rgba(var(--starasia-ui-raw-color-green-50), 1)",100:"rgba(var(--starasia-ui-raw-color-green-100), 1)",200:"rgba(var(--starasia-ui-raw-color-green-200), 1)",300:"rgba(var(--starasia-ui-raw-color-green-300), 1)",400:"rgba(var(--starasia-ui-raw-color-green-400), 1)",500:"rgba(var(--starasia-ui-raw-color-green-500), 1)",600:"rgba(var(--starasia-ui-raw-color-green-600), 1)",700:"rgba(var(--starasia-ui-raw-color-green-700), 1)",800:"rgba(var(--starasia-ui-raw-color-green-800), 1)",900:"rgba(var(--starasia-ui-raw-color-green-900), 1)"}},main:{primary:{"background-color":"rgb(var(--starasia-ui-raw-color-blue-700))","text-color":"rgb(255, 255, 255)","border-color":"rgb(var(--starasia-ui-raw-color-blue-700))",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-blue-700), 0.9)","border-color":"rgba(var(--starasia-ui-raw-color-blue-700), 0.9)","text-color":"rgb(255, 255, 255)"},active:{"background-color":"rgb(var(--starasia-ui-raw-color-blue-800))","border-color":"rgb(var(--starasia-ui-raw-color-blue-800))","text-color":"rgb(255, 255, 255)",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-blue-300), 0.28)"},disable:{"background-color":"rgba(var(--starasia-ui-raw-color-gray-200), 0.68)","border-color":"rgba(var(--starasia-ui-raw-color-gray-200), 0.68)","text-color":"rgba(var(--starasia-ui-raw-color-gray-500), 0.62)"}},secondary:{"background-color":"rgb(var(--starasia-ui-raw-color-gray-50))","text-color":"rgb(72, 80, 76)","border-color":"rgba(120, 134, 127, 0.2)",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-gray-100), 0.9)","border-color":"rgba(120, 134, 127, 0.2)","text-color":"rgb(72, 80, 76)",shadow:"0px 0px 0px -1px #f0f0f0"},active:{"background-color":"rgba(var(--starasia-ui-raw-color-gray-200), 0.1)","border-color":"rgba(120, 134, 127, 0.2)","text-color":"rgb(72, 80, 76)",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-gray-200), 0.28), 0px 0px 0px -1px #f0f0f0"},disable:{"background-color":"rgba(var(--starasia-ui-raw-color-gray-200), 0.68)","border-color":"rgba(var(--starasia-ui-raw-color-gray-200), 0.68)","text-color":"rgba(var(--starasia-ui-raw-color-gray-500), 0.62)"}},tertiary:{"background-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.21)","text-color":"rgb(var(--starasia-ui-raw-color-blue-700))","border-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.21)",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.3)","border-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.3)","text-color":"rgb(var(--starasia-ui-raw-color-blue-700))",shadow:"0px 0px 0px -1px #f0f0f0"},active:{"background-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.46)","border-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.46)","text-color":"rgb(var(--starasia-ui-raw-color-blue-700))",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-blue-300), 0.28)"},disable:{"background-color":"rgba(var(--starasia-ui-raw-color-blue-200), 0.8)","border-color":"rgba(var(--starasia-ui-raw-color-blue-200), 0.8)","text-color":"rgba(var(--starasia-ui-raw-color-blue-300), 0.5)"}},quaternary:{"background-color":"rgba(255, 255, 255, 0)","text-color":"rgb(var(--starasia-ui-raw-color-blue-700))","border-color":"rgb(var(--starasia-ui-raw-color-blue-700))",hover:{"background-color":"rgba(255, 255, 255, 0)","border-color":"rgba(var(--starasia-ui-raw-color-blue-700), 0.9)","text-color":"rgba(var(--starasia-ui-raw-color-blue-700), 0.9)"},active:{"background-color":"rgb(255, 255, 255)","border-color":"rgb(var(--starasia-ui-raw-color-blue-700))","text-color":"rgb(var(--starasia-ui-raw-color-blue-700))",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-blue-300), 0.28)"},disable:{"background-color":"rgba(255, 255, 255, 0)","border-color":"rgba(var(--starasia-ui-raw-color-gray-500), 0.62)","text-color":"rgba(var(--starasia-ui-raw-color-gray-500), 0.62)"}},link:{"background-color":"rgba(255, 255, 255, 0)","text-color":"rgb(var(--starasia-ui-raw-color-blue-700))","border-color":"rgba(255, 255, 255, 0)",hover:{"background-color":"rgba(255, 255, 255, 0)","border-color":"rgba(255, 255, 255, 0)","text-color":"rgba(var(--starasia-ui-raw-color-blue-900), 0.9)"},active:{"background-color":"rgba(255, 255, 255, 0)","border-color":"rgba(255, 255, 255, 0)","text-color":"rgb(var(--starasia-ui-raw-color-blue-700))"},disable:{"background-color":"rgba(255, 255, 255, 0)","border-color":"rgba(255, 255, 255, 0)","text-color":"rgba(var(--starasia-ui-raw-color-gray-500), 0.62)"}},success:{"background-color":"rgb(var(--starasia-ui-raw-color-green-500))","text-color":"rgb(255, 255, 255)","border-color":"rgb(var(--starasia-ui-raw-color-green-500))",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-green-500), 0.9)","border-color":"rgba(var(--starasia-ui-raw-color-green-500), 0.9)","text-color":"rgb(255, 255, 255)"},active:{"background-color":"rgba(var(--starasia-ui-raw-color-green-600), 0.75)","border-color":"rgba(var(--starasia-ui-raw-color-green-600), 0.75)","text-color":"rgb(255, 255, 255)",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-green-800), 0.28)"},disable:{"background-color":"rgb(var(--starasia-ui-raw-color-gray-400))","border-color":"rgb(var(--starasia-ui-raw-color-gray-400))","text-color":"rgba(120, 134, 127, 0.62)"}},danger:{"background-color":"rgb(var(--starasia-ui-raw-color-red-600))","text-color":"rgb(255, 255, 255)","border-color":"rgb(var(--starasia-ui-raw-color-red-600))",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-red-600), 0.9)","border-color":"rgba(var(--starasia-ui-raw-color-red-600), 0.9)","text-color":"rgb(255, 255, 255)"},active:{"background-color":"rgba(var(--starasia-ui-raw-color-red-800), 0.68)","border-color":"rgba(var(--starasia-ui-raw-color-red-800), 0.68)","text-color":"rgb(255, 255, 255)",shadow:"0px 0px 0px 3px rgba(var(--starasia-ui-raw-color-red-800), 0.28)"},disable:{"background-color":"rgb(var(--starasia-ui-raw-color-red-300))","border-color":"rgb(var(--starasia-ui-raw-color-red-300))","text-color":"rgba(201, 24, 74, 0.3)"}},warning:{"background-color":"rgb(var(--starasia-ui-raw-color-orange-600))","text-color":"rgb(255, 255, 255)","border-color":"rgb(var(--starasia-ui-raw-color-orange-600))",hover:{"background-color":"rgba(var(--starasia-ui-raw-color-orange-600), 0.9)","border-color":"rgba(var(--starasia-ui-raw-color-orange-600), 0.9)","text-color":"rgb(255, 255, 255)"},active:{"background-color":"rgba(var(--starasia-ui-raw-color-orange-800), 0.75)","border-color":"rgba(var(--starasia-ui-raw-color-orange-800), 0.75)","text-color":"rgb(255, 255, 255)",shadow:"0px 0px 0px 2px rgba(var(--starasia-ui-raw-color-orange-800), 0.28)"},disable:{"background-color":"rgb(var(--starasia-ui-raw-color-orange-300))","border-color":"rgb(var(--starasia-ui-raw-color-orange-300))","text-color":"rgb(var(--starasia-ui-raw-color-orange-600))"}}},brand:{primary:{default:"var(--starasia-ui-color-blue-700)",secondary:"var(--starasia-ui-color-blue-300)",tertiary:"var(--starasia-ui-color-blue-50)"},secondary:{default:"var(--starasia-ui-color-pink-700)",secondary:"var(--starasia-ui-color-pink-300)",tertiary:"var(--starasia-ui-color-pink-50)"}},text:{default:"var(--starasia-ui-color-gray-900)",secondary:"var(--starasia-ui-color-gray-700)",tertiary:"var(--starasia-ui-color-gray-500)",disable:"var(--starasia-ui-color-gray-200)",white:"var(--starasia-ui-color-white-900)"},utility:{success:{default:"var(--starasia-ui-color-green-600)",secondary:"var(--starasia-ui-color-green-200)",tertiary:"var(--starasia-ui-color-green-50)"},danger:{default:"var(--starasia-ui-color-red-600)",secondary:"var(--starasia-ui-color-red-200)",tertiary:"var(--starasia-ui-color-red-50)"},warning:{default:"var(--starasia-ui-color-orange-600)",secondary:"var(--starasia-ui-color-orange-200)",tertiary:"var(--starasia-ui-color-orange-50)"},information:{default:"var(--starasia-ui-color-blue-600)",secondary:"var(--starasia-ui-color-blue-200)",tertiary:"var(--starasia-ui-color-blue-50)"},dark:{default:"var(--starasia-ui-color-gray-600)",secondary:"var(--starasia-ui-color-gray-200)",tertiary:"var(--starasia-ui-color-gray-50)"},fill:{default:"rgba(120, 134, 127, 0.2)",secondary:"rgba(120, 134, 127, 0.16)",tertiary:"rgba(120, 134, 127, 0.1)"}}},metrics:{radii:{none:"0",xs:"0.25rem",sm:"0.375rem",md:"0.5rem",lg:"0.75rem",xl:"0.875rem","2xl":"1rem",full:"12rem"},spacing:{0:"0rem",1:"0.063rem",2:"0.125rem",4:"0.25rem",6:"0.375rem",8:"0.5rem",10:"0.625rem",12:"0.75rem",14:"0.875rem",16:"1rem",18:"1.125rem",20:"1.25rem",24:"1.5rem",28:"1.75rem",32:"2rem",36:"2.25rem",40:"2.5rem",48:"3rem",64:"4rem",80:"5rem",96:"6rem",128:"8rem",160:"10rem",192:"12rem",224:"14rem",256:"16rem",xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem","2xl":"2rem","3xl":"4rem"},border:{default:"1px solid var(--starasia-ui-color-border)"},shadows:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",card:"0px 4px 35px 0px rgba(112, 144, 176, 0.25)"}},font:{fontSizes:{xs:"0.625rem",sm:"0.75rem",md:"0.875rem",lg:"1rem",xl:"1.125rem","2xl":"1.25rem","3xl":"1.5rem","4xl":"2rem","5xl":"2.25rem","6xl":"3rem"},fontWeights:{hairline:100,thin:100,light:200,normal:300,medium:400,semibold:500,bold:600,extrabold:700,black:800},lineHeights:{3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"1.875rem",9:"2.25rem",10:"2.5rem",none:1,tight:1.25,snug:1.375,normal:1.5,relaxed:1.625,loose:2}}},br=(o,t)=>{const i={};return Object.keys(o).forEach(s=>{if(o!=null&&o[s]&&typeof(o==null?void 0:o[s])=="object"){i[s]={...o==null?void 0:o[s],...t==null?void 0:t[s],...br(o==null?void 0:o[s],t==null?void 0:t[s])};return}i[s]=(t==null?void 0:t[s])||(o==null?void 0:o[s])}),i};function Y(){const o=k.useContext(H),t=k.useMemo(()=>({...X,...o.theme,...br(X,o.theme)}),[o.theme,X]);return{...o,theme:t}}function Gr(){const{theme:o}=Y();return o.colors}function Hr(){var t;const{theme:o}=Y();return(t=o.metrics)==null?void 0:t.spacing}function Xr(){var t;const{theme:o}=Y();return(t=o.metrics)==null?void 0:t.radii}function qr(){var t;const{theme:o}=Y();return(t=o==null?void 0:o.metrics)==null?void 0:t.shadows}function Zr(o){return o}R.ThemeContext=H,R.ThemeProvider=zr,R.createTheme=Zr,R.useColor=Gr,R.useRadius=Xr,R.useShadow=qr,R.useSpacing=Hr,R.useTheme=Y,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})});
@@ -4,7 +4,7 @@ export interface CardModel {
4
4
  color?: string;
5
5
  width?: string;
6
6
  };
7
- backround?: {
7
+ background?: {
8
8
  color?: string;
9
9
  };
10
10
  box?: {
@@ -72,6 +72,8 @@ export interface Main {
72
72
  primary?: Theme;
73
73
  secondary?: Theme;
74
74
  tertiary?: Theme;
75
+ quaternary?: Theme;
76
+ link?: Theme;
75
77
  success?: Theme;
76
78
  danger?: Theme;
77
79
  warning?: Theme;
@@ -120,11 +122,6 @@ export interface Metrics {
120
122
  spacing?: Spacing;
121
123
  border?: Border;
122
124
  shadows?: Shadows;
123
- borderRadius?: BorderRadius;
124
- }
125
- export interface BorderRadius extends Sizes {
126
- rounded: string;
127
- circular: string;
128
125
  }
129
126
  export interface Radii extends Sizes {
130
127
  none: string;
@@ -185,7 +182,7 @@ export interface Shadows extends Sizes {
185
182
  xl: string;
186
183
  "2xl": string;
187
184
  inner: string;
188
- unnamed: string;
185
+ card: string;
189
186
  }
190
187
  export interface Font {
191
188
  fontSizes?: FontSizes;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@starasia/theme",
3
3
  "author": "Prawito Hudoro",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "description": "Theme component for starasia UI",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -20,8 +20,8 @@
20
20
  "node": ">=18.0.0"
21
21
  },
22
22
  "devDependencies": {
23
- "@starasia/button": "^1.0.0",
24
- "@starasia/text": "1.0.0",
23
+ "@starasia/button": "^1.0.2",
24
+ "@starasia/text": "^1.0.1",
25
25
  "@types/node": "^20.14.2",
26
26
  "@vitejs/plugin-react": "^4.3.1",
27
27
  "tsconfig-paths": "^4.2.0",
@@ -34,13 +34,13 @@
34
34
  "@types/react-dom": "^18.2.19"
35
35
  },
36
36
  "peerDependencies": {
37
- "react": ">=18.2.0",
38
- "react-dom": ">=18.2.0"
37
+ "react": ">=18.0.0 <20.0.0",
38
+ "react-dom": ">=18.0.0 <20.0.0"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
43
  "dependencies": {
44
- "@starasia/css": "1.0.0"
44
+ "@starasia/css": "^1.0.1"
45
45
  }
46
46
  }