@kolking/react-ui 1.5.0 → 1.7.0

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.
Files changed (58) hide show
  1. package/dist/{Input-DbQTM4UI.js → Input-D46mAsdt.js} +1 -1
  2. package/dist/ValidationTooltip-D8d9O6Re.js +31 -0
  3. package/dist/components/Avatar/Avatar.js +29 -20
  4. package/dist/components/Badge/Badge.js +11 -11
  5. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +13 -0
  6. package/dist/components/Breadcrumbs/Breadcrumbs.js +40 -0
  7. package/dist/components/Breadcrumbs/index.d.ts +1 -0
  8. package/dist/components/Breadcrumbs/index.js +4 -0
  9. package/dist/components/Button/Button.js +1 -1
  10. package/dist/components/Dialog/Dialog.d.ts +9 -5
  11. package/dist/components/Dialog/Dialog.js +68 -45
  12. package/dist/components/Dialog/useDialog.d.ts +2 -1
  13. package/dist/components/Dialog/useDialog.js +29 -42
  14. package/dist/components/Dialog/withDialog.d.ts +1 -1
  15. package/dist/components/Fields/Checkbox.js +15 -15
  16. package/dist/components/Fields/Input.js +2 -2
  17. package/dist/components/Fields/Numeric.d.ts +8 -2
  18. package/dist/components/Fields/Numeric.js +22 -22
  19. package/dist/components/Fields/Radio.js +11 -11
  20. package/dist/components/Fields/Range.d.ts +20 -0
  21. package/dist/components/Fields/Range.js +54 -0
  22. package/dist/components/Fields/Select.js +1 -1
  23. package/dist/components/Fields/Switch.js +11 -11
  24. package/dist/components/Fields/Textarea.js +1 -1
  25. package/dist/components/Fields/ValidationTooltip.d.ts +1 -1
  26. package/dist/components/Fields/ValidationTooltip.js +3 -2
  27. package/dist/components/Fields/index.d.ts +1 -0
  28. package/dist/components/Fields/index.js +14 -12
  29. package/dist/components/Heading/Heading.js +12 -12
  30. package/dist/components/Icon/Icon.js +7 -7
  31. package/dist/components/Menu/Menu.d.ts +6 -2
  32. package/dist/components/Menu/Menu.js +57 -51
  33. package/dist/components/Menu/MenuContext.d.ts +1 -0
  34. package/dist/components/Menu/MenuItem.d.ts +2 -3
  35. package/dist/components/Menu/MenuItem.js +23 -29
  36. package/dist/components/Notice/Notice.js +30 -30
  37. package/dist/components/Progress/ProgressBar.js +30 -23
  38. package/dist/components/Progress/ProgressCircular.js +13 -12
  39. package/dist/components/Segmented/Segmented.js +42 -34
  40. package/dist/components/Spinner/Spinner.js +1 -1
  41. package/dist/components/Tag/Tag.js +12 -12
  42. package/dist/components/ToggleButton/ToggleButton.d.ts +15 -1
  43. package/dist/components/ToggleButton/ToggleButton.js +17 -12
  44. package/dist/components/ToggleButton/ToggleGroup.js +34 -31
  45. package/dist/components/Tooltip/Tooltip.d.ts +2 -1
  46. package/dist/components/Tooltip/Tooltip.js +59 -56
  47. package/dist/index.d.ts +1 -0
  48. package/dist/index.js +66 -62
  49. package/dist/styles/_theme-default.scss +36 -35
  50. package/dist/styles/style.css +1 -1
  51. package/dist/styles.module-D1F3R7Vi.js +11 -0
  52. package/dist/utils/helpers.d.ts +1 -1
  53. package/dist/utils/helpers.js +3 -3
  54. package/package.json +3 -1
  55. package/dist/ValidationTooltip-BgSwl0hJ.js +0 -30
  56. package/dist/components/Dialog/DialogFocusTrap.d.ts +0 -2
  57. package/dist/components/Dialog/DialogFocusTrap.js +0 -17
  58. package/dist/styles.module-CUhWny5T.js +0 -11
