@rovula/ui 0.0.46 → 0.0.48

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 (67) hide show
  1. package/dist/cjs/bundle.css +49 -28
  2. package/dist/cjs/bundle.js +3 -3
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/components/Switch/Switch.stories.d.ts +1 -6
  5. package/dist/cjs/types/components/Table/Table.d.ts +1 -0
  6. package/dist/cjs/types/components/Table/Table.stories.d.ts +2 -0
  7. package/dist/cjs/types/components/Tree/Tree.d.ts +45 -0
  8. package/dist/cjs/types/components/Tree/Tree.stories.d.ts +5 -0
  9. package/dist/components/Switch/Switch.js +15 -1
  10. package/dist/components/Switch/Switch.stories.js +2 -7
  11. package/dist/components/Table/Table.js +2 -2
  12. package/dist/components/Tree/Tree.js +138 -0
  13. package/dist/components/Tree/Tree.stories.js +53 -0
  14. package/dist/esm/bundle.css +49 -28
  15. package/dist/esm/bundle.js +2 -2
  16. package/dist/esm/bundle.js.map +1 -1
  17. package/dist/esm/types/components/Switch/Switch.stories.d.ts +1 -6
  18. package/dist/esm/types/components/Table/Table.d.ts +1 -0
  19. package/dist/esm/types/components/Table/Table.stories.d.ts +2 -0
  20. package/dist/esm/types/components/Tree/Tree.d.ts +45 -0
  21. package/dist/esm/types/components/Tree/Tree.stories.d.ts +5 -0
  22. package/dist/index.d.ts +1 -0
  23. package/dist/src/theme/global.css +1264 -37
  24. package/dist/theme/global.css +1 -0
  25. package/dist/theme/themes/SKL/baseline.css +12 -0
  26. package/dist/theme/themes/SKL/color.css +78 -0
  27. package/dist/theme/themes/SKL/components/action-button.css +127 -0
  28. package/dist/theme/themes/SKL/components/button.css +512 -0
  29. package/dist/theme/themes/SKL/components/dropdown-menu.css +27 -0
  30. package/dist/theme/themes/SKL/components/loading.css +11 -0
  31. package/dist/theme/themes/SKL/components/navbar.css +8 -0
  32. package/dist/theme/themes/SKL/components/progress-bar.css +8 -0
  33. package/dist/theme/themes/SKL/components/switch.css +30 -0
  34. package/dist/theme/themes/SKL/palette.css +145 -0
  35. package/dist/theme/themes/SKL/state.css +86 -0
  36. package/dist/theme/themes/SKL/transparent.css +68 -0
  37. package/dist/theme/themes/SKL/typography.css +199 -0
  38. package/dist/theme/themes/SKL/variables.css +28 -0
  39. package/dist/theme/themes/xspector/baseline.css +1 -0
  40. package/dist/theme/themes/xspector/components/switch.css +30 -0
  41. package/dist/theme/tokens/baseline.css +2 -1
  42. package/dist/theme/tokens/components/switch.css +30 -0
  43. package/package.json +1 -1
  44. package/src/components/Switch/Switch.stories.tsx +2 -7
  45. package/src/components/Switch/Switch.tsx +37 -9
  46. package/src/components/Table/Table.tsx +7 -2
  47. package/src/components/Tree/Tree.stories.tsx +66 -0
  48. package/src/components/Tree/Tree.tsx +331 -0
  49. package/src/theme/global.css +1 -0
  50. package/src/theme/themes/SKL/baseline.css +12 -0
  51. package/src/theme/themes/SKL/color.css +78 -0
  52. package/src/theme/themes/SKL/components/action-button.css +127 -0
  53. package/src/theme/themes/SKL/components/button.css +512 -0
  54. package/src/theme/themes/SKL/components/dropdown-menu.css +27 -0
  55. package/src/theme/themes/SKL/components/loading.css +11 -0
  56. package/src/theme/themes/SKL/components/navbar.css +8 -0
  57. package/src/theme/themes/SKL/components/progress-bar.css +8 -0
  58. package/src/theme/themes/SKL/components/switch.css +30 -0
  59. package/src/theme/themes/SKL/palette.css +145 -0
  60. package/src/theme/themes/SKL/state.css +86 -0
  61. package/src/theme/themes/SKL/transparent.css +68 -0
  62. package/src/theme/themes/SKL/typography.css +199 -0
  63. package/src/theme/themes/SKL/variables.css +28 -0
  64. package/src/theme/themes/xspector/baseline.css +1 -0
  65. package/src/theme/themes/xspector/components/switch.css +30 -0
  66. package/src/theme/tokens/baseline.css +2 -1
  67. package/src/theme/tokens/components/switch.css +30 -0
