@rovula/ui 0.0.19 → 0.0.21

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 (207) hide show
  1. package/dist/cjs/bundle.css +3220 -1382
  2. package/dist/cjs/bundle.js +3 -3
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/components/ActionButton/ActionButton.stories.d.ts +4 -4
  5. package/dist/cjs/types/components/ActionButton/ActionButton.styles copy.d.ts +6 -0
  6. package/dist/cjs/types/components/Button/Button.styles copy.d.ts +7 -0
  7. package/dist/cjs/types/components/Button/Button.styles.d.ts +1 -0
  8. package/dist/cjs/types/components/Button/Buttons.stories.d.ts +12 -4
  9. package/dist/cjs/types/components/Calendar/Calendar.d.ts +0 -1
  10. package/dist/cjs/types/components/Calendar/Calendar.stories.d.ts +7 -7
  11. package/dist/cjs/types/components/Checkbox/Checkbox.stories.d.ts +6 -6
  12. package/dist/cjs/types/components/DatePicker/DatePicker.d.ts +2 -0
  13. package/dist/cjs/types/components/DatePicker/DatePicker.stories.d.ts +2 -0
  14. package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +8 -6
  15. package/dist/cjs/types/components/Input/Input.stories.d.ts +12 -12
  16. package/dist/cjs/types/components/Label/Label.stories.d.ts +6 -6
  17. package/dist/cjs/types/components/Loading/Loading.d.ts +14 -0
  18. package/dist/cjs/types/components/Loading/Loading.stories.d.ts +35 -0
  19. package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +13 -0
  20. package/dist/cjs/types/components/ProgressBar/ProgressBar.stories.d.ts +37 -0
  21. package/dist/cjs/types/components/RadioGroup/RadioGroup.stories.d.ts +5 -5
  22. package/dist/cjs/types/components/Search/Search.d.ts +22 -1
  23. package/dist/cjs/types/components/Search/Search.stories.d.ts +338 -7
  24. package/dist/cjs/types/components/Table/Table.stories.d.ts +4 -4
  25. package/dist/cjs/types/components/Text/Text.d.ts +1 -1
  26. package/dist/cjs/types/components/Text/Text.stories.d.ts +1 -1
  27. package/dist/cjs/types/components/TextInput/TextInput.d.ts +4 -0
  28. package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +11 -6
  29. package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +8 -0
  30. package/dist/cjs/types/index.d.ts +3 -0
  31. package/dist/cjs/types/stories/ColorGroupPreview.d.ts +1 -0
  32. package/dist/cjs/types/stories/ColorPreview.d.ts +5 -0
  33. package/dist/components/ActionButton/ActionButton.js +1 -1
  34. package/dist/components/ActionButton/ActionButton.stories.js +1 -1
  35. package/dist/components/ActionButton/ActionButton.styles copy.js +90 -0
  36. package/dist/components/ActionButton/ActionButton.styles.js +54 -15
  37. package/dist/components/AlertDialog/AlertDialog.js +2 -2
  38. package/dist/components/Avatar/Avatar.styles.js +1 -1
  39. package/dist/components/Button/Button.js +3 -2
  40. package/dist/components/Button/Button.styles copy.js +210 -0
  41. package/dist/components/Button/Button.styles.js +203 -43
  42. package/dist/components/Button/Buttons.stories.js +9 -1
  43. package/dist/components/Calendar/Calendar.js +39 -2
  44. package/dist/components/Checkbox/Checkbox.js +1 -1
  45. package/dist/components/Collapsible/Collapsible.styles.js +6 -3
  46. package/dist/components/DatePicker/DatePicker.js +13 -2
  47. package/dist/components/Dialog/Dialog.js +4 -4
  48. package/dist/components/Dropdown/Dropdown.js +9 -7
  49. package/dist/components/Dropdown/Dropdown.styles.js +1 -1
  50. package/dist/components/Input/Input.js +8 -1
  51. package/dist/components/Input/Input.stories.js +3 -2
  52. package/dist/components/Input/Input.styles.js +13 -5
  53. package/dist/components/Loading/Loading.js +23 -0
  54. package/dist/components/Loading/Loading.stories.js +37 -0
  55. package/dist/components/Popover/Popover.js +1 -1
  56. package/dist/components/ProgressBar/ProgressBar.js +22 -0
  57. package/dist/components/ProgressBar/ProgressBar.stories.js +52 -0
  58. package/dist/components/RadioGroup/RadioGroup.js +2 -2
  59. package/dist/components/Search/Search.js +6 -7
  60. package/dist/components/Search/Search.stories.js +8 -5
  61. package/dist/components/Text/Text.js +17 -2
  62. package/dist/components/Text/Text.stories.js +5 -1
  63. package/dist/components/TextInput/TextInput.js +14 -5
  64. package/dist/components/TextInput/TextInput.stories.js +3 -2
  65. package/dist/components/TextInput/TextInput.styles.js +120 -18
  66. package/dist/esm/bundle.css +3220 -1382
  67. package/dist/esm/bundle.js +3 -3
  68. package/dist/esm/bundle.js.map +1 -1
  69. package/dist/esm/types/components/ActionButton/ActionButton.stories.d.ts +4 -4
  70. package/dist/esm/types/components/ActionButton/ActionButton.styles copy.d.ts +6 -0
  71. package/dist/esm/types/components/Button/Button.styles copy.d.ts +7 -0
  72. package/dist/esm/types/components/Button/Button.styles.d.ts +1 -0
  73. package/dist/esm/types/components/Button/Buttons.stories.d.ts +12 -4
  74. package/dist/esm/types/components/Calendar/Calendar.d.ts +0 -1
  75. package/dist/esm/types/components/Calendar/Calendar.stories.d.ts +7 -7
  76. package/dist/esm/types/components/Checkbox/Checkbox.stories.d.ts +6 -6
  77. package/dist/esm/types/components/DatePicker/DatePicker.d.ts +2 -0
  78. package/dist/esm/types/components/DatePicker/DatePicker.stories.d.ts +2 -0
  79. package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +8 -6
  80. package/dist/esm/types/components/Input/Input.stories.d.ts +12 -12
  81. package/dist/esm/types/components/Label/Label.stories.d.ts +6 -6
  82. package/dist/esm/types/components/Loading/Loading.d.ts +14 -0
  83. package/dist/esm/types/components/Loading/Loading.stories.d.ts +35 -0
  84. package/dist/esm/types/components/ProgressBar/ProgressBar.d.ts +13 -0
  85. package/dist/esm/types/components/ProgressBar/ProgressBar.stories.d.ts +37 -0
  86. package/dist/esm/types/components/RadioGroup/RadioGroup.stories.d.ts +5 -5
  87. package/dist/esm/types/components/Search/Search.d.ts +22 -1
  88. package/dist/esm/types/components/Search/Search.stories.d.ts +338 -7
  89. package/dist/esm/types/components/Table/Table.stories.d.ts +4 -4
  90. package/dist/esm/types/components/Text/Text.d.ts +1 -1
  91. package/dist/esm/types/components/Text/Text.stories.d.ts +1 -1
  92. package/dist/esm/types/components/TextInput/TextInput.d.ts +4 -0
  93. package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +11 -6
  94. package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +8 -0
  95. package/dist/esm/types/index.d.ts +3 -0
  96. package/dist/esm/types/stories/ColorGroupPreview.d.ts +1 -0
  97. package/dist/esm/types/stories/ColorPreview.d.ts +5 -0
  98. package/dist/index.d.ts +53 -2
  99. package/dist/index.js +3 -0
  100. package/dist/src/theme/global.css +5078 -918
  101. package/dist/stories/ColorGroupPreview.js +478 -0
  102. package/dist/stories/ColorPreview.js +8 -0
  103. package/dist/theme/global.css +7 -227
  104. package/dist/theme/main-preset.js +131 -67
  105. package/dist/theme/plugins/utilities/typography.js +12 -0
  106. package/dist/theme/presets/colors.js +101 -220
  107. package/dist/theme/theme.d.ts +69 -0
  108. package/dist/theme/themes/xspector/baseline.css +7 -0
  109. package/dist/theme/themes/xspector/color.css +67 -0
  110. package/dist/theme/themes/xspector/components/action-button.css +98 -0
  111. package/dist/theme/themes/xspector/components/loading.css +11 -0
  112. package/dist/theme/themes/xspector/palette.css +122 -0
  113. package/dist/theme/themes/xspector/state.css +89 -0
  114. package/dist/theme/themes/xspector/transparent.css +68 -0
  115. package/dist/theme/themes/xspector/typography.css +27 -0
  116. package/dist/theme/tokens/baseline.css +10 -0
  117. package/dist/theme/tokens/color.css +63 -0
  118. package/dist/theme/tokens/components/action-button.css +127 -0
  119. package/dist/theme/tokens/components/button.css +512 -0
  120. package/dist/theme/tokens/components/loading.css +11 -0
  121. package/dist/theme/tokens/components/navbar.css +8 -0
  122. package/dist/theme/tokens/components/progress-bar.css +8 -0
  123. package/dist/theme/tokens/palette.css +122 -0
  124. package/dist/theme/tokens/state.css +82 -0
  125. package/dist/theme/tokens/transparent.css +68 -0
  126. package/dist/theme/tokens/typography.css +178 -0
  127. package/dist/theme/tokens/variables.css +28 -0
  128. package/dist/theme/utils.js +98 -0
  129. package/package.json +1 -1
  130. package/src/_theme/global copy.css +761 -0
  131. package/src/_theme/global.css +39 -0
  132. package/src/_theme/main-preset.js +239 -0
  133. package/src/_theme/plugins/utilities/typography.js +81 -0
  134. package/src/_theme/presets/colors copy 2.js +319 -0
  135. package/src/_theme/presets/colors copy.js +229 -0
  136. package/src/_theme/presets/colors.js +94 -0
  137. package/src/_theme/theme.d.ts +69 -0
  138. package/src/_theme/variables/base/button.css +334 -0
  139. package/src/_theme/variables/base/components copy.css +19 -0
  140. package/src/_theme/variables/default/colors.css +292 -0
  141. package/src/_theme/variables/default/typography.css +178 -0
  142. package/src/_theme/variables/xspector/colors.css +468 -0
  143. package/src/_theme/variables/xspector/typography.css +178 -0
  144. package/src/components/ActionButton/ActionButton.stories.tsx +1 -1
  145. package/src/components/ActionButton/ActionButton.styles copy.ts +95 -0
  146. package/src/components/ActionButton/ActionButton.styles.ts +54 -19
  147. package/src/components/ActionButton/ActionButton.tsx +1 -1
  148. package/src/components/AlertDialog/AlertDialog.tsx +2 -2
  149. package/src/components/Avatar/Avatar.styles.ts +1 -1
  150. package/src/components/Button/Button.styles copy.ts +214 -0
  151. package/src/components/Button/Button.styles.ts +203 -47
  152. package/src/components/Button/Button.tsx +4 -0
  153. package/src/components/Button/Buttons.stories.tsx +9 -1
  154. package/src/components/Calendar/Calendar.tsx +49 -7
  155. package/src/components/Checkbox/Checkbox.tsx +1 -1
  156. package/src/components/Collapsible/Collapsible.styles.ts +6 -3
  157. package/src/components/DatePicker/DatePicker.tsx +8 -2
  158. package/src/components/Dialog/Dialog.tsx +5 -5
  159. package/src/components/Dropdown/Dropdown.styles.ts +1 -1
  160. package/src/components/Dropdown/Dropdown.tsx +14 -12
  161. package/src/components/Input/Input.stories.tsx +3 -2
  162. package/src/components/Input/Input.styles.tsx +13 -6
  163. package/src/components/Input/Input.tsx +8 -1
  164. package/src/components/Loading/Loading.stories.tsx +43 -0
  165. package/src/components/Loading/Loading.tsx +72 -0
  166. package/src/components/Popover/Popover.tsx +1 -1
  167. package/src/components/ProgressBar/ProgressBar.stories.tsx +78 -0
  168. package/src/components/ProgressBar/ProgressBar.tsx +62 -0
  169. package/src/components/RadioGroup/RadioGroup.tsx +2 -2
  170. package/src/components/Search/Search.stories.tsx +13 -13
  171. package/src/components/Search/Search.tsx +14 -19
  172. package/src/components/Text/Text.stories.tsx +6 -4
  173. package/src/components/Text/Text.tsx +27 -3
  174. package/src/components/TextInput/TextInput.stories.tsx +3 -2
  175. package/src/components/TextInput/TextInput.styles.ts +124 -19
  176. package/src/components/TextInput/TextInput.tsx +34 -4
  177. package/src/index.ts +3 -0
  178. package/src/stories/ColorGroupPreview.tsx +494 -0
  179. package/src/stories/ColorPreview.tsx +45 -0
  180. package/src/stories/Colors.mdx +14 -0
  181. package/src/stories/Typography.mdx +7 -151
  182. package/src/theme/global.css +7 -227
  183. package/src/theme/main-preset.js +131 -67
  184. package/src/theme/plugins/utilities/typography.js +12 -0
  185. package/src/theme/presets/colors.js +101 -220
  186. package/src/theme/theme.d.ts +69 -0
  187. package/src/theme/themes/xspector/baseline.css +7 -0
  188. package/src/theme/themes/xspector/color.css +67 -0
  189. package/src/theme/themes/xspector/components/action-button.css +98 -0
  190. package/src/theme/themes/xspector/components/loading.css +11 -0
  191. package/src/theme/themes/xspector/palette.css +122 -0
  192. package/src/theme/themes/xspector/state.css +89 -0
  193. package/src/theme/themes/xspector/transparent.css +68 -0
  194. package/src/theme/themes/xspector/typography.css +27 -0
  195. package/src/theme/tokens/baseline.css +10 -0
  196. package/src/theme/tokens/color.css +63 -0
  197. package/src/theme/tokens/components/action-button.css +127 -0
  198. package/src/theme/tokens/components/button.css +512 -0
  199. package/src/theme/tokens/components/loading.css +11 -0
  200. package/src/theme/tokens/components/navbar.css +8 -0
  201. package/src/theme/tokens/components/progress-bar.css +8 -0
  202. package/src/theme/tokens/palette.css +122 -0
  203. package/src/theme/tokens/state.css +82 -0
  204. package/src/theme/tokens/transparent.css +68 -0
  205. package/src/theme/tokens/typography.css +178 -0
  206. package/src/theme/tokens/variables.css +28 -0
  207. package/src/theme/utils.js +98 -0
