@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.
- package/dist/cjs/bundle.css +3220 -1382
- package/dist/cjs/bundle.js +3 -3
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/ActionButton/ActionButton.stories.d.ts +4 -4
- package/dist/cjs/types/components/ActionButton/ActionButton.styles copy.d.ts +6 -0
- package/dist/cjs/types/components/Button/Button.styles copy.d.ts +7 -0
- package/dist/cjs/types/components/Button/Button.styles.d.ts +1 -0
- package/dist/cjs/types/components/Button/Buttons.stories.d.ts +12 -4
- package/dist/cjs/types/components/Calendar/Calendar.d.ts +0 -1
- package/dist/cjs/types/components/Calendar/Calendar.stories.d.ts +7 -7
- package/dist/cjs/types/components/Checkbox/Checkbox.stories.d.ts +6 -6
- package/dist/cjs/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/cjs/types/components/DatePicker/DatePicker.stories.d.ts +2 -0
- package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +8 -6
- package/dist/cjs/types/components/Input/Input.stories.d.ts +12 -12
- package/dist/cjs/types/components/Label/Label.stories.d.ts +6 -6
- package/dist/cjs/types/components/Loading/Loading.d.ts +14 -0
- package/dist/cjs/types/components/Loading/Loading.stories.d.ts +35 -0
- package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +13 -0
- package/dist/cjs/types/components/ProgressBar/ProgressBar.stories.d.ts +37 -0
- package/dist/cjs/types/components/RadioGroup/RadioGroup.stories.d.ts +5 -5
- package/dist/cjs/types/components/Search/Search.d.ts +22 -1
- package/dist/cjs/types/components/Search/Search.stories.d.ts +338 -7
- package/dist/cjs/types/components/Table/Table.stories.d.ts +4 -4
- package/dist/cjs/types/components/Text/Text.d.ts +1 -1
- package/dist/cjs/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/cjs/types/components/TextInput/TextInput.d.ts +4 -0
- package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +11 -6
- package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +8 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/stories/ColorGroupPreview.d.ts +1 -0
- package/dist/cjs/types/stories/ColorPreview.d.ts +5 -0
- package/dist/components/ActionButton/ActionButton.js +1 -1
- package/dist/components/ActionButton/ActionButton.stories.js +1 -1
- package/dist/components/ActionButton/ActionButton.styles copy.js +90 -0
- package/dist/components/ActionButton/ActionButton.styles.js +54 -15
- package/dist/components/AlertDialog/AlertDialog.js +2 -2
- package/dist/components/Avatar/Avatar.styles.js +1 -1
- package/dist/components/Button/Button.js +3 -2
- package/dist/components/Button/Button.styles copy.js +210 -0
- package/dist/components/Button/Button.styles.js +203 -43
- package/dist/components/Button/Buttons.stories.js +9 -1
- package/dist/components/Calendar/Calendar.js +39 -2
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Collapsible/Collapsible.styles.js +6 -3
- package/dist/components/DatePicker/DatePicker.js +13 -2
- package/dist/components/Dialog/Dialog.js +4 -4
- package/dist/components/Dropdown/Dropdown.js +9 -7
- package/dist/components/Dropdown/Dropdown.styles.js +1 -1
- package/dist/components/Input/Input.js +8 -1
- package/dist/components/Input/Input.stories.js +3 -2
- package/dist/components/Input/Input.styles.js +13 -5
- package/dist/components/Loading/Loading.js +23 -0
- package/dist/components/Loading/Loading.stories.js +37 -0
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +22 -0
- package/dist/components/ProgressBar/ProgressBar.stories.js +52 -0
- package/dist/components/RadioGroup/RadioGroup.js +2 -2
- package/dist/components/Search/Search.js +6 -7
- package/dist/components/Search/Search.stories.js +8 -5
- package/dist/components/Text/Text.js +17 -2
- package/dist/components/Text/Text.stories.js +5 -1
- package/dist/components/TextInput/TextInput.js +14 -5
- package/dist/components/TextInput/TextInput.stories.js +3 -2
- package/dist/components/TextInput/TextInput.styles.js +120 -18
- package/dist/esm/bundle.css +3220 -1382
- package/dist/esm/bundle.js +3 -3
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/ActionButton/ActionButton.stories.d.ts +4 -4
- package/dist/esm/types/components/ActionButton/ActionButton.styles copy.d.ts +6 -0
- package/dist/esm/types/components/Button/Button.styles copy.d.ts +7 -0
- package/dist/esm/types/components/Button/Button.styles.d.ts +1 -0
- package/dist/esm/types/components/Button/Buttons.stories.d.ts +12 -4
- package/dist/esm/types/components/Calendar/Calendar.d.ts +0 -1
- package/dist/esm/types/components/Calendar/Calendar.stories.d.ts +7 -7
- package/dist/esm/types/components/Checkbox/Checkbox.stories.d.ts +6 -6
- package/dist/esm/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/esm/types/components/DatePicker/DatePicker.stories.d.ts +2 -0
- package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +8 -6
- package/dist/esm/types/components/Input/Input.stories.d.ts +12 -12
- package/dist/esm/types/components/Label/Label.stories.d.ts +6 -6
- package/dist/esm/types/components/Loading/Loading.d.ts +14 -0
- package/dist/esm/types/components/Loading/Loading.stories.d.ts +35 -0
- package/dist/esm/types/components/ProgressBar/ProgressBar.d.ts +13 -0
- package/dist/esm/types/components/ProgressBar/ProgressBar.stories.d.ts +37 -0
- package/dist/esm/types/components/RadioGroup/RadioGroup.stories.d.ts +5 -5
- package/dist/esm/types/components/Search/Search.d.ts +22 -1
- package/dist/esm/types/components/Search/Search.stories.d.ts +338 -7
- package/dist/esm/types/components/Table/Table.stories.d.ts +4 -4
- package/dist/esm/types/components/Text/Text.d.ts +1 -1
- package/dist/esm/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/esm/types/components/TextInput/TextInput.d.ts +4 -0
- package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +11 -6
- package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +8 -0
- package/dist/esm/types/index.d.ts +3 -0
- package/dist/esm/types/stories/ColorGroupPreview.d.ts +1 -0
- package/dist/esm/types/stories/ColorPreview.d.ts +5 -0
- package/dist/index.d.ts +53 -2
- package/dist/index.js +3 -0
- package/dist/src/theme/global.css +5078 -918
- package/dist/stories/ColorGroupPreview.js +478 -0
- package/dist/stories/ColorPreview.js +8 -0
- package/dist/theme/global.css +7 -227
- package/dist/theme/main-preset.js +131 -67
- package/dist/theme/plugins/utilities/typography.js +12 -0
- package/dist/theme/presets/colors.js +101 -220
- package/dist/theme/theme.d.ts +69 -0
- package/dist/theme/themes/xspector/baseline.css +7 -0
- package/dist/theme/themes/xspector/color.css +67 -0
- package/dist/theme/themes/xspector/components/action-button.css +98 -0
- package/dist/theme/themes/xspector/components/loading.css +11 -0
- package/dist/theme/themes/xspector/palette.css +122 -0
- package/dist/theme/themes/xspector/state.css +89 -0
- package/dist/theme/themes/xspector/transparent.css +68 -0
- package/dist/theme/themes/xspector/typography.css +27 -0
- package/dist/theme/tokens/baseline.css +10 -0
- package/dist/theme/tokens/color.css +63 -0
- package/dist/theme/tokens/components/action-button.css +127 -0
- package/dist/theme/tokens/components/button.css +512 -0
- package/dist/theme/tokens/components/loading.css +11 -0
- package/dist/theme/tokens/components/navbar.css +8 -0
- package/dist/theme/tokens/components/progress-bar.css +8 -0
- package/dist/theme/tokens/palette.css +122 -0
- package/dist/theme/tokens/state.css +82 -0
- package/dist/theme/tokens/transparent.css +68 -0
- package/dist/theme/tokens/typography.css +178 -0
- package/dist/theme/tokens/variables.css +28 -0
- package/dist/theme/utils.js +98 -0
- package/package.json +1 -1
- package/src/_theme/global copy.css +761 -0
- package/src/_theme/global.css +39 -0
- package/src/_theme/main-preset.js +239 -0
- package/src/_theme/plugins/utilities/typography.js +81 -0
- package/src/_theme/presets/colors copy 2.js +319 -0
- package/src/_theme/presets/colors copy.js +229 -0
- package/src/_theme/presets/colors.js +94 -0
- package/src/_theme/theme.d.ts +69 -0
- package/src/_theme/variables/base/button.css +334 -0
- package/src/_theme/variables/base/components copy.css +19 -0
- package/src/_theme/variables/default/colors.css +292 -0
- package/src/_theme/variables/default/typography.css +178 -0
- package/src/_theme/variables/xspector/colors.css +468 -0
- package/src/_theme/variables/xspector/typography.css +178 -0
- package/src/components/ActionButton/ActionButton.stories.tsx +1 -1
- package/src/components/ActionButton/ActionButton.styles copy.ts +95 -0
- package/src/components/ActionButton/ActionButton.styles.ts +54 -19
- package/src/components/ActionButton/ActionButton.tsx +1 -1
- package/src/components/AlertDialog/AlertDialog.tsx +2 -2
- package/src/components/Avatar/Avatar.styles.ts +1 -1
- package/src/components/Button/Button.styles copy.ts +214 -0
- package/src/components/Button/Button.styles.ts +203 -47
- package/src/components/Button/Button.tsx +4 -0
- package/src/components/Button/Buttons.stories.tsx +9 -1
- package/src/components/Calendar/Calendar.tsx +49 -7
- package/src/components/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Collapsible/Collapsible.styles.ts +6 -3
- package/src/components/DatePicker/DatePicker.tsx +8 -2
- package/src/components/Dialog/Dialog.tsx +5 -5
- package/src/components/Dropdown/Dropdown.styles.ts +1 -1
- package/src/components/Dropdown/Dropdown.tsx +14 -12
- package/src/components/Input/Input.stories.tsx +3 -2
- package/src/components/Input/Input.styles.tsx +13 -6
- package/src/components/Input/Input.tsx +8 -1
- package/src/components/Loading/Loading.stories.tsx +43 -0
- package/src/components/Loading/Loading.tsx +72 -0
- package/src/components/Popover/Popover.tsx +1 -1
- package/src/components/ProgressBar/ProgressBar.stories.tsx +78 -0
- package/src/components/ProgressBar/ProgressBar.tsx +62 -0
- package/src/components/RadioGroup/RadioGroup.tsx +2 -2
- package/src/components/Search/Search.stories.tsx +13 -13
- package/src/components/Search/Search.tsx +14 -19
- package/src/components/Text/Text.stories.tsx +6 -4
- package/src/components/Text/Text.tsx +27 -3
- package/src/components/TextInput/TextInput.stories.tsx +3 -2
- package/src/components/TextInput/TextInput.styles.ts +124 -19
- package/src/components/TextInput/TextInput.tsx +34 -4
- package/src/index.ts +3 -0
- package/src/stories/ColorGroupPreview.tsx +494 -0
- package/src/stories/ColorPreview.tsx +45 -0
- package/src/stories/Colors.mdx +14 -0
- package/src/stories/Typography.mdx +7 -151
- package/src/theme/global.css +7 -227
- package/src/theme/main-preset.js +131 -67
- package/src/theme/plugins/utilities/typography.js +12 -0
- package/src/theme/presets/colors.js +101 -220
- package/src/theme/theme.d.ts +69 -0
- package/src/theme/themes/xspector/baseline.css +7 -0
- package/src/theme/themes/xspector/color.css +67 -0
- package/src/theme/themes/xspector/components/action-button.css +98 -0
- package/src/theme/themes/xspector/components/loading.css +11 -0
- package/src/theme/themes/xspector/palette.css +122 -0
- package/src/theme/themes/xspector/state.css +89 -0
- package/src/theme/themes/xspector/transparent.css +68 -0
- package/src/theme/themes/xspector/typography.css +27 -0
- package/src/theme/tokens/baseline.css +10 -0
- package/src/theme/tokens/color.css +63 -0
- package/src/theme/tokens/components/action-button.css +127 -0
- package/src/theme/tokens/components/button.css +512 -0
- package/src/theme/tokens/components/loading.css +11 -0
- package/src/theme/tokens/components/navbar.css +8 -0
- package/src/theme/tokens/components/progress-bar.css +8 -0
- package/src/theme/tokens/palette.css +122 -0
- package/src/theme/tokens/state.css +82 -0
- package/src/theme/tokens/transparent.css +68 -0
- package/src/theme/tokens/typography.css +178 -0
- package/src/theme/tokens/variables.css +28 -0
- package/src/theme/utils.js +98 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
type ThemeColorState = {
|
|
2
|
+
default: string; // bg
|
|
3
|
+
hover: string; // bg
|
|
4
|
+
stroke: string; // stroke
|
|
5
|
+
"hover-bg": string; // bg
|
|
6
|
+
pressed: string; // bg
|
|
7
|
+
active: string; // bg
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type ThemeColorTransparent = {
|
|
11
|
+
"8": string;
|
|
12
|
+
"12": string;
|
|
13
|
+
"16": string;
|
|
14
|
+
"24": string;
|
|
15
|
+
"32": string;
|
|
16
|
+
"48": string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
type ThemeMainShadeColor = {
|
|
20
|
+
default: string;
|
|
21
|
+
"5": string;
|
|
22
|
+
"10": string;
|
|
23
|
+
"20": string;
|
|
24
|
+
"30": string;
|
|
25
|
+
"40": string;
|
|
26
|
+
"50": string;
|
|
27
|
+
"60": string;
|
|
28
|
+
"70": string;
|
|
29
|
+
"80": string;
|
|
30
|
+
"90": string;
|
|
31
|
+
"100": string;
|
|
32
|
+
"110": string;
|
|
33
|
+
"120": string;
|
|
34
|
+
"130": string;
|
|
35
|
+
"140": string;
|
|
36
|
+
"150": string;
|
|
37
|
+
foreground: string;
|
|
38
|
+
} & ThemeColorState;
|
|
39
|
+
|
|
40
|
+
type ThemeSecondaryShadeColor = {
|
|
41
|
+
default: string;
|
|
42
|
+
"50": string;
|
|
43
|
+
"100": string;
|
|
44
|
+
"200": string;
|
|
45
|
+
"300": string;
|
|
46
|
+
"400": string;
|
|
47
|
+
"500": string;
|
|
48
|
+
"600": string;
|
|
49
|
+
"700": string;
|
|
50
|
+
"800": string;
|
|
51
|
+
"900": string;
|
|
52
|
+
"950": string;
|
|
53
|
+
foreground: string;
|
|
54
|
+
} & ThemeColorState;
|
|
55
|
+
|
|
56
|
+
type Theme = {
|
|
57
|
+
primary: ThemeMainShadeColor;
|
|
58
|
+
secondary: ThemeMainShadeColor;
|
|
59
|
+
tertiary: ThemeMainShadeColor;
|
|
60
|
+
grey: ThemeMainShadeColor;
|
|
61
|
+
grey2: ThemeSecondaryShadeColor;
|
|
62
|
+
info: ThemeSecondaryShadeColor;
|
|
63
|
+
grey2: ThemeSecondaryShadeColor;
|
|
64
|
+
success: ThemeSecondaryShadeColor;
|
|
65
|
+
warning: ThemeSecondaryShadeColor;
|
|
66
|
+
error: ThemeSecondaryShadeColor;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const myTheme: Theme = {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
|
|
2
|
+
:root[data-theme="xspector"]{
|
|
3
|
+
/* Base from design */
|
|
4
|
+
--input-color-default-text: #9e9e9e;
|
|
5
|
+
--input-color-default-stroke: rgba(158 158 158 / 0.24);
|
|
6
|
+
--input-color-filled-text: #dfe3e8;
|
|
7
|
+
--input-color-active-stroke: rgba(158 158 158 / 0.48);
|
|
8
|
+
--input-color-disable-text: rgba(145 158 171 / 0.52);
|
|
9
|
+
--input-color-disable-stroke: rgba(145 158 171 / 0.08);
|
|
10
|
+
--input-color-disable-bg: rgba(145 158 171 / 0.04);
|
|
11
|
+
--input-color-label-bg: #2d2e30;
|
|
12
|
+
--input-color-error: #ff4d35;
|
|
13
|
+
|
|
14
|
+
--text-dark: #212b36;
|
|
15
|
+
--text-medium: #637381;
|
|
16
|
+
--text-light: #919eab;
|
|
17
|
+
--text-grey-dark: #7e7e7e;
|
|
18
|
+
--text-grey-medium: #aaaaaa;
|
|
19
|
+
--text-grey-light: #dfe3e8;
|
|
20
|
+
--text-white: #ffffff;
|
|
21
|
+
|
|
22
|
+
--base-color-bg: #202427;
|
|
23
|
+
--base-color-bg2: #282c31;
|
|
24
|
+
--base-color-bg3: #d8d8d8;
|
|
25
|
+
--base-color-workspace-stroke: #e2e2e2;
|
|
26
|
+
--base-color-popup: #2d2e30;
|
|
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
|
+
--dashboard-panel-bg-grey: rgba(145 158 171 / 0.08);
|
|
33
|
+
--dashboard-panel-bg-white: rgba(255 255 255 / 0.08);
|
|
34
|
+
--dashboard-panel-border: rgba(168 162 168 / 0.24);
|
|
35
|
+
|
|
36
|
+
/* ------- Addon base ---------- */
|
|
37
|
+
--background: var(--base-color-bg);
|
|
38
|
+
--foreground: var(--common-white);
|
|
39
|
+
|
|
40
|
+
--primary: var(--primary-ramps-primary-100);
|
|
41
|
+
--secondary: var(--secondary-ramps-secondary-100);
|
|
42
|
+
--tertiary: var(--tertiary-ramps-tertiary-100);
|
|
43
|
+
--info: var(--info-info-100);
|
|
44
|
+
--success: var(--success-success-100);
|
|
45
|
+
--warning: var(--warning-warning-100);
|
|
46
|
+
--error: var(--error-error-100);
|
|
47
|
+
--grey: var(--grey-grey-100);
|
|
48
|
+
--grey2: var(--grey2-grey2-100);
|
|
49
|
+
|
|
50
|
+
--primary-foreground: var(--state-color-primary-text-solid);
|
|
51
|
+
--secondary-foreground: var(--state-color-secondary-text-solid);
|
|
52
|
+
--tertiary-foreground: var(--state-color-tertiary-text-solid);
|
|
53
|
+
--info-foreground: var(--state-color-info-text-solid);
|
|
54
|
+
--success-foreground: var(--state-color-success-text-solid);
|
|
55
|
+
--warning-foreground: var(--state-color-warning-text-solid);
|
|
56
|
+
--error-foreground: var(--state-color-error-text-solid);
|
|
57
|
+
--grey-foreground: var(--common-black);
|
|
58
|
+
--grey2-foreground: var(--common-black);
|
|
59
|
+
|
|
60
|
+
--surface: var(--base-color-bg);
|
|
61
|
+
--surface-foreground: var(--common-white);
|
|
62
|
+
|
|
63
|
+
--primary-foreground: var(--common-white);
|
|
64
|
+
--secondary-foreground: var(--common-white);
|
|
65
|
+
|
|
66
|
+
--base-color-popup-foreground: var(--common-white);
|
|
67
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
:root[data-theme="xspector"] {
|
|
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-secondary-default);
|
|
16
|
+
--action-button-solid-default-border: var(--state-color-secondary-default);
|
|
17
|
+
--action-button-solid-default-text: var(--state-color-secondary-text-solid);
|
|
18
|
+
|
|
19
|
+
/* Hover State */
|
|
20
|
+
--action-button-solid-hover-bg: var(--state-color-secondary-hover);
|
|
21
|
+
--action-button-solid-hover-border: var(--state-color-secondary-hover);
|
|
22
|
+
--action-button-solid-hover-text: var(--state-color-secondary-text-solid);
|
|
23
|
+
|
|
24
|
+
/* Pressed State */
|
|
25
|
+
--action-button-solid-pressed-bg: var(--state-color-secondary-pressed);
|
|
26
|
+
--action-button-solid-pressed-border: var(--state-color-secondary-pressed);
|
|
27
|
+
--action-button-solid-pressed-text: var(--state-color-secondary-text-solid);
|
|
28
|
+
|
|
29
|
+
/* Active State */
|
|
30
|
+
--action-button-solid-active-bg: var(--state-color-primary-default);
|
|
31
|
+
--action-button-solid-active-border: var(--state-color-primary-default);
|
|
32
|
+
--action-button-solid-active-text: var(--state-color-primary-text-solid);
|
|
33
|
+
|
|
34
|
+
/* Active Hover State */
|
|
35
|
+
--action-button-solid-active-hover-bg: var(--state-color-primary-hover);
|
|
36
|
+
--action-button-solid-active-hover-border: var(--state-color-primary-hover);
|
|
37
|
+
--action-button-solid-active-hover-text: var(--state-color-primary-text-solid);
|
|
38
|
+
|
|
39
|
+
/* Active Pressed State */
|
|
40
|
+
--action-button-solid-active-pressed-bg: var(--state-color-primary-pressed);
|
|
41
|
+
--action-button-solid-active-pressed-border: var(--state-color-primary-pressed);
|
|
42
|
+
--action-button-solid-active-pressed-text: var(--state-color-primary-text-solid);
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/* ------------------------------------------------------------------ */
|
|
46
|
+
/* Outline Mode Tokens */
|
|
47
|
+
/* ------------------------------------------------------------------ */
|
|
48
|
+
|
|
49
|
+
/* Default State */
|
|
50
|
+
--action-button-outline-default-border: var(--state-color-secondary-stroke);
|
|
51
|
+
--action-button-outline-default-text: var(--state-color-secondary-text-outline);
|
|
52
|
+
|
|
53
|
+
/* Hover State */
|
|
54
|
+
--action-button-outline-hover-bg: var(--state-color-secondary-hover-bg);
|
|
55
|
+
--action-button-outline-hover-border: var(--state-color-secondary-hover);
|
|
56
|
+
--action-button-outline-hover-text: var(--state-color-secondary-text-hover);
|
|
57
|
+
|
|
58
|
+
/* Pressed State */
|
|
59
|
+
--action-button-outline-pressed-bg: var(--state-color-secondary-hover-bg);
|
|
60
|
+
--action-button-outline-pressed-border: var(--state-color-secondary-pressed);
|
|
61
|
+
--action-button-outline-pressed-text: var(--state-color-secondary-text-pressed);
|
|
62
|
+
|
|
63
|
+
/* Active State */
|
|
64
|
+
--action-button-outline-active-border: var(--state-color-primary-stroke);
|
|
65
|
+
--action-button-outline-active-text: var(--state-color-primary-text-outline);
|
|
66
|
+
|
|
67
|
+
/* Active Hover State */
|
|
68
|
+
--action-button-outline-active-hover-bg: var(--state-color-primary-hover-bg);
|
|
69
|
+
--action-button-outline-active-hover-border: var(--state-color-primary-hover);
|
|
70
|
+
--action-button-outline-active-hover-text: var(--state-color-primary-text-hover);
|
|
71
|
+
|
|
72
|
+
/* Active Pressed State */
|
|
73
|
+
--action-button-outline-active-pressed-bg: var(--state-color-primary-hover-bg);
|
|
74
|
+
--action-button-outline-active-pressed-border: var(--state-color-primary-pressed);
|
|
75
|
+
--action-button-outline-active-pressed-text: var(--state-color-primary-text-pressed);
|
|
76
|
+
|
|
77
|
+
/* ------------------------------------------------------------------ */
|
|
78
|
+
/* Icon Mode Tokens */
|
|
79
|
+
/* ------------------------------------------------------------------ */
|
|
80
|
+
|
|
81
|
+
/* Default State */
|
|
82
|
+
--action-button-icon-default-text: var(--state-color-secondary-text-outline);
|
|
83
|
+
|
|
84
|
+
/* Hover State */
|
|
85
|
+
--action-button-icon-hover-bg: var(--state-color-secondary-hover-bg);
|
|
86
|
+
--action-button-icon-hover-text: var(--state-color-secondary-text-hover);
|
|
87
|
+
|
|
88
|
+
/* Pressed State */
|
|
89
|
+
--action-button-icon-pressed-text: var(--state-color-secondary-text-pressed);
|
|
90
|
+
|
|
91
|
+
/* Active State */
|
|
92
|
+
--action-button-icon-active-text: var(--state-color-primary-text-outline);
|
|
93
|
+
|
|
94
|
+
/* Active Hover State */
|
|
95
|
+
--action-button-icon-active-hover-bg: var(--state-color-primary-hover-bg);
|
|
96
|
+
--action-button-icon-active-hover-text: var(--state-color-primary-text-hover);
|
|
97
|
+
--action-button-icon-active-pressed-text: var(--state-color-primary-text-pressed);
|
|
98
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
:root[data-theme="xspector"] {
|
|
2
|
+
/* ------------------------------------------------------------------ */
|
|
3
|
+
/* Loading Component Tokens */
|
|
4
|
+
/* ------------------------------------------------------------------ */
|
|
5
|
+
/* Naming Convention: --[component]-[element]-[property] */
|
|
6
|
+
/* Element: [progress, track] */
|
|
7
|
+
/* ------------------------------------------------------------------ */
|
|
8
|
+
|
|
9
|
+
--loading-process-color: var(--primary);
|
|
10
|
+
--loading-track-color: #9E9E9E7A;
|
|
11
|
+
}
|
|
@@ -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
|
+
}
|