@@ -0,0 +1,8 @@
1
+ :root[data-theme="SKL"] {
2
+ /* Navbar */
3
+ --navbar-height: 58px;
4
+ --navbar-bg-color: var(--primary-default);
5
+ --navbar-text-color: var(--primary-foreground);
6
+ --navbar-border-color: var(--primary-foreground);
7
+ --navbar-gap: 16px;
8
+ }
@@ -0,0 +1,8 @@
1
+ :root[data-theme="SKL"] {
2
+ /* Navbar */
3
+ --navbar-height: 58px;
4
+ --navbar-bg-color: var(--primary-default);
5
+ --navbar-text-color: var(--primary-foreground);
6
+ --navbar-border-color: var(--primary-foreground);
7
+ --navbar-gap: 16px;
8
+ }
@@ -0,0 +1,30 @@
1
+ :root[data-theme="SKL"] {
2
+ /* ------------------------------------------------------------------ */
3
+ /* Switch Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[element]-[state]-[property] */
6
+ /* Element: [progress, track] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ /* Default State */
10
+ --switch-default-color: rgb(from var(--state-color-tertiary-active) r g b / 0.32);
11
+ --switch-thumb-default-color: var(--state-color-tertiary-active);
12
+
13
+ /* Hover State */
14
+ --switch-hover-color: rgb(from var(--state-color-tertiary-active) r g b / 0.48);
15
+ --switch-thumb-hover-color: var(--switch-thumb-default-color);
16
+ --switch-thumb-hover-ring: var(--state-color-tertiary-hover-bg);
17
+
18
+ /* Active State */
19
+ --switch-active-color: rgb(from var(--state-color-secondary-default) r g b / 0.32);
20
+ --switch-thumb-active-color: var(--state-color-secondary-default);
21
+
22
+ /* Active Hover State */
23
+ --switch-active-hover-color: rgb(from var(--state-color-secondary-default) r g b / 0.48);
24
+ --switch-thumb-active-hover-color: var(--switch-thumb-active-color);
25
+ --switch-thumb-active-hover-ring: var(--state-color-secondary-hover-bg);
26
+
27
+ /* Disabled State */
28
+ --switch-disabled-color: rgb(from var(--state-color-disable-solid) r g b / 0.32);
29
+ --switch-thumb-disabled-color: var(--state-color-disable-solid)
30
+ }
@@ -0,0 +1,145 @@
1
+
2
+ :root[data-theme="SKL"]{
3
+
4
+
5
+
6
+ --primary-ramps-primary-5: #eff6ff;
7
+ --primary-ramps-primary-10: #dbeafe;
8
+ --primary-ramps-primary-20: #bfdbfe;
9
+ --primary-ramps-primary-30: #93c5fd;
10
+ --primary-ramps-primary-40: #60a5fa;
11
+ --primary-ramps-primary-50: #3b82f6;
12
+ --primary-ramps-primary-60: #2563eb;
13
+ --primary-ramps-primary-70: #1d4ed8;
14
+ --primary-ramps-primary-80: #1e40af;
15
+ --primary-ramps-primary-90: #1e3a8a;
16
+ /* --primary-ramps-primary-100: #ddcd00;
17
+ --primary-ramps-primary-110: #c7b800;
18
+ --primary-ramps-primary-120: #b1a400;
19
+ --primary-ramps-primary-130: #9b8f00;
20
+ --primary-ramps-primary-140: #857b00;
21
+ --primary-ramps-primary-150: #6f6700; */
22
+
23
+
24
+ --secondary-ramps-secondary-5: #ecfeff;
25
+ --secondary-ramps-secondary-10: #cffafe;
26
+ --secondary-ramps-secondary-20: #a5f3fc;
27
+ --secondary-ramps-secondary-30: #67e8f9;
28
+ --secondary-ramps-secondary-40: #22d3ee;
29
+ --secondary-ramps-secondary-50: #06b6d4;
30
+ --secondary-ramps-secondary-60: #0891b2;
31
+ --secondary-ramps-secondary-70: #0e7490;
32
+ --secondary-ramps-secondary-80: #155e75;
33
+ --secondary-ramps-secondary-90: #164e63;
34
+ /* --secondary-ramps-secondary-100: #9e9e9e;
35
+ --secondary-ramps-secondary-110: #8e8e8e;
36
+ --secondary-ramps-secondary-120: #7e7e7e;
37
+ --secondary-ramps-secondary-130: #6f6f6f;
38
+ --secondary-ramps-secondary-140: #5f5f5f;
39
+ --secondary-ramps-secondary-150: #4f4f4f; */
40
+
41
+
42
+ --tertiary-ramps-tertiary-5: #FAFAFA;
43
+ --tertiary-ramps-tertiary-10: #F5F5F5;
44
+ --tertiary-ramps-tertiary-20: #ECECEC;
45
+ --tertiary-ramps-tertiary-30: #E2E2E2;
46
+ --tertiary-ramps-tertiary-40: #D8D8D8;
47
+ --tertiary-ramps-tertiary-50: #CFCFCF;
48
+ --tertiary-ramps-tertiary-60: #C5C5C5;
49
+ --tertiary-ramps-tertiary-70: #BBB;
50
+ --tertiary-ramps-tertiary-80: #B1B1B1;
51
+ --tertiary-ramps-tertiary-90: #A8A8A8;
52
+ --tertiary-ramps-tertiary-100: #9E9E9E;
53
+ --tertiary-ramps-tertiary-110: #8E8E8E;
54
+ --tertiary-ramps-tertiary-120: #7E7E7E;
55
+ --tertiary-ramps-tertiary-130: #6F6F6F;
56
+ --tertiary-ramps-tertiary-140: #5F5F5F;
57
+ --tertiary-ramps-tertiary-150: #4F4F4F;
58
+
59
+ --grey-grey-5: #fafafa;
60
+ --grey-grey-10: #f5f5f5;
61
+ --grey-grey-20: #ececec;
62
+ --grey-grey-30: #e2e2e2;
63
+ --grey-grey-40: #d8d8d8;
64
+ --grey-grey-50: #cfcfcf;
65
+ --grey-grey-60: #c5c5c5;
66
+ --grey-grey-70: #bbbbbb;
67
+ --grey-grey-80: #b1b1b1;
68
+ --grey-grey-90: #a8a8a8;
69
+ --grey-grey-100: #9e9e9e;
70
+ --grey-grey-110: #8e8e8e;
71
+ --grey-grey-120: #7e7e7e;
72
+ --grey-grey-130: #6f6f6f;
73
+ --grey-grey-140: #5f5f5f;
74
+ --grey-grey-150: #4f4f4f;
75
+
76
+ --grey2-grey2-50: #f8fafa;
77
+ --grey2-grey2-100: #f2f5f5;
78
+ --grey2-grey2-200: #e7ebed;
79
+ --grey2-grey2-300: #d3dadf;
80
+ --grey2-grey2-400: #bac5cb;
81
+ --grey2-grey2-500: #9dabb5;
82
+ --grey2-grey2-600: #919eab;
83
+ --grey2-grey2-700: #72808f;
84
+ --grey2-grey2-800: #606b77;
85
+ --grey2-grey2-900: #4f5863;
86
+ --grey2-grey2-950: #343b41;
87
+
88
+ --purple-900: #;
89
+ --purple-800: #;
90
+ --purple-700: #;
91
+ --purple-600: #;
92
+ --purple-500: #;
93
+ --purple-400: #;
94
+ --purple-300: #;
95
+ --purple-200: #;
96
+ --purple-100: #;
97
+ --purple-50: #;
98
+
99
+ --info-info-50: #f5f3ff;
100
+ --info-info-100: #ede9fe;
101
+ --info-info-200: #ddd6fe;
102
+ --info-info-300: #c4b5fd;
103
+ --info-info-400: #a78bfa;
104
+ --info-info-500: #8b5cf6;
105
+ --info-info-600: #7c3aed;
106
+ --info-info-700: #6d28d9;
107
+ --info-info-800: #5b21b6;
108
+ --info-info-900: #4c1d95;
109
+ /* --info-info-950: #142c57; */
110
+
111
+ --success-success-50: #effce9;
112
+ --success-success-100: #daf9ce;
113
+ --success-success-200: #b8f3a3;
114
+ --success-success-300: #8ce86e;
115
+ --success-success-400: #54d62c;
116
+ --success-success-500: #44c022;
117
+ --success-success-600: #319917;
118
+ --success-success-700: #277516;
119
+ --success-success-800: #235d17;
120
+ --success-success-900: #214f18;
121
+ --success-success-950: #0c2b08;
122
+
123
+ --warning-warning-50: #ffffea;
124
+ --warning-warning-100: #fffbc5;
125
+ --warning-warning-200: #fff885;
126
+ --warning-warning-300: #ffee46;
127
+ --warning-warning-400: #ffdf1b;
128
+ --warning-warning-500: #ffc107;
129
+ --warning-warning-600: #e29400;
130
+ --warning-warning-700: #bb6902;
131
+ --warning-warning-800: #985108;
132
+ --warning-warning-900: #7c420b;
133
+ --warning-warning-950: #482200;
134
+ --error-error-50: #fff3f1;
135
+ --error-error-100: #ffe3df;
136
+ --error-error-200: #ffccc5;
137
+ --error-error-300: #ffa99d;
138
+ --error-error-400: #ff7664;
139
+ --error-error-500: #ff4d35;
140
+ --error-error-600: #ed2f15;
141
+ --error-error-700: #c8230d;
142
+ --error-error-800: #a5210f;
143
+ --error-error-900: #882214;
144
+ --error-error-950: #4b0c04;
145
+ }
@@ -0,0 +1,86 @@
1
+
2
+ :root[data-theme="SKL"] {
3
+ /* ------------------------------------------------------------------ */
4
+ /* State Tokens */
5
+ /* ------------------------------------------------------------------ */
6
+ /* Naming Convention: --state-color-[theme]-[element?]-[state] */
7
+ /* States: [default, hover, pressed, disabled] */
8
+
9
+ --state-color-primary-default: #2563eb;
10
+ --state-color-primary-hover: #60a5fa;
11
+ --state-color-primary-stroke: rgba(37, 99, 235, 0.64); /* No change in design system. */
12
+ --state-color-primary-hover-bg: rgba(96, 165, 250, 0.08); /* No change in design system. */
13
+ --state-color-primary-pressed: #1e40af;
14
+ --state-color-primary-active: #1e3a8a;
15
+ --state-color-primary-text-solid: #ffffff;
16
+ --state-color-primary-text-outline: #2563eb; /* No change in design system. */
17
+ --state-color-primary-text-hover: #60a5fa; /* No change in design system. */
18
+ --state-color-primary-text-pressed: #1e40af; /* No change in design system. */
19
+
20
+ --state-color-secondary-default: #0891b2;
21
+ --state-color-secondary-hover: #22d3ee;
22
+ --state-color-secondary-stroke: rgba(8, 145, 178, 0.64); /* No change in design system. */
23
+ --state-color-secondary-hover-bg: rgba(34, 211, 238, 0.08); /* No change in design system. */
24
+ --state-color-secondary-pressed: #155e75;
25
+ --state-color-secondary-active: #164e63;
26
+ --state-color-secondary-text-solid: #ffffff;
27
+ --state-color-secondary-text-outline: #0891b2; /* No change in design system. */
28
+ --state-color-secondary-text-hover: #22d3ee; /* No change in design system. */
29
+ --state-color-secondary-text-pressed: #155e75; /* No change in design system. */
30
+
31
+ --state-color-tertiary-default: #4f4f4f;
32
+ --state-color-tertiary-hover: #6f6f6f;
33
+ --state-color-tertiary-stroke: rgba(79 79 79 / 0.48); /* No in design system. -default */
34
+ --state-color-tertiary-hover-bg: rgba(158 158 158 / 0.08); /* No in design system. -hover */
35
+ --state-color-tertiary-pressed: #b1b1b1;
36
+ --state-color-tertiary-active: #6f6f6f;
37
+ --state-color-tertiary-text-solid: #ffffff;
38
+ --state-color-tertiary-text-outline: #4f4f4f;
39
+ --state-color-tertiary-text-hover: #6f6f6f;
40
+ --state-color-tertiary-text-pressed: #b1b1b1;
41
+
42
+ --state-color-info-default: #8b5cf6;
43
+ --state-color-info-hover: #c4b5fd; /* No in design system. info-300 */
44
+ --state-color-info-stroke: rgba(139, 92, 246, 0.48);
45
+ --state-color-info-hover-bg: rgba(196, 181, 253, 0.08);
46
+ --state-color-info-pressed: #6d28d9; /* No in design system. info-700 */
47
+ --state-color-info-active: #c4b5fd; /* No in design system. info-300 */
48
+ --state-color-info-text-solid: #ffffff;
49
+ --state-color-info-text-outline: #8b5cf6;
50
+ --state-color-info-text-hover: #c4b5fd; /* No in design system. info-300 */
51
+ --state-color-info-text-pressed: #6d28d9; /* No in design system. info-700 */
52
+
53
+ --state-color-success-default: #319917;
54
+ --state-color-success-hover: #44c022;
55
+ --state-color-success-stroke: rgba(68 192 34 / 0.48); /* No in design system. -default */
56
+ --state-color-success-hover-bg: rgba(84 214 44 / 0.08); /* No in design system. -hover */
57
+ --state-color-success-pressed: #235d17;
58
+ --state-color-success-active: #44c022;
59
+ --state-color-success-text-solid: #ffffff;
60
+ --state-color-success-text-outline: #319917;
61
+ --state-color-success-text-hover: #44c022;
62
+ --state-color-success-text-pressed: #235d17;
63
+ --state-color-warning-default: #ffc107;
64
+ --state-color-warning-hover: #ffdf1b;
65
+ --state-color-warning-stroke: rgba(255 223 27 / 0.48); /* No in design system. -default */
66
+ --state-color-warning-hover-bg: rgba(255 193 7 / 0.08); /* No in design system. -hover */
67
+ --state-color-warning-pressed: #985108;
68
+ --state-color-warning-active: #ffc107;
69
+ --state-color-warning-text-solid: #1e3249;
70
+ --state-color-warning-text-outline: #ffc107;
71
+ --state-color-warning-text-hover: #ffdf1b;
72
+ --state-color-warning-text-pressed: #985108;
73
+ --state-color-error-default: #ed2f15;
74
+ --state-color-error-hover: #ff4d35;
75
+ --state-color-error-stroke: rgba(237 47 21 / 0.64); /* No in design system. -default */
76
+ --state-color-error-hover-bg: rgba(255 77 53 / 0.08); /* No in design system. -hover */
77
+ --state-color-error-pressed: #a5210f;
78
+ --state-color-error-active: #ff4d35;
79
+ --state-color-error-text-solid: #ffffff;
80
+ --state-color-error-text-outline: #ed2f15;
81
+ --state-color-error-text-hover: #ff4d35;
82
+ --state-color-error-text-pressed: #a5210f;
83
+ --state-color-disable-solid: #d3dadf;
84
+ --state-color-disable-outline: #9dabb5;
85
+ }
86
+
@@ -0,0 +1,68 @@
1
+ :root[data-theme="SKL"] {
2
+ --main-transparency-primary-8: rgba(30 50 73 / 0.08);
3
+ --main-transparency-primary-12: rgba(30 50 73 / 0.12);
4
+ --main-transparency-primary-16: rgba(30 50 73 / 0.16);
5
+ --main-transparency-primary-24: rgba(30 50 73 / 0.24);
6
+ --main-transparency-primary-32: rgba(30 50 73 / 0.32);
7
+ --main-transparency-primary-48: rgba(30 50 73 / 0.48);
8
+ --main-transparency-secondary-8: rgba(221 205 0 / 0.08);
9
+ --main-transparency-secondary-12: rgba(221 205 0 / 0.12);
10
+ --main-transparency-secondary-16: rgba(221 205 0 / 0.16);
11
+ --main-transparency-secondary-24: rgba(221 205 0 / 0.24);
12
+ --main-transparency-secondary-32: rgba(221 205 0 / 0.32);
13
+ --main-transparency-secondary-48: rgba(221 205 0 / 0.48);
14
+ --main-transparency-tertiary-8: rgba(158 158 158 / 0.08);
15
+ --main-transparency-tertiary-12: rgba(158 158 158 / 0.12);
16
+ --main-transparency-tertiary-16: rgba(158 158 158 / 0.16);
17
+ --main-transparency-tertiary-24: rgba(158 158 158 / 0.24);
18
+ --main-transparency-tertiary-32: rgba(158 158 158 / 0.32);
19
+ --main-transparency-tertiary-48: rgba(158 158 158 / 0.48);
20
+ --other-transparency-info-8: rgba(41 152 255 / 0.08);
21
+ --other-transparency-info-12: rgba(41 152 255 / 0.12);
22
+ --other-transparency-info-16: rgba(41 152 255 / 0.16);
23
+ --other-transparency-info-24: rgba(41 152 255 / 0.24);
24
+ --other-transparency-info-32: rgba(41 152 255 / 0.32);
25
+ --other-transparency-info-48: rgba(41 152 255 / 0.48);
26
+ --other-transparency-success-8: rgba(84 214 44 / 0.08);
27
+ --other-transparency-success-12: rgba(84 214 44 / 0.12);
28
+ --other-transparency-success-16: rgba(84 214 44 / 0.16);
29
+ --other-transparency-success-24: rgba(84 214 44 / 0.24);
30
+ --other-transparency-success-32: rgba(84 214 44 / 0.32);
31
+ --other-transparency-success-48: rgba(84 214 44 / 0.48);
32
+ --other-transparency-warning-8: rgba(255 193 7 / 0.08);
33
+ --other-transparency-warning-12: rgba(255 193 7 / 0.12);
34
+ --other-transparency-warning-16: rgba(255 193 7 / 0.16);
35
+ --other-transparency-warning-24: rgba(255 193 7 / 0.24);
36
+ --other-transparency-warning-32: rgba(255 193 7 / 0.32);
37
+ --other-transparency-warning-48: rgba(255 193 7 / 0.48);
38
+ --other-transparency-error-8: rgba(255 72 66 / 0.08);
39
+ --other-transparency-error-12: rgba(255 72 66 / 0.12);
40
+ --other-transparency-error-16: rgba(255 72 66 / 0.16);
41
+ --other-transparency-error-24: rgba(255 72 66 / 0.24);
42
+ --other-transparency-error-32: rgba(255 72 66 / 0.32);
43
+ --other-transparency-error-48: rgba(255 72 66 / 0.48);
44
+ --other-transparency-grey-8: rgba(158 158 158 / 0.08);
45
+ --other-transparency-grey-12: rgba(158 158 158 / 0.12);
46
+ --other-transparency-grey-16: rgba(158 158 158 / 0.16);
47
+ --other-transparency-grey-24: rgba(158 158 158 / 0.24);
48
+ --other-transparency-grey-32: rgba(158 158 158 / 0.32);
49
+ --other-transparency-grey-48: rgba(158 158 158 / 0.48);
50
+ --other-transparency-grey2-8: rgba(145 158 171 / 0.08);
51
+ --other-transparency-grey2-12: rgba(145 158 171 / 0.12);
52
+ --other-transparency-grey2-16: rgba(145 158 171 / 0.16);
53
+ --other-transparency-grey2-24: rgba(145 158 171 / 0.24);
54
+ --other-transparency-grey2-32: rgba(145 158 171 / 0.32);
55
+ --other-transparency-grey2-48: rgba(145 158 171 / 0.48);
56
+ --other-transparency-white-8: rgba(255 255 255 / 0.08);
57
+ --other-transparency-white-12: rgba(255 255 255 / 0.12);
58
+ --other-transparency-white-16: rgba(255 255 255 / 0.16);
59
+ --other-transparency-white-24: rgba(255 255 255 / 0.24);
60
+ --other-transparency-white-32: rgba(255 255 255 / 0.32);
61
+ --other-transparency-white-48: rgba(255 255 255 / 0.48);
62
+ --other-transparency-black-8: rgba(0 0 0 / 0.08);
63
+ --other-transparency-black-12: rgba(0 0 0 / 0.12);
64
+ --other-transparency-black-16: rgba(0 0 0 / 0.16);
65
+ --other-transparency-black-24: rgba(0 0 0 / 0.24);
66
+ --other-transparency-black-32: rgba(0 0 0 / 0.32);
67
+ --other-transparency-black-48: rgba(0 0 0 / 0.48);
68
+ }
@@ -0,0 +1,199 @@
1
+ :root[data-theme="SKL"] {
2
+ /* TYPE */
3
+ --h1-family: "Montserrat";
4
+ --h1-size: 64px;
5
+ --h1-size-rem: 4rem;
6
+ --h1-weight: 700;
7
+ --h1-style: normal;
8
+ --h1-line-height: 80px;
9
+ --h1-line-height-rem: 5rem;
10
+ --h2-family: "Montserrat";
11
+ --h2-size: 48px;
12
+ --h2-size-rem: 3rem;
13
+ --h2-weight: 700;
14
+ --h2-style: normal;
15
+ --h2-line-height: 60px;
16
+ --h2-line-height-rem: 3.75rem;
17
+ --h3-family: "Montserrat";
18
+ --h3-size: 32px;
19
+ --h3-size-rem: 2rem;
20
+ --h3-weight: 700;
21
+ --h3-style: normal;
22
+ --h3-line-height: 48px;
23
+ --h3-line-height-rem: 3rem;
24
+ --h4-family: "Montserrat";
25
+ --h4-size: 24px;
26
+ --h4-size-rem: 1.5rem;
27
+ --h4-weight: 700;
28
+ --h4-style: normal;
29
+ --h4-line-height: 32px;
30
+ --h4-line-height-rem: 2rem;
31
+ --h5-family: "Montserrat";
32
+ --h5-size: 20px;
33
+ --h5-size-rem: 1.25rem;
34
+ --h5-weight: 700;
35
+ --h5-style: normal;
36
+ --h5-line-height: 28px;
37
+ --h5-line-height-rem: 1.75rem;
38
+ --h6-family: "Montserrat";
39
+ --h6-size: 18px;
40
+ --h6-size-rem: 1.125rem;
41
+ --h6-weight: 700;
42
+ --h6-style: normal;
43
+ --h6-line-height: 24px;
44
+ --h6-line-height-rem: 1.5rem;
45
+ --subtitle1-family: "Montserrat";
46
+ --subtitle1-size: 16px;
47
+ --subtitle1-size-rem: 1rem;
48
+ --subtitle1-weight: 400;
49
+ --subtitle1-style: normal;
50
+ --subtitle1-line-height: 24px;
51
+ --subtitle1-line-height-rem: 1.5rem;
52
+ --subtitle2-family: "Montserrat";
53
+ --subtitle2-size: 16px;
54
+ --subtitle2-size-rem: 1rem;
55
+ --subtitle2-weight: 500;
56
+ --subtitle2-style: normal;
57
+ --subtitle2-line-height: 24px;
58
+ --subtitle2-line-height-rem: 1.5rem;
59
+ --subtitle3-family: "Montserrat";
60
+ --subtitle3-size: 16px;
61
+ --subtitle3-size-rem: 1rem;
62
+ --subtitle3-weight: 600;
63
+ --subtitle3-style: normal;
64
+ --subtitle3-line-height: 24px;
65
+ --subtitle3-line-height-rem: 1.5rem;
66
+ --subtitle4-family: "Montserrat";
67
+ --subtitle4-size: 14px;
68
+ --subtitle4-size-rem: 0.875rem;
69
+ --subtitle4-weight: 400;
70
+ --subtitle4-style: normal;
71
+ --subtitle4-line-height: 22px;
72
+ --subtitle4-line-height-rem: 1.375rem;
73
+ --subtitle5-family: "Montserrat";
74
+ --subtitle5-size: 14px;
75
+ --subtitle5-size-rem: 0.875rem;
76
+ --subtitle5-weight: 500;
77
+ --subtitle5-style: normal;
78
+ --subtitle5-line-height: 22px;
79
+ --subtitle5-line-height-rem: 1.375rem;
80
+ --subtitle6-family: "Montserrat";
81
+ --subtitle6-size: 14px;
82
+ --subtitle6-size-rem: 0.875rem;
83
+ --subtitle6-weight: 600;
84
+ --subtitle6-style: normal;
85
+ --subtitle6-line-height: 22px;
86
+ --subtitle6-line-height-rem: 1.375rem;
87
+ --body1-family: "Montserrat";
88
+ --body1-size: 16px;
89
+ --body1-size-rem: 1rem;
90
+ --body1-weight: 400;
91
+ --body1-style: normal;
92
+ --body1-line-height: 20px;
93
+ --body1-line-height-rem: 1.25rem;
94
+ --body2-family: "Montserrat";
95
+ --body2-size: 16px;
96
+ --body2-size-rem: 1rem;
97
+ --body2-weight: 500;
98
+ --body2-style: normal;
99
+ --body2-line-height: 20px;
100
+ --body2-line-height-rem: 1.25rem;
101
+ --body3-family: "Montserrat";
102
+ --body3-size: 14px;
103
+ --body3-size-rem: 0.875rem;
104
+ --body3-weight: 400;
105
+ --body3-style: normal;
106
+ --body3-line-height: 18px;
107
+ --body3-line-height-rem: 1.125rem;
108
+ --body4-family: "Montserrat";
109
+ --body4-size: 14px;
110
+ --body4-size-rem: 0.875rem;
111
+ --body4-weight: 500;
112
+ --body4-style: normal;
113
+ --body4-line-height: 18px;
114
+ --body4-line-height-rem: 1.125rem;
115
+ --small1-family: "Montserrat";
116
+ --small1-size: 12px;
117
+ --small1-size-rem: 0.75rem;
118
+ --small1-weight: 400;
119
+ --small1-style: normal;
120
+ --small1-line-height: 14px;
121
+ --small1-line-height-rem: 0.875rem;
122
+ --small2-family: "Montserrat";
123
+ --small2-size: 12px;
124
+ --small2-size-rem: 0.75rem;
125
+ --small2-weight: 500;
126
+ --small2-style: normal;
127
+ --small2-line-height: 14px;
128
+ --small2-line-height-rem: 0.875rem;
129
+ --small3-family: "Montserrat";
130
+ --small3-size: 12px;
131
+ --small3-size-rem: 0.75rem;
132
+ --small3-weight: 600;
133
+ --small3-style: normal;
134
+ --small3-line-height: 14px;
135
+ --small3-line-height-rem: 0.875rem;
136
+ --small4-family: "Montserrat";
137
+ --small4-size: 10px;
138
+ --small4-size-rem: 0.625rem;
139
+ --small4-weight: 400;
140
+ --small4-style: normal;
141
+ --small4-line-height: 12px;
142
+ --small4-line-height-rem: 0.75rem;
143
+ --small5-family: "Montserrat";
144
+ --small5-size: 10px;
145
+ --small5-size-rem: 0.625rem;
146
+ --small5-weight: 500;
147
+ --small5-style: normal;
148
+ --small5-line-height: 12px;
149
+ --small5-line-height-rem: 0.75rem;
150
+ --small6-family: "Montserrat";
151
+ --small6-size: 10px;
152
+ --small6-size-rem: 0.625rem;
153
+ --small6-weight: 600;
154
+ --small6-style: normal;
155
+ --small6-line-height: 12px;
156
+ --small6-line-height-rem: 0.75rem;
157
+ --small7-family: "Montserrat";
158
+ --small7-size: 8px;
159
+ --small7-size-rem: 0.5rem;
160
+ --small7-weight: 600;
161
+ --small7-style: normal;
162
+ --small7-line-height: 10px;
163
+ --small7-line-height-rem: 0.625rem;
164
+ --small8-family: "Montserrat";
165
+ --small8-size: 8px;
166
+ --small8-size-rem: 0.5rem;
167
+ --small8-weight: 700;
168
+ --small8-style: normal;
169
+ --small8-line-height: 10px;
170
+ --small8-line-height-rem: 0.625rem;
171
+ --label-label1-family: "Montserrat";
172
+ --label-label1-size: 12px;
173
+ --label-label1-size-rem: 0.75rem;
174
+ --label-label1-weight: 400;
175
+ --label-label1-style: normal;
176
+ --label-label1-line-height: 12px;
177
+ --label-label1-line-height-rem: 0.75rem;
178
+ --label-label2-family: "Montserrat";
179
+ --label-label2-size: 10px;
180
+ --label-label2-size-rem: 0.625rem;
181
+ --label-label2-weight: 400;
182
+ --label-label2-style: normal;
183
+ --label-label2-line-height: 10px;
184
+ --label-label2-line-height-rem: 0.625rem;
185
+ --button-button-l-family: "Montserrat";
186
+ --button-button-l-size: 16px;
187
+ --button-button-l-size-rem: 1rem;
188
+ --button-button-l-weight: 700;
189
+ --button-button-l-style: normal;
190
+ --button-button-l-line-height: 24px;
191
+ --button-button-l-line-height-rem: 1.5rem;
192
+ --button-button-ms-family: "Montserrat";
193
+ --button-button-ms-size: 14px;
194
+ --button-button-ms-size-rem: 0.875rem;
195
+ --button-button-ms-weight: 700;
196
+ --button-button-ms-style: normal;
197
+ --button-button-ms-line-height: 22px;
198
+ --button-button-ms-line-height-rem: 1.375rem;
199
+ }
@@ -0,0 +1,28 @@
1
+ :root[data-theme="SKL"] {
2
+ --radius-radius-xl: 16px;
3
+ --radius-radius-xl-rem: 1rem;
4
+ --radius-radius-l: 12px;
5
+ --radius-radius-l-rem: 0.75rem;
6
+ --radius-radius-m: 8px;
7
+ --radius-radius-m-rem: 0.5rem;
8
+ --radius-radius-s: 6px;
9
+ --radius-radius-s-rem: 0.375rem;
10
+ --radius-radius-xs: 4px;
11
+ --radius-radius-xs-rem: 0.25rem;
12
+ --spacing-spacing-xxs: 2px;
13
+ --spacing-spacing-xxs-rem: 0.125rem;
14
+ --spacing-spacing-xs: 4px;
15
+ --spacing-spacing-xs-rem: 0.25rem;
16
+ --spacing-spacing-s: 8px;
17
+ --spacing-spacing-s-rem: 0.5rem;
18
+ --spacing-spacing-m: 12px;
19
+ --spacing-spacing-m-rem: 0.75rem;
20
+ --spacing-spacing-l: 16px;
21
+ --spacing-spacing-l-rem: 1rem;
22
+ --spacing-spacing-xl: 24px;
23
+ --spacing-spacing-xl-rem: 1.5rem;
24
+ --spacing-spacing-xxl: 32px;
25
+ --spacing-spacing-xxl-rem: 2rem;
26
+ --spacing-spacing-xxxl: 48px;
27
+ --spacing-spacing-xxxl-rem: 3rem;
28
+ }
@@ -6,3 +6,4 @@
6
6
  @import url(components/action-button.css);