@@ -0,0 +1,122 @@
1
+
2
+ :root[data-theme="xspector"]{
3
+ --primary-ramps-primary-5: #fdfcf2;
4
+ --primary-ramps-primary-10: #fcfae5;
5
+ --primary-ramps-primary-20: #f8f5cc;
6
+ --primary-ramps-primary-30: #f5f0b2;
7
+ --primary-ramps-primary-40: #f1eb99;
8
+ --primary-ramps-primary-50: #eee680;
9
+ --primary-ramps-primary-60: #ebe166;
10
+ --primary-ramps-primary-70: #e7dc4d;
11
+ --primary-ramps-primary-80: #e4d733;
12
+ --primary-ramps-primary-90: #e0d21a;
13
+ --primary-ramps-primary-100: #ddcd00;
14
+ --primary-ramps-primary-110: #c7b800;
15
+ --primary-ramps-primary-120: #b1a400;
16
+ --primary-ramps-primary-130: #9b8f00;
17
+ --primary-ramps-primary-140: #857b00;
18
+ --primary-ramps-primary-150: #6f6700;
19
+ --secondary-ramps-secondary-5: #fafafa;
20
+ --secondary-ramps-secondary-10: #f5f5f5;
21
+ --secondary-ramps-secondary-20: #ececec;
22
+ --secondary-ramps-secondary-30: #e2e2e2;
23
+ --secondary-ramps-secondary-40: #d8d8d8;
24
+ --secondary-ramps-secondary-50: #cfcfcf;
25
+ --secondary-ramps-secondary-60: #c5c5c5;
26
+ --secondary-ramps-secondary-70: #bbbbbb;
27
+ --secondary-ramps-secondary-80: #b1b1b1;
28
+ --secondary-ramps-secondary-90: #a8a8a8;
29
+ --secondary-ramps-secondary-100: #9e9e9e;
30
+ --secondary-ramps-secondary-110: #8e8e8e;
31
+ --secondary-ramps-secondary-120: #7e7e7e;
32
+ --secondary-ramps-secondary-130: #6f6f6f;
33
+ --secondary-ramps-secondary-140: #5f5f5f;
34
+ --secondary-ramps-secondary-150: #4f4f4f;
35
+ --tertiary-ramps-tertiary-5: #fbfcfd;
36
+ --tertiary-ramps-tertiary-10: #f7fafb;
37
+ --tertiary-ramps-tertiary-20: #eff4f7;
38
+ --tertiary-ramps-tertiary-30: #e6eff3;
39
+ --tertiary-ramps-tertiary-40: #deeaef;
40
+ --tertiary-ramps-tertiary-50: #d6e5eb;
41
+ --tertiary-ramps-tertiary-60: #cedfe6;
42
+ --tertiary-ramps-tertiary-70: #c6dae2;
43
+ --tertiary-ramps-tertiary-80: #bdd5de;
44
+ --tertiary-ramps-tertiary-90: #b5cfda;
45
+ --tertiary-ramps-tertiary-100: #adcad6;
46
+ --tertiary-ramps-tertiary-110: #9cb6c1;
47
+ --tertiary-ramps-tertiary-120: #8aa2ab;
48
+ --tertiary-ramps-tertiary-130: #798d96;
49
+ --tertiary-ramps-tertiary-140: #687980;
50
+ --tertiary-ramps-tertiary-150: #57656b;
51
+ --grey-grey-5: #fafafa;
52
+ --grey-grey-10: #f5f5f5;
53
+ --grey-grey-20: #ececec;
54
+ --grey-grey-30: #e2e2e2;
55
+ --grey-grey-40: #d8d8d8;
56
+ --grey-grey-50: #cfcfcf;
57
+ --grey-grey-60: #c5c5c5;
58
+ --grey-grey-70: #bbbbbb;
59
+ --grey-grey-80: #b1b1b1;
60
+ --grey-grey-90: #a8a8a8;
61
+ --grey-grey-100: #9e9e9e;
62
+ --grey-grey-110: #8e8e8e;
63
+ --grey-grey-120: #7e7e7e;
64
+ --grey-grey-130: #6f6f6f;
65
+ --grey-grey-140: #5f5f5f;
66
+ --grey-grey-150: #4f4f4f;
67
+ --grey2-grey2-50: #f8fafa;
68
+ --grey2-grey2-100: #f2f5f5;
69
+ --grey2-grey2-200: #e7ebed;
70
+ --grey2-grey2-300: #d3dadf;
71
+ --grey2-grey2-400: #bac5cb;
72
+ --grey2-grey2-500: #9dabb5;
73
+ --grey2-grey2-600: #919eab;
74
+ --grey2-grey2-700: #72808f;
75
+ --grey2-grey2-800: #606b77;
76
+ --grey2-grey2-900: #4f5863;
77
+ --grey2-grey2-950: #343b41;
78
+ --info-info-50: #eef8ff;
79
+ --info-info-100: #d9efff;
80
+ --info-info-200: #bce4ff;
81
+ --info-info-300: #8ed5ff;
82
+ --info-info-400: #59bbff;
83
+ --info-info-500: #2998ff;
84
+ --info-info-600: #1b7df5;
85
+ --info-info-700: #1466e1;
86
+ --info-info-800: #1752b6;
87
+ --info-info-900: #19478f;
88
+ --info-info-950: #142c57;
89
+ --success-success-50: #effce9;
90
+ --success-success-100: #daf9ce;
91
+ --success-success-200: #b8f3a3;
92
+ --success-success-300: #8ce86e;
93
+ --success-success-400: #54d62c;
94
+ --success-success-500: #44c022;
95
+ --success-success-600: #319917;
96
+ --success-success-700: #277516;
97
+ --success-success-800: #235d17;
98
+ --success-success-900: #214f18;
99
+ --success-success-950: #0c2b08;
100
+ --warning-warning-50: #ffffea;
101
+ --warning-warning-100: #fffbc5;
102
+ --warning-warning-200: #fff885;
103
+ --warning-warning-300: #ffee46;
104
+ --warning-warning-400: #ffdf1b;
105
+ --warning-warning-500: #ffc107;
106
+ --warning-warning-600: #e29400;
107
+ --warning-warning-700: #bb6902;
108
+ --warning-warning-800: #985108;
109
+ --warning-warning-900: #7c420b;
110
+ --warning-warning-950: #482200;
111
+ --error-error-50: #fff3f1;
112
+ --error-error-100: #ffe3df;
113
+ --error-error-200: #ffccc5;
114
+ --error-error-300: #ffa99d;
115
+ --error-error-400: #ff7664;
116
+ --error-error-500: #ff4d35;
117
+ --error-error-600: #ed2f15;
118
+ --error-error-700: #c8230d;
119
+ --error-error-800: #a5210f;
120
+ --error-error-900: #882214;
121
+ --error-error-950: #4b0c04;
122
+ }
@@ -0,0 +1,89 @@
1
+
2
+ :root[data-theme="xspector"]{
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: #b1a400;
10
+ --state-color-primary-hover: #ddcd00;
11
+ --state-color-primary-stroke: rgba(177 164 0 / 0.48);
12
+ --state-color-primary-hover-bg: rgba(221 205 0 / 0.08);
13
+ --state-color-primary-pressed: #6f6700;
14
+ --state-color-primary-active: #ddcd00;
15
+ --state-color-primary-text-solid: #212B36;
16
+ --state-color-primary-text-outline: #b1a400;
17
+ --state-color-primary-text-hover: #ddcd00;
18
+ --state-color-primary-text-pressed: #6f6700;
19
+
20
+ --state-color-secondary-default: #ececec;
21
+ --state-color-secondary-hover: #fafafa;
22
+ --state-color-secondary-stroke: rgba(236 236 236 / 0.48);
23
+ --state-color-secondary-hover-bg: rgba(250 250 250 / 0.08);
24
+ --state-color-secondary-pressed: #bbbbbb;
25
+ --state-color-secondary-active: #fafafa;
26
+ --state-color-secondary-text-solid: #212B36;
27
+ --state-color-secondary-text-outline: #ececec;
28
+ --state-color-secondary-text-hover: #fafafa;
29
+ --state-color-secondary-text-pressed: #bbbbbb;
30
+
31
+ --state-color-tertiary-default: #8aa2ab;
32
+ --state-color-tertiary-hover: #adcad6;
33
+ --state-color-tertiary-stroke: rgba(138 162 171 / 0.48);
34
+ --state-color-tertiary-hover-bg: rgba(173 202 214 / 0.08);
35
+ --state-color-tertiary-pressed: #57656b;
36
+ --state-color-tertiary-active: #adcad6;
37
+ --state-color-tertiary-text-solid: #212B36;
38
+ --state-color-tertiary-text-outline: #8aa2ab;
39
+ --state-color-tertiary-text-hover: #adcad6;
40
+ --state-color-tertiary-text-pressed: #57656b;
41
+
42
+ --state-color-info-default: #1b7df5;
43
+ --state-color-info-hover: #2998ff;
44
+ --state-color-info-stroke: rgba(27 125 245 / 0.48);
45
+ --state-color-info-hover-bg: rgba(41 152 255 / 0.08);
46
+ --state-color-info-pressed: #1752b6;
47
+ --state-color-info-active: #2998ff;
48
+ --state-color-info-text-solid: #ffffff;
49
+ --state-color-info-text-outline: #1b7df5;
50
+ --state-color-info-text-hover: #2998ff;
51
+ --state-color-info-text-pressed: #1752b6;
52
+
53
+ --state-color-success-default: #319917;
54
+ --state-color-success-hover: #44c022;
55
+ --state-color-success-stroke: rgba(49 153 23 / 0.48);
56
+ --state-color-success-hover-bg: rgba(84 214 44 / 0.08);
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
+
64
+ --state-color-warning-default: #ffc107;
65
+ --state-color-warning-hover: #ffdf1b;
66
+ --state-color-warning-stroke: rgba(255 193 7 / 0.48);
67
+ --state-color-warning-hover-bg: rgba(255 193 7 / 0.08);
68
+ --state-color-warning-pressed: #985108;
69
+ --state-color-warning-active: #ffc107;
70
+ --state-color-warning-text-solid: #ffffff;
71
+ --state-color-warning-text-outline: #ffc107;
72
+ --state-color-warning-text-hover: #ffdf1b;
73
+ --state-color-warning-text-pressed: #985108;
74
+
75
+ --state-color-error-default: #ed2f15;
76
+ --state-color-error-hover: #ff4d35;
77
+ --state-color-error-stroke: rgba(237 47 21 / 0.48);
78
+ --state-color-error-hover-bg: rgba(255 77 53 / 0.08);
79
+ --state-color-error-pressed: #a5210f;
80
+ --state-color-error-active: #ff4d35;
81
+ --state-color-error-text-solid: #ffffff;
82
+ --state-color-error-text-outline: #ed2f15;
83
+ --state-color-error-text-hover: #ff4d35;
84
+ --state-color-error-text-pressed: #a5210f;
85
+
86
+ --state-color-disable-solid: #454f5b;
87
+ --state-color-disable-outline: #637381;
88
+ }
89
+
@@ -0,0 +1,68 @@
1
+ :root[data-theme="xspector"]{
2
+ --main-transparency-primary-8: rgba(221 205 0 / 0.08);
3
+ --main-transparency-primary-12: rgba(221 205 0 / 0.12);
4
+ --main-transparency-primary-16: rgba(221 205 0 / 0.16);
5
+ --main-transparency-primary-24: rgba(221 205 0 / 0.24);
6
+ --main-transparency-primary-32: rgba(221 205 0 / 0.32);
7
+ --main-transparency-primary-48: rgba(221 205 0 / 0.48);
8
+ --main-transparency-secondary-8: rgba(158 158 158 / 0.08);
9
+ --main-transparency-secondary-12: rgba(158 158 158 / 0.12);
10
+ --main-transparency-secondary-16: rgba(158 158 158 / 0.16);
11
+ --main-transparency-secondary-24: rgba(158 158 158 / 0.24);
12
+ --main-transparency-secondary-32: rgba(158 158 158 / 0.32);
13
+ --main-transparency-secondary-48: rgba(158 158 158 / 0.48);
14
+ --main-transparency-tertiary-8: rgba(173 202 214 / 0.08);
15
+ --main-transparency-tertiary-12: rgba(173 202 214 / 0.12);
16
+ --main-transparency-tertiary-16: rgba(173 202 214 / 0.16);
17
+ --main-transparency-tertiary-24: rgba(173 202 214 / 0.24);
18
+ --main-transparency-tertiary-32: rgba(173 202 214 / 0.32);
19
+ --main-transparency-tertiary-48: rgba(173 202 214 / 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-08: 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-08: 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,27 @@
1
+ :root[data-theme="xspector"]{
2
+ /* TYPE */
3
+ --h1-family: "Poppins";
4
+ --h2-family: "Poppins";
5
+ --h3-family: "Poppins";
6
+ --h4-family: "Poppins";
7
+ --h5-family: "Poppins";
8
+ --h6-family: "Poppins";
9
+ --subtitle2-family: "Poppins";
10
+ --subtitle3-family: "Poppins";
11
+ --subtitle4-family: "Poppins";
12
+ --subtitle5-family: "Poppins";
13
+ --subtitle6-family: "Poppins";
14
+ --body1-family: "Poppins";
15
+ --body2-family: "Poppins";
16
+ --body3-family: "Poppins";
17
+ --body4-family: "Poppins";
18
+ --small1-family: "Poppins";
19
+ --small2-family: "Poppins";
20
+ --small3-family: "Poppins";
21
+ --small4-family: "Poppins";
22
+ --small5-family: "Poppins";
23
+ --label-label1-family: "Poppins";
24
+ --label-label2-family: "Poppins";
25
+ --button-button-l-family: "Poppins";
26
+ --button-button-ms-family: "Poppins";
27
+ }
@@ -0,0 +1,10 @@
1
+ @import url(palette.css);
2
+ @import url(state.css);
3
+ @import url(color.css);
4
+ @import url(transparent.css);
5
+ @import url(variables.css);
6
+ @import url(typography.css);
7
+ @import url(components/button.css);
8
+ @import url(components/action-button.css);
9
+ @import url(components/loading.css);
10
+ @import url(components/navbar.css);
@@ -0,0 +1,63 @@
1
+
2
+ :root {
3
+ /* Base from design */
4
+ --input-color-default-text: #9e9e9e;
5
+ --input-color-default-stroke: #cfcfcf;
6
+ --input-color-filled-text: #4f4f4f;
7
+ --input-color-active-stroke: #9e9e9e;
8
+ --input-color-disable-text: #919eab;
9
+ --input-color-disable-stroke: #e7ebed;
10
+ --input-color-disable-bg: #f2f5f5;
11
+ --input-color-label-bg: #ffffff;/* #2d2e30; */
12
+ --input-color-error: #ed2f15;
13
+
14
+ --text-dark: #18283a;
15
+ --text-medium: #4b5b6d;
16
+ --text-light: #8e98a4;
17
+ --text-grey-dark: #4f4f4f;
18
+ --text-grey-medium: #7e7e7e;
19
+ --text-grey-light: #9e9e9e;
20
+ --text-white: #ffffff;
21
+
22
+ --base-color-bg: #ffffff;
23
+ --base-color-bg2: #f5f5f5;
24
+ --base-color-bg3: #d8d8d8;
25
+ --base-color-workspace-stroke: #e2e2e2;
26
+ --base-color-popup: #ffffff;
27
+ --base-color-popup-hightlight: #343638;
28
+ --base-color-popup-curtain: rgba(0 0 0 / 0.6);
29
+ --common-white: #ffffff;
30
+ --common-black: #000000;
31
+
32
+ /* ------- Addon base ---------- */
33
+ --background: var(--base-color-bg);
34
+ --foreground: var(--common-black);
35
+
36
+ --primary: var(--primary-ramps-primary-100);
37
+ --secondary: var(--secondary-ramps-secondary-100);
38
+ --tertiary: var(--tertiary-ramps-tertiary-100);
39
+ --info: var(--info-info-100);
40
+ --success: var(--success-success-100);
41
+ --warning: var(--warning-warning-100);
42
+ --error: var(--error-error-100);
43
+ --grey: var(--grey-grey-100);
44
+ --grey2: var(--grey2-grey2-100);
45
+
46
+ --primary-foreground: var(--state-color-primary-text-solid);
47
+ --secondary-foreground: var(--state-color-secondary-text-solid);
48
+ --tertiary-foreground: var(--state-color-tertiary-text-solid);
49
+ --info-foreground: var(--state-color-info-text-solid);
50
+ --success-foreground: var(--state-color-success-text-solid);
51
+ --warning-foreground: var(--state-color-warning-text-solid);
52
+ --error-foreground: var(--state-color-error-text-solid);
53
+ --grey-foreground: var(--common-black);
54
+ --grey2-foreground: var(--common-black);
55
+
56
+ --surface: var(--base-color-bg);
57
+ --surface-foreground: var(--common-black);
58
+
59
+ --primary-foreground: var(--common-white);
60
+ --secondary-foreground: var(--common-white);
61
+
62
+ --base-color-popup-foreground: var(--text-dark);
63
+ }
@@ -0,0 +1,127 @@
1
+ :root {
2
+ /* --------------------------------------------------------------------------------- */
3
+ /* Action Button Component Tokens */
4
+ /* --------------------------------------------------------------------------------- */
5
+ /* Naming Convention: --[component]-[mode]-[state]-[property] */
6
+ /* Mone: [solid, outline, icon] */
7
+ /* States: [default, hover, pressed, active, active-pressed active-hover disabled] */
8
+ /* --------------------------------------------------------------------------------- */
9
+
10
+ /* ------------------------------------------------------------------ */
11
+ /* Solid Mode Tokens */
12
+ /* ------------------------------------------------------------------ */
13
+
14
+ /* Default State */
15
+ --action-button-solid-default-bg: var(--state-color-primary-default);
16
+ --action-button-solid-default-border: var(--state-color-primary-default);
17
+ --action-button-solid-default-text: var(--state-color-primary-text-solid);
18
+
19
+ /* Hover State */
20
+ --action-button-solid-hover-bg: var(--state-color-primary-hover);
21
+ --action-button-solid-hover-border: var(--state-color-primary-hover);
22
+ --action-button-solid-hover-text: var(--state-color-primary-text-solid);
23
+
24
+ /* Pressed State */
25
+ --action-button-solid-pressed-bg: var(--state-color-primary-pressed);
26
+ --action-button-solid-pressed-border: var(--state-color-primary-pressed);
27
+ --action-button-solid-pressed-text: var(--state-color-primary-text-solid);
28
+
29
+ /* Active State */
30
+ --action-button-solid-active-bg: var(--state-color-secondary-default);
31
+ --action-button-solid-active-border: var(--state-color-secondary-default);
32
+ --action-button-solid-active-text: var(--state-color-secondary-text-solid);
33
+
34
+ /* Active Hover State */
35
+ --action-button-solid-active-hover-bg: var(--state-color-secondary-hover);
36
+ --action-button-solid-active-hover-border: var(--state-color-secondary-hover);
37
+ --action-button-solid-active-hover-text: var(--state-color-secondary-text-solid);
38
+
39
+ /* Active Pressed State */
40
+ --action-button-solid-active-pressed-bg: var(--state-color-secondary-pressed);
41
+ --action-button-solid-active-pressed-border: var(--state-color-secondary-pressed);
42
+ --action-button-solid-active-pressed-text: var(--state-color-secondary-text-solid);
43
+
44
+ /* Disabled State */
45
+ --action-button-solid-disabled-bg: var(--state-color-disable-solid);
46
+ --action-button-solid-disabled-border: var(--state-color-disable-solid);
47
+ --action-button-solid-disabled-text: var(--state-color-disable-outline);
48
+
49
+
50
+ /* ------------------------------------------------------------------ */
51
+ /* Outline Mode Tokens */
52
+ /* ------------------------------------------------------------------ */
53
+
54
+ /* Default State */
55
+ --action-button-outline-default-bg: transparent;
56
+ --action-button-outline-default-border: var(--state-color-primary-stroke);
57
+ --action-button-outline-default-text: var(--state-color-primary-text-outline);
58
+
59
+ /* Hover State */
60
+ --action-button-outline-hover-bg: var(--state-color-primary-hover-bg);
61
+ --action-button-outline-hover-border: var(--state-color-primary-hover);
62
+ --action-button-outline-hover-text: var(--state-color-primary-text-hover);
63
+
64
+ /* Pressed State */
65
+ --action-button-outline-pressed-bg: var(--state-color-primary-hover-bg);
66
+ --action-button-outline-pressed-border: var(--state-color-primary-pressed);
67
+ --action-button-outline-pressed-text: var(--state-color-primary-text-pressed);
68
+
69
+ /* Active State */
70
+ --action-button-outline-active-bg: transparent;
71
+ --action-button-outline-active-border: var(--state-color-secondary-stroke);
72
+ --action-button-outline-active-text: var(--state-color-secondary-text-outline);
73
+
74
+ /* Active Hover State */
75
+ --action-button-outline-active-hover-bg: var(--state-color-secondary-hover-bg);
76
+ --action-button-outline-active-hover-border: var(--state-color-secondary-hover);
77
+ --action-button-outline-active-hover-text: var(--state-color-secondary-text-hover);
78
+
79
+ /* Active Pressed State */
80
+ --action-button-outline-active-pressed-bg: var(--state-color-secondary-hover-bg);
81
+ --action-button-outline-active-pressed-border: var(--state-color-secondary-pressed);
82
+ --action-button-outline-active-pressed-text: var(--state-color-secondary-text-pressed);
83
+
84
+ /* Disabled State */
85
+ --action-button-outline-disabled-bg: transparent;
86
+ --action-button-outline-disabled-border: var(--state-color-disable-outline);
87
+ --action-button-outline-disabled-text: var(--state-color-disable-outline);
88
+
89
+ /* ------------------------------------------------------------------ */
90
+ /* Icon Mode Tokens */
91
+ /* ------------------------------------------------------------------ */
92
+
93
+ /* Default State */
94
+ --action-button-icon-default-bg: transparent;
95
+ --action-button-icon-default-border: transparent;
96
+ --action-button-icon-default-text: var(--state-color-primary-text-outline);
97
+
98
+ /* Hover State */
99
+ --action-button-icon-hover-bg: var(--state-color-primary-hover-bg);
100
+ --action-button-icon-hover-border: transparent;
101
+ --action-button-icon-hover-text: var(--state-color-primary-text-hover);
102
+
103
+ /* Pressed State */
104
+ --action-button-icon-pressed-bg: transparent;
105
+ --action-button-icon-pressed-border: transparent;
106
+ --action-button-icon-pressed-text: var(--state-color-primary-text-pressed);
107
+
108
+ /* Active State */
109
+ --action-button-icon-active-bg: transparent;
110
+ --action-button-icon-active-border: transparent;
111
+ --action-button-icon-active-text: var(--state-color-secondary-text-outline);
112
+
113
+ /* Active Hover State */
114
+ --action-button-icon-active-hover-bg: var(--state-color-secondary-hover-bg);
115
+ --action-button-icon-active-hover-border: transparent;
116
+ --action-button-icon-active-hover-text: var(--state-color-secondary-text-hover);
117
+
118
+ /* Active Pressed State */
119
+ --action-button-icon-active-pressed-bg: transparent;
120
+ --action-button-icon-active-pressed-border: transparent;
121
+ --action-button-icon-active-pressed-text: var(--state-color-secondary-text-pressed);
122
+
123
+ /* Disabled State */
124
+ --action-button-icon-disabled-bg: transparent;
125
+ --action-button-icon-disabled-border: transparent;
126
+ --action-button-icon-disabled-text: var(--state-color-disable-outline);
127
+ }