@@ -1,16 +1,21 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { Button as t } from "../Button/Button.js";
3
- const n = ({ selected: a = !1, role: o, ...r }) => /* @__PURE__ */ i(
4
- t,
5
- {
6
- ...r,
7
- role: o,
8
- "aria-checked": o === "radio" ? a : void 0,
9
- "aria-pressed": o !== "radio" ? a : void 0,
10
- "data-selected": a,
11
- variant: a ? "primary" : "secondary"
12
- }
2
+ import d from "react";
3
+ import { Button as f } from "../Button/Button.js";
4
+ const e = d.forwardRef(
5
+ ({ selected: a = !1, role: o, ...r }, t) => /* @__PURE__ */ i(
6
+ f,
7
+ {
8
+ ...r,
9
+ ref: t,
10
+ role: o,
11
+ "data-toggle-button": !0,
12
+ "data-selected": a,
13
+ variant: a ? "primary" : "secondary",
14
+ "aria-checked": o === "radio" ? a : void 0,
15
+ "aria-pressed": o !== "radio" ? a : void 0
16
+ }
17
+ )
13
18
  );
14
19
  export {
15
- n as ToggleButton
20
+ e as ToggleButton
16
21
  };
@@ -1,43 +1,46 @@
1
- import { jsx as _ } from "react/jsx-runtime";
2
- import e from "react";
3
- import x from "classnames";
4
- import { cssProps as h } from "../../utils/helpers.js";
5
- const k = "ToggleButton_group_yo9Nc", t = {
6
- group: k
7
- }, T = ({
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import t from "react";
3
+ import { Composite as _, CompositeItem as x } from "@floating-ui/react";
4
+ import h from "classnames";
5
+ import { cssProps as k } from "../../utils/helpers.js";
6
+ const B = "ToggleButton_group_yo9Nc", l = {
7
+ group: B
8
+ }, E = ({
8
9
  variant: o = "inline",
9
- selected: l,
10
- disabled: s,
11
- equalWidth: c,
12
- minWidth: p,
13
- maxWidth: i,
10
+ selected: s,
11
+ disabled: p,
12
+ equalWidth: i,
13
+ minWidth: m,
14
+ maxWidth: c,
14
15
  className: n,
15
16
  style: g,
16
- children: m,
17
- onSelect: u,
18
- ...d
17
+ children: u,
18
+ onSelect: d,
19
+ ...a
19
20
  }) => {
20
- const a = o === "block" ? "flex" : void 0, f = c ? "0" : void 0;
21
- return /* @__PURE__ */ _(
22
- "div",
21
+ const f = o === "block" ? "flex" : void 0, y = i ? "0" : void 0;
22
+ return /* @__PURE__ */ e(
23
+ _,
23
24
  {
24
- ...d,
25
+ ...a,
25
26
  role: "radiogroup",
26
27
  "data-toggle-group": !0,
27
- className: x(t.group, t[o], n),
28
- style: { ...g, ...h({ display: a, flexBasis: f, minWidth: p, maxWidth: i }) },
29
- children: e.Children.map(
30
- m,
31
- (y, r) => e.cloneElement(y, {
32
- role: "radio",
33
- disabled: s,
34
- selected: r === l,
35
- onClick: () => u(r)
36
- })
37
- )
28
+ className: h(l.group, l[o], n),
29
+ style: { ...g, ...k({ display: f, flexBasis: y, minWidth: m, maxWidth: c }) },
30
+ children: t.Children.map(u, (C, r) => /* @__PURE__ */ e(
31
+ x,
32
+ {
33
+ render: t.cloneElement(C, {
34
+ role: "radio",
35
+ disabled: p,
36
+ selected: r === s,
37
+ onClick: () => d(r)
38
+ })
39
+ }
40
+ ))
38
41
  }
39
42
  );
40
43
  };
41
44
  export {
42
- T as ToggleGroup
45
+ E as ToggleGroup
43
46
  };
@@ -5,10 +5,11 @@ export type TooltipProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'content'
5
5
  trigger?: Trigger;
6
6
  disabled?: boolean;
7
7
  placement?: Placement;
8
+ anchor?: Element | null;
8
9
  content: React.ReactNode;
9
10
  children: React.JSX.Element;
10
11
  minWidth?: React.CSSProperties['minWidth'];
11
12
  maxWidth?: React.CSSProperties['maxWidth'];
12
13
  };
13
- export declare const Tooltip: ({ trigger, placement, content, disabled, minWidth, maxWidth, className, children, ...props }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const Tooltip: ({ trigger, placement, anchor, content, disabled, minWidth, maxWidth, className, children, ...props }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
14
15
  export {};
@@ -1,78 +1,81 @@
1
- import { jsxs as d, Fragment as M, jsx as i } from "react/jsx-runtime";
2
- import P, { useRef as m, useState as w, useEffect as S } from "react";
3
- import j from "classnames";
4
- import { useFloating as k, offset as C, flip as U, shift as W, arrow as b, autoUpdate as A, useInteractions as B, useDismiss as D, useRole as H, useHover as I, useFocus as V, useClick as $, useMergeRefs as q, FloatingPortal as z, FloatingArrow as G } from "@floating-ui/react";
5
- const J = "Tooltip_tooltip_u1Uix", K = "Tooltip_arrow_NBFiV", L = "Tooltip_content_lfpfM", a = {
6
- tooltip: J,
7
- arrow: K,
8
- content: L
9
- }, ee = ({
1
+ import { jsxs as m, Fragment as S, jsx as a } from "react/jsx-runtime";
2
+ import j, { useRef as w, useState as g, useEffect as R } from "react";
3
+ import k from "classnames";
4
+ import { useFloating as C, offset as U, flip as W, shift as b, arrow as A, autoUpdate as B, useInteractions as D, useDismiss as H, useRole as I, useHover as V, useFocus as $, useClick as q, useMergeRefs as z, FloatingPortal as G, FloatingArrow as J } from "@floating-ui/react";
5
+ const K = "Tooltip_tooltip_u1Uix", L = "Tooltip_arrow_NBFiV", Q = "Tooltip_content_lfpfM", f = {
6
+ tooltip: K,
7
+ arrow: L,
8
+ content: Q
9
+ }, et = ({
10
10
  trigger: r = "hover focus",
11
- placement: f = "top",
12
- content: g,
13
- disabled: l,
14
- minWidth: h,
15
- maxWidth: R,
16
- className: F,
17
- children: t,
18
- ..._
11
+ placement: c = "top",
12
+ anchor: l,
13
+ content: h,
14
+ disabled: i,
15
+ minWidth: F,
16
+ maxWidth: _,
17
+ className: v,
18
+ children: o,
19
+ ...x
19
20
  }) => {
20
- const c = m(null), u = m(null), [p, v] = w(!1), [x, O] = w(!1), { refs: n, context: e, floatingStyles: N } = k({
21
- open: p,
22
- placement: f,
23
- onOpenChange: v,
24
- whileElementsMounted: A,
21
+ const u = w(null), p = w(null), [d, O] = g(!1), [N, P] = g(!1), { refs: t, context: e, floatingStyles: T } = C({
22
+ open: d,
23
+ placement: c,
24
+ onOpenChange: O,
25
+ whileElementsMounted: B,
25
26
  middleware: [
26
- C(8),
27
- U(),
27
+ U(8),
28
28
  W(),
29
- b(({ placement: o, rects: s }) => (O(
30
- s.floating.width < s.reference.width && (o.endsWith("-start") || o.endsWith("-end"))
31
- ), { element: c, padding: 8 }))
29
+ b(),
30
+ A(({ placement: s, rects: n }) => (P(
31
+ n.floating.width < n.reference.width && (s.endsWith("-start") || s.endsWith("-end"))
32
+ ), { element: u, padding: 8 }))
32
33
  ]
33
- }), { getReferenceProps: T, getFloatingProps: y } = B([
34
- D(e),
35
- H(e, { role: "tooltip" }),
36
- I(e, { move: !1, enabled: r.includes("hover") }),
37
- V(e, { enabled: r.includes("focus") }),
38
- $(e, { enabled: r.includes("click") })
39
- ]), E = q([
40
- n.setReference,
41
- "ref" in t ? t.ref : null
34
+ }), { getReferenceProps: y, getFloatingProps: E } = D([
35
+ H(e),
36
+ I(e, { role: "tooltip" }),
37
+ V(e, { move: !1, enabled: r.includes("hover") }),
38
+ $(e, { enabled: r.includes("focus") }),
39
+ q(e, { enabled: r.includes("click") })
40
+ ]), M = z([
41
+ t.setReference,
42
+ "ref" in o ? o.ref : null
42
43
  ]);
43
- return S(() => {
44
- var s;
45
- const o = (s = n.domReference.current) == null ? void 0 : s.closest("[data-floating-root]");
46
- !l && o && (u.current = o);
47
- }, [n, l]), l ? t : /* @__PURE__ */ d(M, { children: [
48
- P.cloneElement(t, T({ ref: E, ...t.props })),
49
- p && /* @__PURE__ */ i(z, { root: u, children: /* @__PURE__ */ d(
44
+ return R(() => {
45
+ var n;
46
+ const s = (n = t.domReference.current) == null ? void 0 : n.closest("[data-floating-root]");
47
+ !i && s && (p.current = s);
48
+ }, [t, i]), R(() => {
49
+ l && t.setPositionReference(l);
50
+ }, [t, l]), i ? o : /* @__PURE__ */ m(S, { children: [
51
+ j.cloneElement(o, y({ ref: M, ...o.props })),
52
+ d && /* @__PURE__ */ a(G, { root: p, children: /* @__PURE__ */ m(
50
53
  "div",
51
54
  {
52
- ..._,
53
- ref: n.setFloating,
54
- "data-tooltip": f,
55
- className: j(a.tooltip, F),
56
- style: { ...N, minWidth: h, maxWidth: R },
57
- ...y(),
55
+ ...x,
56
+ ref: t.setFloating,
57
+ "data-tooltip": c,
58
+ className: k(f.tooltip, v),
59
+ style: { ...T, minWidth: F, maxWidth: _ },
60
+ ...E(),
58
61
  children: [
59
- /* @__PURE__ */ i(
60
- G,
62
+ /* @__PURE__ */ a(
63
+ J,
61
64
  {
62
65
  width: 12,
63
66
  height: 6,
64
- ref: c,
67
+ ref: u,
65
68
  context: e,
66
- className: a.arrow,
67
- staticOffset: x ? 8 : null
69
+ className: f.arrow,
70
+ staticOffset: N ? 8 : null
68
71
  }
69
72
  ),
70
- /* @__PURE__ */ i("div", { className: a.content, children: g })
73
+ /* @__PURE__ */ a("div", { "data-tooltip-content": !0, className: f.content, children: h })
71
74
  ]
72
75
  }
73
76
  ) })
74
77
  ] });
75
78
  };
76
79
  export {
77
- ee as Tooltip
80
+ et as Tooltip
78
81
  };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './components/Avatar';
2
2
  export * from './components/Badge';
3
+ export * from './components/Breadcrumbs';
3
4
  export * from './components/Button';
4
5
  export * from './components/Dialog';
5
6
  export * from './components/Flex';
package/dist/index.js CHANGED
@@ -1,68 +1,72 @@
1
1
  import { Avatar as e } from "./components/Avatar/Avatar.js";
2
2
  import { Badge as p } from "./components/Badge/Badge.js";
3
- import { Button as x } from "./components/Button/Button.js";
4
- import { Dialog as i, DialogClose as a, DialogContent as l, DialogFooter as g, DialogTitle as n } from "./components/Dialog/Dialog.js";
5
- import { useDialog as u } from "./components/Dialog/useDialog.js";
6
- import { withDialog as d } from "./components/Dialog/withDialog.js";
7
- import { Flex as T } from "./components/Flex/Flex.js";
8
- import { Checkbox as B } from "./components/Fields/Checkbox.js";
9
- import { Field as I, FieldDescription as S, FieldLabel as h } from "./components/Fields/Field.js";
10
- import { I as w } from "./Input-DbQTM4UI.js";
11
- import { Numeric as N } from "./components/Fields/Numeric.js";
12
- import { Radio as V } from "./components/Fields/Radio.js";
13
- import { Select as v } from "./components/Fields/Select.js";
14
- import { Switch as G } from "./components/Fields/Switch.js";
15
- import { Textarea as L } from "./components/Fields/Textarea.js";
16
- import { V as j } from "./ValidationTooltip-BgSwl0hJ.js";
17
- import { Heading as y } from "./components/Heading/Heading.js";
18
- import { Icon as E } from "./components/Icon/Icon.js";
19
- import { Menu as K } from "./components/Menu/Menu.js";
20
- import { MenuItem as Q } from "./components/Menu/MenuItem.js";
21
- import { Notice as W } from "./components/Notice/Notice.js";
22
- import { ProgressBar as Y } from "./components/Progress/ProgressBar.js";
23
- import { ProgressCircular as _ } from "./components/Progress/ProgressCircular.js";
24
- import { Segmented as oo } from "./components/Segmented/Segmented.js";
25
- import { Spinner as eo } from "./components/Spinner/Spinner.js";
26
- import { Tag as po } from "./components/Tag/Tag.js";
27
- import { ToggleButton as xo } from "./components/ToggleButton/ToggleButton.js";
28
- import { ToggleGroup as io } from "./components/ToggleButton/ToggleGroup.js";
29
- import { Tooltip as lo } from "./components/Tooltip/Tooltip.js";
30
- import { palette as no } from "./utils/colors.js";
3
+ import { Breadcrumbs as x } from "./components/Breadcrumbs/Breadcrumbs.js";
4
+ import { Button as a } from "./components/Button/Button.js";
5
+ import { Dialog as l, DialogClose as g, DialogContent as n, DialogFooter as s, DialogTitle as u } from "./components/Dialog/Dialog.js";
6
+ import { useDialog as d } from "./components/Dialog/useDialog.js";
7
+ import { withDialog as T } from "./components/Dialog/withDialog.js";
8
+ import { Flex as F } from "./components/Flex/Flex.js";
9
+ import { Checkbox as I } from "./components/Fields/Checkbox.js";
10
+ import { Field as b, FieldDescription as h, FieldLabel as w } from "./components/Fields/Field.js";
11
+ import { I as N } from "./Input-D46mAsdt.js";
12
+ import { Numeric as R } from "./components/Fields/Numeric.js";
13
+ import { Radio as k } from "./components/Fields/Radio.js";
14
+ import { Range as A } from "./components/Fields/Range.js";
15
+ import { Select as H } from "./components/Fields/Select.js";
16
+ import { Switch as j } from "./components/Fields/Switch.js";
17
+ import { Textarea as y } from "./components/Fields/Textarea.js";
18
+ import { V as E } from "./ValidationTooltip-D8d9O6Re.js";
19
+ import { Heading as K } from "./components/Heading/Heading.js";
20
+ import { Icon as Q } from "./components/Icon/Icon.js";
21
+ import { Menu as W } from "./components/Menu/Menu.js";
22
+ import { MenuItem as Y } from "./components/Menu/MenuItem.js";
23
+ import { Notice as _ } from "./components/Notice/Notice.js";
24
+ import { ProgressBar as oo } from "./components/Progress/ProgressBar.js";
25
+ import { ProgressCircular as eo } from "./components/Progress/ProgressCircular.js";
26
+ import { Segmented as po } from "./components/Segmented/Segmented.js";
27
+ import { Spinner as xo } from "./components/Spinner/Spinner.js";
28
+ import { Tag as ao } from "./components/Tag/Tag.js";
29
+ import { ToggleButton as lo } from "./components/ToggleButton/ToggleButton.js";
30
+ import { ToggleGroup as no } from "./components/ToggleButton/ToggleGroup.js";
31
+ import { Tooltip as uo } from "./components/Tooltip/Tooltip.js";
32
+ import { palette as Do } from "./utils/colors.js";
31
33
  export {
32
34
  e as Avatar,
33
35
  p as Badge,
34
- x as Button,
35
- B as Checkbox,
36
- i as Dialog,
37
- a as DialogClose,
38
- l as DialogContent,
39
- g as DialogFooter,
40
- n as DialogTitle,
41
- I as Field,
42
- S as FieldDescription,
43
- h as FieldLabel,
44
- T as Flex,
45
- y as Heading,
46
- E as Icon,
47
- w as Input,
48
- K as Menu,
49
- Q as MenuItem,
50
- W as Notice,
51
- N as Numeric,
52
- Y as ProgressBar,
53
- _ as ProgressCircular,
54
- V as Radio,
55
- oo as Segmented,
56
- v as Select,
57
- eo as Spinner,
58
- G as Switch,
59
- po as Tag,
60
- L as Textarea,
61
- xo as ToggleButton,
62
- io as ToggleGroup,
63
- lo as Tooltip,
64
- j as ValidationTooltip,
65
- no as palette,
66
- u as useDialog,
67
- d as withDialog
36
+ x as Breadcrumbs,
37
+ a as Button,
38
+ I as Checkbox,
39
+ l as Dialog,
40
+ g as DialogClose,
41
+ n as DialogContent,
42
+ s as DialogFooter,
43
+ u as DialogTitle,
44
+ b as Field,
45
+ h as FieldDescription,
46
+ w as FieldLabel,
47
+ F as Flex,
48
+ K as Heading,
49
+ Q as Icon,
50
+ N as Input,
51
+ W as Menu,
52
+ Y as MenuItem,
53
+ _ as Notice,
54
+ R as Numeric,
55
+ oo as ProgressBar,
56
+ eo as ProgressCircular,
57
+ k as Radio,
58
+ A as Range,
59
+ po as Segmented,
60
+ H as Select,
61
+ xo as Spinner,
62
+ j as Switch,
63
+ ao as Tag,
64
+ y as Textarea,
65
+ lo as ToggleButton,
66
+ no as ToggleGroup,
67
+ uo as Tooltip,
68
+ E as ValidationTooltip,
69
+ Do as palette,
70
+ d as useDialog,
71
+ T as withDialog
68
72
  };
@@ -5,10 +5,11 @@ $font-family: (
5
5
  );
6
6
 
7
7
  $font-weight: (
8
- normal: 400,
9
- medium: 600,
10
- bold: 700,
11
- black: 800,
8
+ normal: 400,
9
+ medium: 600,
10
+ bold: 700,
11
+ black: 800,
12
+ heading: 700,
12
13
  );
13
14
 
14
15
  $font-size: (
@@ -66,11 +67,11 @@ $ease-out-bounce: cubic-bezier(0.1, 1.3, 0.7, 1.1);
66
67
  $light-colors: (
67
68
  black: #000000,
68
69
  white: #FFFFFF,
69
- fg: #191919,
70
+ fg: #101010,
70
71
  bg: #FFFFFF,
72
+ input: #FFFFFF,
71
73
  popup: #FFFFFF,
72
74
  dialog: #FFFFFF,
73
- input: #FFFFFF,
74
75
  backdrop: rgb(0 0 0 / 50%),
75
76
  focus: var(--color-accent-400),
76
77
  link: var(--color-blue-500),
@@ -79,28 +80,28 @@ $light-colors: (
79
80
  );
80
81
 
81
82
  $dark-colors: (
82
- fg: #E6E6E6,
83
- bg: #161616,
84
- popup: #262626,
83
+ fg: #F0F0F0,
84
+ bg: #131313,
85
+ input: #0C0C0C,
86
+ popup: #202020,
85
87
  dialog: #191919,
86
- input: #101010,
87
- backdrop: rgb(0 0 0 / 65%),
88
+ backdrop: rgb(0 0 0 / 70%),
88
89
  );
89
90
 
90
91
  $light-palette: (
91
92
  colors: (
92
- gray: #8E8E99,
93
- red: #FF3B30,
94
- orange: #FF9500,
95
- yellow: #FFCC00,
96
- green: #34C759,
97
- teal: #30B0C7,
98
- cyan: #32ADE6,
99
- blue: #007AFF,
100
- indigo: #5856D6,
101
- purple: #AF52DE,
102
- brown: #A2845E,
103
- accent: #007AFF,
93
+ gray: #8D8D96,
94
+ brown: #A08060,
95
+ red: #F03020,
96
+ orange: #FF8000,
97
+ yellow: #FFBB00,
98
+ green: #20B610,
99
+ teal: #30B0C0,
100
+ cyan: #30B0F0,
101
+ blue: #0070F7,
102
+ indigo: #6056ED,
103
+ purple: #A949D9,
104
+ accent: #0070F7,
104
105
  ),
105
106
  tints: (
106
107
  50: 95%,
@@ -117,18 +118,18 @@ $light-palette: (
117
118
 
118
119
  $dark-palette: (
119
120
  colors: (
120
- gray: #737380,
121
- red: #FF453A,
122
- orange: #FF9E0B,
123
- yellow: #FED709,
124
- green: #31D158,
125
- teal: #40C8E0,
126
- cyan: #64D3FF,
127
- blue: #0B84FF,
128
- indigo: #5E5CE6,
129
- purple: #BF5AF2,
130
- brown: #AC8E68,
131
- accent: #0B84FF,
121
+ gray: #656573,
122
+ brown: #A08060,
123
+ red: #F03020,
124
+ orange: #FF8000,
125
+ yellow: #FFBB00,
126
+ green: #20B610,
127
+ teal: #30B0C0,
128
+ cyan: #30B0F0,
129
+ blue: #0080FF,
130
+ indigo: #7369FF,
131
+ purple: #B353E3,
132
+ accent: #0080FF,
132
133
  ),
133
134
  tints: (
134
135
  50: 95%,