7
7
  @import url(components/loading.css);
8
8
  @import url(components/dropdown-menu.css);
9
+ @import url(components/switch.css);
@@ -0,0 +1,30 @@
1
+ :root[data-theme="xspector"] {
2
+ /* ------------------------------------------------------------------ */
3
+ /* Switch Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[element]-[state]-[property] */
6
+ /* Element: [progress, track] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ /* Default State */
10
+ --switch-default-color: rgb(from var(--state-color-secondary-active) r g b / 0.32);
11
+ --switch-thumb-default-color: var(--state-color-secondary-active);
12
+
13
+ /* Hover State */
14
+ --switch-hover-color: rgb(from var(--state-color-secondary-active) r g b / 0.48);
15
+ --switch-thumb-hover-color: var(--switch-thumb-default-color);
16
+ --switch-thumb-hover-ring: var(--state-color-secondary-hover-bg);
17
+
18
+ /* Active State */
19
+ --switch-active-color: rgb(from var(--state-color-primary-active) r g b / 0.32);
20
+ --switch-thumb-active-color: var(--state-color-primary-active);
21
+
22
+ /* Active Hover State */
23
+ --switch-active-hover-color: rgb(from var(--state-color-primary-active) r g b / 0.48);
24
+ --switch-thumb-active-hover-color: var(--switch-thumb-active-color);
25
+ --switch-thumb-active-hover-ring: var(--state-color-primary-hover-bg);
26
+
27
+ /* Disabled State */
28
+ --switch-disabled-color: rgb(from var(--state-color-disable-solid) r g b / 0.32);
29
+ --switch-thumb-disabled-color: var(--state-color-disable-solid)
30
+ }
@@ -8,4 +8,5 @@
8
8
  @import url(components/action-button.css);
9
9
  @import url(components/loading.css);
10
10
  @import url(components/navbar.css);
11
- @import url(components/dropdown-menu.css);
11
+ @import url(components/dropdown-menu.css);
12
+ @import url(components/switch.css);
@@ -0,0 +1,30 @@
1
+ :root {
2
+ /* ------------------------------------------------------------------ */
3
+ /* Switch Component Tokens */
4
+ /* ------------------------------------------------------------------ */
5
+ /* Naming Convention: --[component]-[element]-[state]-[property] */
6
+ /* Element: [progress, track] */
7
+ /* ------------------------------------------------------------------ */
8
+
9
+ /* Default State */
10
+ --switch-default-color: rgb(from var(--state-color-tertiary-active) r g b / 0.32);
11
+ --switch-thumb-default-color: var(--state-color-tertiary-active);
12
+
13
+ /* Hover State */
14
+ --switch-hover-color: rgb(from var(--state-color-tertiary-active) r g b / 0.48);
15
+ --switch-thumb-hover-color: var(--switch-thumb-default-color);
16
+ --switch-thumb-hover-ring: var(--state-color-tertiary-hover-bg);
17
+
18
+ /* Active State */
19
+ --switch-active-color: rgb(from var(--state-color-secondary-active) r g b / 0.32);
20
+ --switch-thumb-active-color: var(--state-color-secondary-active);
21
+
22
+ /* Active Hover State */
23
+ --switch-active-hover-color: rgb(from var(--state-color-secondary-active) r g b / 0.48);
24
+ --switch-thumb-active-hover-color: var(--switch-thumb-active-color);
25
+ --switch-thumb-active-hover-ring: var(--state-color-secondary-hover-bg);
26
+
27
+ /* Disabled State */
28
+ --switch-disabled-color: rgb(from var(--state-color-disable-solid) r g b / 0.32);
29
+ --switch-thumb-disabled-color: var(--state-color-disable-solid)
30
+ }