@heliux-org/ui-style 1.0.98 → 1.0.99
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/colors.json +209 -0
- package/dist/index.css +284 -2
- package/dist/index.css.map +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +2 -2
- package/src/Themes/_flare-theme.scss +23 -0
- package/src/Themes/flare/_flare-theme-content-colors.scss +239 -0
- package/src/Themes/flare/_flare-theme-legacy-settings.scss +4 -0
- package/src/Themes/flare/_flare-theme-settings.scss +4 -0
- package/src/_config.scss +2 -0
- package/src/_themes.scss +1 -0
- package/src/config/maps/_config-flare-theme-maps.scss +5 -0
- package/src/config/maps/themes/flare/keys/_flare-theme-keys.scss +118 -0
- package/src/config/maps/themes/flare/keys/legacy/_flare-theme-legacy-keys.scss +33 -0
- package/src/config/maps/themes/flare/palette/legacy/_flare-theme-legacy-palette.scss +7 -0
- package/src/config/tokens/_config-flare-theme-tokens.scss +7 -0
- package/src/config/tokens/themes/flare/keys/_flare-theme-keys.scss +128 -0
- package/src/config/tokens/themes/flare/keys/legacy/flare-theme-legacy-keys.scss +53 -0
- package/src/config/tokens/themes/flare/palette/_flare-theme-palette.scss +25 -0
- package/src/config/tokens/themes/flare/palette/legacy/_flare-theme-legacy-palette.scss +9 -0
- package/src/config/tokens/themes/hacker/keys/_hacker-theme-keys.scss +2 -2
- package/src/files/colors.json +209 -0
package/src/_themes.scss
CHANGED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// flare THEME KEYS
|
|
2
|
+
|
|
3
|
+
// flare THEME COLOR KEYS MAP: flare theme's keys color map.
|
|
4
|
+
// - Map include semantic color keys scope tokens.
|
|
5
|
+
// - Map is collected into the $theme-flare-settings map and is interpolated into custom properties.
|
|
6
|
+
|
|
7
|
+
$theme-flare-keys: (
|
|
8
|
+
primary-color: $theme-flare-primary-color,
|
|
9
|
+
primary-hover-color: $theme-flare-primary-hover-color,
|
|
10
|
+
surface-selected: $theme-flare-surface-selected,
|
|
11
|
+
primary-selected-hover-color: $theme-flare-primary-selected-hover-color,
|
|
12
|
+
primary-highlighted-color: $theme-flare-primary-highlighted-color,
|
|
13
|
+
text-primary: $theme-flare-text-primary,
|
|
14
|
+
text-secondary: $theme-flare-text-secondary,
|
|
15
|
+
text-tertiary: $theme-flare-text-tertiary,
|
|
16
|
+
text-warning: $theme-flare-text-warning,
|
|
17
|
+
text-alert: $theme-flare-text-alert,
|
|
18
|
+
text-success: $theme-flare-text-success,
|
|
19
|
+
text-color-on-inverted: $theme-flare-text-color-on-inverted,
|
|
20
|
+
placeholder-color: $theme-flare-placeholder-color,
|
|
21
|
+
icon-primary: $theme-flare-icon-primary,
|
|
22
|
+
text-link: $theme-flare-text-link,
|
|
23
|
+
fixed-light-color: $theme-flare-fixed-light-color,
|
|
24
|
+
fixed-dark-color: $theme-flare-fixed-dark-color,
|
|
25
|
+
surface-level-050: $theme-flare-surface-level-050,
|
|
26
|
+
surface-level-100: $theme-flare-surface-level-100,
|
|
27
|
+
surface-level-100-hover: $theme-flare-surface-level-100-hover,
|
|
28
|
+
surface-level-200: $theme-flare-surface-level-200,
|
|
29
|
+
surface-level-300: $theme-flare-surface-level-300,
|
|
30
|
+
surface-level-400: $theme-flare-surface-level-400,
|
|
31
|
+
surface-gradient-bg: $theme-flare-surface-gradient-bg,
|
|
32
|
+
surface-inverse: $theme-flare-surface-inverse,
|
|
33
|
+
surface-success: $theme-flare-surface-success,
|
|
34
|
+
surface-alert: $theme-flare-surface-alert,
|
|
35
|
+
surface-warning: $theme-flare-surface-warning,
|
|
36
|
+
surface-overlay: $theme-flare-surface-overlay,
|
|
37
|
+
disabled-text-color: $theme-flare-disabled-text-color,
|
|
38
|
+
disabled-background-color: $theme-flare-disabled-background-color,
|
|
39
|
+
positive-color: $theme-flare-positive-color,
|
|
40
|
+
positive-color-hover: $theme-flare-positive-color-hover,
|
|
41
|
+
positive-color-selected: $theme-flare-positive-color-selected,
|
|
42
|
+
positive-color-selected-hover: $theme-flare-positive-color-selected-hover,
|
|
43
|
+
positive-color-background: $theme-flare-positive-color-background,
|
|
44
|
+
negative-color: $theme-flare-negative-color,
|
|
45
|
+
negative-color-hover: $theme-flare-negative-color-hover,
|
|
46
|
+
negative-color-selected: $theme-flare-negative-color-selected,
|
|
47
|
+
negative-color-selected-hover: $theme-flare-negative-color-selected-hover,
|
|
48
|
+
negative-color-background: $theme-flare-negative-color-background,
|
|
49
|
+
divider-primary: $theme-flare-divider-primary,
|
|
50
|
+
divider-secondary: $theme-flare-divider-secondary,
|
|
51
|
+
divider-tertiary: $theme-flare-divider-tertiary,
|
|
52
|
+
divider-overlay: $theme-flare-divider-overlay,
|
|
53
|
+
divider-halo: $theme-flare-divider-halo,
|
|
54
|
+
divider-selected: $theme-flare-divider-selected,
|
|
55
|
+
warning-color: $theme-flare-warning-color,
|
|
56
|
+
warning-color-hover: $theme-flare-warning-color-hover,
|
|
57
|
+
warning-color-selected: $theme-flare-warning-color-selected,
|
|
58
|
+
warning-color-selected-hover: $theme-flare-warning-color-selected-hover,
|
|
59
|
+
warning-color-background: $theme-flare-warning-color-background,
|
|
60
|
+
brand-color: $theme-flare-primary-color,
|
|
61
|
+
brand-hover-color: $theme-flare-primary-hover-color,
|
|
62
|
+
brand-selected-color: $theme-flare-surface-selected,
|
|
63
|
+
brand-selected-hover-color: $theme-flare-primary-selected-hover-color,
|
|
64
|
+
|
|
65
|
+
text-content-default: $theme-flare-text-content-default,
|
|
66
|
+
text-green-dark: $theme-flare-text-green-dark,
|
|
67
|
+
text-green-med: $theme-flare-text-green-med,
|
|
68
|
+
text-green-light: $theme-flare-text-green-light,
|
|
69
|
+
text-yellow-dark: $theme-flare-text-yellow-dark,
|
|
70
|
+
text-yellow-med: $theme-flare-text-yellow-med,
|
|
71
|
+
text-yellow-light: $theme-flare-text-yellow-light,
|
|
72
|
+
text-red-dark: $theme-flare-text-red-dark,
|
|
73
|
+
text-red-med: $theme-flare-text-red-med,
|
|
74
|
+
text-red-light: $theme-flare-text-red-light,
|
|
75
|
+
text-solar-flare-dark: $theme-flare-text-solar-flare-dark,
|
|
76
|
+
text-solar-flare-med: $theme-flare-text-solar-flare-med,
|
|
77
|
+
text-solar-flare-light: $theme-flare-text-solar-flare-light,
|
|
78
|
+
text-purple-dark: $theme-flare-text-purple-dark,
|
|
79
|
+
text-purple-med: $theme-flare-text-purple-med,
|
|
80
|
+
text-purple-light: $theme-flare-text-purple-light,
|
|
81
|
+
text-pink-dark: $theme-flare-text-pink-dark,
|
|
82
|
+
text-pink-med: $theme-flare-text-pink-med,
|
|
83
|
+
text-pink-light: $theme-flare-text-pink-light,
|
|
84
|
+
text-steel-dark: $theme-flare-text-steel-dark,
|
|
85
|
+
text-steel-med: $theme-flare-text-steel-med,
|
|
86
|
+
text-steel-light: $theme-flare-text-steel-light,
|
|
87
|
+
text-teal-dark: $theme-flare-text-teal-dark,
|
|
88
|
+
text-teal-med: $theme-flare-text-teal-med,
|
|
89
|
+
text-teal-light: $theme-flare-text-teal-light,
|
|
90
|
+
text-lime-dark: $theme-flare-text-lime-dark,
|
|
91
|
+
text-lime-med: $theme-flare-text-lime-med,
|
|
92
|
+
text-lime-light: $theme-flare-text-lime-light,
|
|
93
|
+
text-orange-dark: $theme-flare-text-orange-dark,
|
|
94
|
+
text-orange-med: $theme-flare-text-orange-med,
|
|
95
|
+
text-orange-light: $theme-flare-text-orange-light,
|
|
96
|
+
text-gray-dark: $theme-flare-text-gray-dark,
|
|
97
|
+
text-gray-med: $theme-flare-text-gray-med,
|
|
98
|
+
text-gray-light: $theme-flare-text-gray-light,
|
|
99
|
+
text-obsidian-dark: $theme-flare-text-obsidian-dark,
|
|
100
|
+
text-obsidian-med: $theme-flare-text-obsidian-med,
|
|
101
|
+
text-obsidian-light: $theme-flare-text-obsidian-light,
|
|
102
|
+
text-sand-dark: $theme-flare-text-sand-dark,
|
|
103
|
+
text-sand-med: $theme-flare-text-sand-med,
|
|
104
|
+
text-sand-light: $theme-flare-text-sand-light,
|
|
105
|
+
|
|
106
|
+
);
|
|
107
|
+
|
|
108
|
+
// DARK THEME SHADOW MAP: dark theme's shadow color map.
|
|
109
|
+
// - Map include shadow scope tokens.
|
|
110
|
+
// - Map is collected into the $theme-flare-settings map and is interpolated into custom properties.
|
|
111
|
+
|
|
112
|
+
$theme-flare-shadow-keys: (
|
|
113
|
+
box-shadow-xs: $theme-flare-box-shadow-xs,
|
|
114
|
+
box-shadow-small: $theme-flare-box-shadow-small,
|
|
115
|
+
box-shadow-medium: $theme-flare-box-shadow-medium,
|
|
116
|
+
box-shadow-large: $theme-flare-box-shadow-large,
|
|
117
|
+
shadow-color: $theme-flare-shadow-color
|
|
118
|
+
);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// flare THEME LEGACY KEYS MAP: This partial defines the flare theme's legacy keys color map.
|
|
2
|
+
// - Map include legacy keys scope tokens.
|
|
3
|
+
// - Its main Purpose is to separate legacy tokens to registration tokens and key tokens.
|
|
4
|
+
// - This map is for Key Tokens.
|
|
5
|
+
// - Legacy Key tokens are aliases of registration tokens or content color tokens with a semantic meaning.
|
|
6
|
+
// - Map is collected into the $theme-dark-settings map and is interpolated into custom properties.
|
|
7
|
+
|
|
8
|
+
$theme-flare-legacy-keys: (
|
|
9
|
+
primary-on-secondary-color: $theme-flare-primary-on-secondary-color,
|
|
10
|
+
primary-hover-on-secondary-color: $theme-flare-primary-hover-on-secondary-color,
|
|
11
|
+
surface-selected-rgb: $theme-flare-surface-selected-rgb,
|
|
12
|
+
primary-selected-on-secondary-color: $theme-flare-primary-selected-on-secondary-color,
|
|
13
|
+
primary-text-on-secondary-color: $theme-flare-primary-text-on-secondary-color,
|
|
14
|
+
surface-level-100-rgb: $theme-flare-surface-level-100-rgb,
|
|
15
|
+
primary-background-hover-on-secondary-color: $theme-flare-primary-background-hover-on-secondary-color,
|
|
16
|
+
surface-level-200-rgb: $theme-flare-surface-level-200-rgb,
|
|
17
|
+
text-tertiary: $theme-flare-text-tertiary,
|
|
18
|
+
link-on-secondary-color: $theme-flare-link-on-secondary-color,
|
|
19
|
+
modal-background-color: $theme-flare-modal-background-color,
|
|
20
|
+
dark-background-color: $theme-flare-dark-background-color,
|
|
21
|
+
dark-background-on-secondary-color: $theme-flare-dark-background-on-secondary-color,
|
|
22
|
+
dialog-background-color: $theme-flare-dialog-background-color,
|
|
23
|
+
label-background-color: $theme-flare-label-background-color,
|
|
24
|
+
label-background-on-secondary-color: $theme-flare-label-background-on-secondary-color,
|
|
25
|
+
icon-on-secondary-color: $theme-flare-icon-on-secondary-color,
|
|
26
|
+
placeholder-color-with-opacity: $theme-flare-placeholder-color-with-opacity,
|
|
27
|
+
placeholder-on-secondary-color: $theme-flare-placeholder-on-secondary-color,
|
|
28
|
+
ui-border-on-secondary-color: $theme-flare-ui-border-on-secondary-color,
|
|
29
|
+
layout-border-on-secondary-color: $theme-flare-layout-border-on-secondary-color,
|
|
30
|
+
disabled-background-on-secondary-color: $theme-flare-disabled-background-on-secondary-color,
|
|
31
|
+
disabled-text-on-secondary-color: $theme-flare-disabled-text-on-secondary-color,
|
|
32
|
+
box-shadow-mediun: $box-shadow-mediun
|
|
33
|
+
);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// CONFIG: flare THEME TOKENS
|
|
2
|
+
// This partial loads flare theme's config tokens
|
|
3
|
+
|
|
4
|
+
@import "themes/flare/palette/flare-theme-palette";
|
|
5
|
+
@import "themes/flare/palette/legacy/flare-theme-legacy-palette";
|
|
6
|
+
@import "themes/flare/keys/flare-theme-keys";
|
|
7
|
+
@import "themes/flare/keys/legacy/flare-theme-legacy-keys";
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
// flare THEME TOKENS: SEMANTIC KEYS COLORS
|
|
2
|
+
// - This partial defines Basic Theme's Semantic Keys color tokens
|
|
3
|
+
|
|
4
|
+
// - Theme keys should hold registration values (colors, content colors, other keys)
|
|
5
|
+
// - In some case there are unique hex values assignments
|
|
6
|
+
// - They should be transformed into Registration colors.
|
|
7
|
+
// - We add some annotation to their scope when found.
|
|
8
|
+
// - When several key has the same value and have a connection
|
|
9
|
+
// - We either use $theme-flare token or var(--token) depending on connection logic and value type.
|
|
10
|
+
@use "sass:color";
|
|
11
|
+
|
|
12
|
+
// SHADOWS
|
|
13
|
+
$theme-flare-shadow-color: $color-black;
|
|
14
|
+
|
|
15
|
+
$theme-flare-box-shadow-xs: $shadow-size-xs $theme-flare-shadow-color;
|
|
16
|
+
$theme-flare-box-shadow-small: $shadow-size-small $theme-flare-shadow-color;
|
|
17
|
+
$theme-flare-box-shadow-medium: $shadow-size-medium $theme-flare-shadow-color;
|
|
18
|
+
$theme-flare-box-shadow-large: $shadow-size-large $theme-flare-shadow-color;
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// Fixed colors - Mostly Monochrome Values
|
|
23
|
+
$theme-flare-fixed-light-color: $color-white;
|
|
24
|
+
$theme-flare-fixed-dark-color: $color-black;
|
|
25
|
+
|
|
26
|
+
// SURFACES COLORS
|
|
27
|
+
$theme-flare-surface-level-050: $colors-gray-900;
|
|
28
|
+
$theme-flare-surface-level-100: $colors-red-950;
|
|
29
|
+
$theme-flare-surface-level-100-hover: rgba($colors-gray-950, 0.3);
|
|
30
|
+
$theme-flare-surface-level-200: $color-black;
|
|
31
|
+
$theme-flare-surface-level-300: $color-black;
|
|
32
|
+
$theme-flare-surface-level-400: $color-black; //todo: fix, grey and allgrey should not be the same
|
|
33
|
+
$theme-flare-surface-gradient-bg: $colors-gradient-solar;
|
|
34
|
+
$theme-flare-surface-selected: $colors-steel-800;
|
|
35
|
+
$theme-flare-surface-inverse: $color-white; // todo: fix, value from basic theme
|
|
36
|
+
$theme-flare-surface-success: $colors-green-700;
|
|
37
|
+
$theme-flare-surface-alert: $colors-red-700;
|
|
38
|
+
$theme-flare-surface-warning: $colors-yellow-700;
|
|
39
|
+
$theme-flare-surface-overlay: rgba($colors-gray-950, $opacity-30);
|
|
40
|
+
|
|
41
|
+
// BRAND COLORS
|
|
42
|
+
$theme-flare-primary-color: $colors-lime-600;
|
|
43
|
+
$theme-flare-primary-hover-color: #{color.adjust($color-pink-plastic, $lightness: -6%)};
|
|
44
|
+
$theme-flare-primary-selected-hover-color: $color-deep_blue;
|
|
45
|
+
$theme-flare-primary-highlighted-color: $color-downriver;
|
|
46
|
+
|
|
47
|
+
// TEXT COLORS
|
|
48
|
+
$theme-flare-text-primary: $color-white;
|
|
49
|
+
$theme-flare-text-secondary: $colors-gray-400; // todo: fix, value from basic legacy palette
|
|
50
|
+
$theme-flare-text-tertiary: $colors-gray-700; // todo: fix, value from basic legacy palette
|
|
51
|
+
$theme-flare-text-warning: $colors-yellow-400;
|
|
52
|
+
$theme-flare-text-alert: $colors-red-200;
|
|
53
|
+
$theme-flare-text-success: $colors-green-200;
|
|
54
|
+
$theme-flare-text-color-on-inverted: $color-mud_black; // todo: fix, value from basic theme
|
|
55
|
+
$theme-flare-placeholder-color: $color-wolf_gray; // todo: fix, value from basic theme
|
|
56
|
+
$theme-flare-icon-primary: $color-wolf_gray; // todo: fix, value from basic theme
|
|
57
|
+
$theme-flare-text-link: $colors-lime-300;
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
// TEXT CONTENT COLORS
|
|
61
|
+
$theme-flare-text-content-default: $colors-steel-100;
|
|
62
|
+
$theme-flare-text-green-dark: $colors-green-600;
|
|
63
|
+
$theme-flare-text-green-med: $colors-green-100;
|
|
64
|
+
$theme-flare-text-green-light: $colors-green-100;
|
|
65
|
+
$theme-flare-text-yellow-dark: $colors-yellow-600;
|
|
66
|
+
$theme-flare-text-yellow-med: $colors-yellow-100;
|
|
67
|
+
$theme-flare-text-yellow-light: $colors-yellow-100;
|
|
68
|
+
$theme-flare-text-red-dark: $colors-red-600;
|
|
69
|
+
$theme-flare-text-red-med: $colors-red-100;
|
|
70
|
+
$theme-flare-text-red-light: $colors-red-100;
|
|
71
|
+
$theme-flare-text-solar-flare-dark: $colors-solar-flare-600;
|
|
72
|
+
$theme-flare-text-solar-flare-med: $colors-solar-flare-100;
|
|
73
|
+
$theme-flare-text-solar-flare-light: $colors-solar-flare-100;
|
|
74
|
+
$theme-flare-text-purple-dark: $colors-purple-600;
|
|
75
|
+
$theme-flare-text-purple-med: $colors-purple-100;
|
|
76
|
+
$theme-flare-text-purple-light: $colors-purple-100;
|
|
77
|
+
$theme-flare-text-pink-dark: $colors-pink-600;
|
|
78
|
+
$theme-flare-text-pink-med: $colors-pink-100;
|
|
79
|
+
$theme-flare-text-pink-light: $colors-pink-100;
|
|
80
|
+
$theme-flare-text-steel-dark: $colors-steel-600;
|
|
81
|
+
$theme-flare-text-steel-med: $colors-steel-100;
|
|
82
|
+
$theme-flare-text-steel-light: $colors-steel-100;
|
|
83
|
+
$theme-flare-text-teal-dark: $colors-teal-600;
|
|
84
|
+
$theme-flare-text-teal-med: $colors-teal-100;
|
|
85
|
+
$theme-flare-text-teal-light: $colors-teal-100;
|
|
86
|
+
$theme-flare-text-lime-dark: $colors-lime-600;
|
|
87
|
+
$theme-flare-text-lime-med: $colors-lime-100;
|
|
88
|
+
$theme-flare-text-lime-light: $colors-lime-100;
|
|
89
|
+
$theme-flare-text-orange-dark: $colors-orange-600;
|
|
90
|
+
$theme-flare-text-orange-med: $colors-orange-100;
|
|
91
|
+
$theme-flare-text-orange-light: $colors-orange-100;
|
|
92
|
+
$theme-flare-text-gray-dark: $colors-gray-600;
|
|
93
|
+
$theme-flare-text-gray-med: $colors-gray-100;
|
|
94
|
+
$theme-flare-text-gray-light: $colors-gray-100;
|
|
95
|
+
$theme-flare-text-obsidian-dark: $colors-obsidian-600;
|
|
96
|
+
$theme-flare-text-obsidian-med: $colors-obsidian-100;
|
|
97
|
+
$theme-flare-text-obsidian-light: $colors-obsidian-100;
|
|
98
|
+
$theme-flare-text-sand-dark: $colors-sand-600;
|
|
99
|
+
$theme-flare-text-sand-med: $colors-sand-100;
|
|
100
|
+
$theme-flare-text-sand-light: $colors-sand-100;
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
// System Semantics (state, status)
|
|
104
|
+
$theme-flare-disabled-text-color: $theme-black-disabled-text-color;
|
|
105
|
+
$theme-flare-disabled-background-color: $color-dust-muted;
|
|
106
|
+
$theme-flare-positive-color: $colors-green-700;
|
|
107
|
+
$theme-flare-positive-color-hover: $colors-green-600;
|
|
108
|
+
$theme-flare-positive-color-selected: $colors-green-600;
|
|
109
|
+
$theme-flare-positive-color-selected-hover: $colors-green-500;
|
|
110
|
+
$theme-flare-positive-color-background: $colors-green-700;
|
|
111
|
+
$theme-flare-negative-color: $colors-red-700;
|
|
112
|
+
$theme-flare-negative-color-hover: $colors-red-600;
|
|
113
|
+
$theme-flare-negative-color-selected: $colors-red-600;
|
|
114
|
+
$theme-flare-negative-color-selected-hover: $colors-red-500;
|
|
115
|
+
$theme-flare-negative-color-background: $colors-red-700;
|
|
116
|
+
$theme-flare-warning-color: $colors-yellow-700;
|
|
117
|
+
$theme-flare-warning-color-hover: $colors-yellow-600;
|
|
118
|
+
$theme-flare-warning-color-selected: $colors-yellow-600;
|
|
119
|
+
$theme-flare-warning-color-selected-hover: $colors-yellow-500;
|
|
120
|
+
$theme-flare-warning-color-background: $colors-yellow-700;
|
|
121
|
+
|
|
122
|
+
// DIVIDER COLORS
|
|
123
|
+
$theme-flare-divider-primary: $colors-gray-700;
|
|
124
|
+
$theme-flare-divider-secondary: $colors-gray-600;
|
|
125
|
+
$theme-flare-divider-tertiary: $colors-gray-300;
|
|
126
|
+
$theme-flare-divider-overlay: rgba($colors-gray-100, $shadow-xs-opacity);
|
|
127
|
+
$theme-flare-divider-halo: $colors-lime-600;
|
|
128
|
+
$theme-flare-divider-selected: $colors-lime-400;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// flare THEME TOKENS: LEGACY KEYS
|
|
2
|
+
// - This partial defines flare Theme's legacy keys tokens
|
|
3
|
+
// - Legacy keys are colors that are not part of the theme's keys
|
|
4
|
+
// - Legacy keys are currently presented as custom properties
|
|
5
|
+
// - Due to separation between Registration and Semantic candidates sort order between group is important
|
|
6
|
+
// - Some Semantic candidates are aliases or Registration colors (as it should be)
|
|
7
|
+
// - Legacy keys might be in use within themes.
|
|
8
|
+
// - Per now they cannot be deprecated.
|
|
9
|
+
// - We define a token as a legacy key when:
|
|
10
|
+
// - It has a legacy registration color as value.(value duplication)
|
|
11
|
+
// - It has name that indicates a certain role
|
|
12
|
+
// - It is abstract and not tied to a specific use. (such as some legacy tokens)
|
|
13
|
+
// - Some other token is using them and it makes a sense (connection is clear)
|
|
14
|
+
// - This way we eliminate duplication for hard coded value declaration.
|
|
15
|
+
|
|
16
|
+
// # Not in Vibe UI definitions
|
|
17
|
+
|
|
18
|
+
@use "sass:color";
|
|
19
|
+
|
|
20
|
+
$theme-flare-primary-on-secondary-color: $color-pink-plastic;
|
|
21
|
+
$theme-flare-primary-hover-on-secondary-color: #{color.adjust($color-pink-plastic, $lightness: -6%)};
|
|
22
|
+
$theme-flare-surface-selected-rgb: extract-rgb($color-viola-vivid);
|
|
23
|
+
$theme-flare-primary-selected-on-secondary-color: $color-viola-vivid;
|
|
24
|
+
$theme-flare-primary-text-on-secondary-color: $color-snow;
|
|
25
|
+
|
|
26
|
+
$theme-flare-surface-level-100-rgb: extract-rgb($color-night-sky);
|
|
27
|
+
$theme-flare-primary-background-hover-on-secondary-color: $color-silver;
|
|
28
|
+
$theme-flare-surface-level-200-rgb: extract-rgb($color-graphite);
|
|
29
|
+
|
|
30
|
+
$theme-flare-link-on-secondary-color: $color-liliac;
|
|
31
|
+
|
|
32
|
+
$theme-flare-modal-background-color: $color-night-sky;
|
|
33
|
+
$theme-flare-dark-background-color: $color-parisian-night;
|
|
34
|
+
$theme-flare-dark-background-on-secondary-color: $color-shadow-mountain;
|
|
35
|
+
$theme-flare-dialog-background-color: $color-graphite;
|
|
36
|
+
|
|
37
|
+
$theme-flare-label-background-color: $color-buster_blue; // todo: fix, not part of Vibe colors
|
|
38
|
+
$theme-flare-label-background-on-secondary-color: $color-buster_blue; // todo: fix, not part of Vibe colors
|
|
39
|
+
|
|
40
|
+
$theme-flare-icon-on-secondary-color: $color-wolf_gray;
|
|
41
|
+
$theme-flare-placeholder-color-with-opacity: $color-wolf_gray-with-opacity;
|
|
42
|
+
$theme-flare-placeholder-on-secondary-color: $color-wolf_gray;
|
|
43
|
+
|
|
44
|
+
// States
|
|
45
|
+
$theme-flare-disabled-text-on-secondary-color: $theme-flare-disabled-text-color;
|
|
46
|
+
$theme-flare-disabled-background-on-secondary-color: $theme-flare-disabled-background-color;
|
|
47
|
+
|
|
48
|
+
// borders
|
|
49
|
+
$theme-flare-ui-border-on-secondary-color: $color-fog;
|
|
50
|
+
$theme-flare-layout-border-on-secondary-color: $color-blue-manhattan;
|
|
51
|
+
|
|
52
|
+
// legacy shadow
|
|
53
|
+
$theme-flare-box-shadow-mediun: var(--box-shadow-medium);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// flare THEME TOKENS: BASE COLORS
|
|
2
|
+
// - This partial defines Dark Theme's base color tokens
|
|
3
|
+
// -- Please notice Dark theme is also using basic theme colors as dependency.
|
|
4
|
+
// --- Only New theme related colors are defined here.
|
|
5
|
+
|
|
6
|
+
// Colors
|
|
7
|
+
// - Brand
|
|
8
|
+
$color-pink-plastic: #fe78c6;
|
|
9
|
+
$color-viola-vivid: #9f4077;
|
|
10
|
+
$color-liliac: #bd93f9;
|
|
11
|
+
$color-deep_blue: #0d2e65;
|
|
12
|
+
|
|
13
|
+
// - Semantics
|
|
14
|
+
$color-red-fluorescent: #ff5555;
|
|
15
|
+
$color-amber_red: #5a2027;
|
|
16
|
+
|
|
17
|
+
$color-green-grotesque: #50fa7b;
|
|
18
|
+
$color-green-blackboard: #26503e;
|
|
19
|
+
$color-darker_green: #194733;
|
|
20
|
+
|
|
21
|
+
// Natural / Gray
|
|
22
|
+
$color-night-sky: #282a36;
|
|
23
|
+
$color-blue-manhattan: #414458;
|
|
24
|
+
$color-parisian-night: #303241;
|
|
25
|
+
$color-shadow-mountain: #595959;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// flare THEME TOKENS: LEGACY COLORS
|
|
2
|
+
// - This partial defines flare Theme's legacy color tokens
|
|
3
|
+
// - Legacy colors are colors that are not part of the theme's keys
|
|
4
|
+
|
|
5
|
+
// success and error are redundant aliases the should not be used.
|
|
6
|
+
// we use positive and negative keys instead.
|
|
7
|
+
|
|
8
|
+
$theme-flare-error: $color-red-fluorescent;
|
|
9
|
+
$theme-flare-success: $color-green-grotesque;
|
|
@@ -25,8 +25,8 @@ $theme-hacker-fixed-dark-color: $color-black;
|
|
|
25
25
|
|
|
26
26
|
// SURFACES COLORS
|
|
27
27
|
$theme-hacker-surface-level-050: $colors-gray-900;
|
|
28
|
-
$theme-hacker-surface-level-100: $colors-
|
|
29
|
-
$theme-hacker-surface-level-100-hover: rgba($colors-
|
|
28
|
+
$theme-hacker-surface-level-100: $colors-green-900;
|
|
29
|
+
$theme-hacker-surface-level-100-hover: rgba($colors-green-900, 0.3);
|
|
30
30
|
$theme-hacker-surface-level-200: $color-black;
|
|
31
31
|
$theme-hacker-surface-level-300: $color-black;
|
|
32
32
|
$theme-hacker-surface-level-400: $color-black; //todo: fix, grey and allgrey should not be the same
|
package/src/files/colors.json
CHANGED
|
@@ -708,5 +708,214 @@
|
|
|
708
708
|
"color-warning-hover": "#EAAA15",
|
|
709
709
|
"color-warning-select": "#503e02",
|
|
710
710
|
"color-warning-select-hover": "#402f00"
|
|
711
|
+
},
|
|
712
|
+
"flare-app-theme": {
|
|
713
|
+
"primary-color": "#fe78c6",
|
|
714
|
+
"primary-on-secondary-color": "#fe78c6",
|
|
715
|
+
"primary-hover-color": "#fe5ab9",
|
|
716
|
+
"primary-hover-on-secondary-color": "#fe5ab9",
|
|
717
|
+
"surface-selected": "#9f4077",
|
|
718
|
+
"surface-selected-rgb": "#9f4077",
|
|
719
|
+
"primary-selected-hover-color": "#0d2e65",
|
|
720
|
+
"primary-highlighted-color": "#0b2858",
|
|
721
|
+
"primary-selected-on-secondary-color": "#9f4077",
|
|
722
|
+
"text-primary": "#d5d8df",
|
|
723
|
+
"primary-text-on-secondary-color": "#d5d8df",
|
|
724
|
+
"fixed-light-color": "#ffffff",
|
|
725
|
+
"fixed-dark-color": "#323338",
|
|
726
|
+
"surface-level-050": "#ffffff",
|
|
727
|
+
"surface-level-100": "#282a36",
|
|
728
|
+
"surface-level-100-rgb": "#282a36",
|
|
729
|
+
"surface-level-100-hover": "#4b4e69",
|
|
730
|
+
"primary-background-hover-on-secondary-color": "#4b4e69",
|
|
731
|
+
"surface-level-300": "#282a36",
|
|
732
|
+
"surface-level-400": "#282a36",
|
|
733
|
+
"surface-gradient-bg": "#f6f7fb",
|
|
734
|
+
"surface-inverse": "#ffffff",
|
|
735
|
+
"surface-success": "#359970",
|
|
736
|
+
"surface-warning": "#ffd533",
|
|
737
|
+
"surface-overlay": "#ffd533",
|
|
738
|
+
"surface-alert": "#d83a52",
|
|
739
|
+
"text-color-on-inverted": "#323338",
|
|
740
|
+
"modal-background-color": "#282a36",
|
|
741
|
+
"color-error": "#ff5555",
|
|
742
|
+
"color-success": "#50fa7b",
|
|
743
|
+
"positive-color": "#00854d",
|
|
744
|
+
"positive-color-hover": "#007038",
|
|
745
|
+
"positive-color-selected": "#26503e",
|
|
746
|
+
"positive-color-selected-hover": "#194733",
|
|
747
|
+
"negative-color": "#d83a52",
|
|
748
|
+
"negative-color-hover": "#b63546",
|
|
749
|
+
"negative-color-selected": "#642830",
|
|
750
|
+
"negative-color-selected-hover": "#5a2027",
|
|
751
|
+
"divider-primary": "#797e93",
|
|
752
|
+
"ui-border-on-secondary-color": "#797e93",
|
|
753
|
+
"divider-secondary": "#414458",
|
|
754
|
+
"layout-border-on-secondary-color": "#414458",
|
|
755
|
+
"placeholder-color": "#c3c6d4",
|
|
756
|
+
"placeholder-on-secondary-color": "#c3c6d4",
|
|
757
|
+
"icon-primary": "#c3c6d4",
|
|
758
|
+
"icon-on-secondary-color": "#c3c6d4",
|
|
759
|
+
"disabled-background-color": "#3a3a3a",
|
|
760
|
+
"disabled-background-on-secondary-color": "#3a3a3a",
|
|
761
|
+
"dark-background-color": "#303241",
|
|
762
|
+
"dark-background-on-secondary-color": "#595959",
|
|
763
|
+
"surface-level-200": "#30324e",
|
|
764
|
+
"surface-level-200-rgb": "#30324e",
|
|
765
|
+
"dialog-background-color": "#30324e",
|
|
766
|
+
"label-background-color": "#404b69",
|
|
767
|
+
"label-background-on-secondary-color": "#404b69",
|
|
768
|
+
"text-secondary": "#9699a6",
|
|
769
|
+
"text-tertiary": "#9699a6",
|
|
770
|
+
"text-link": "#bd93f9",
|
|
771
|
+
"link-on-secondary-color": "#bd93f9",
|
|
772
|
+
"color-green-dark": "#359970",
|
|
773
|
+
"color-green-dark-hover": "#116846",
|
|
774
|
+
"color-green-dark-selected": "#0a482e",
|
|
775
|
+
"color-green-med": "#33d391",
|
|
776
|
+
"color-green-med-hover": "#0f9b63",
|
|
777
|
+
"color-green-med-selected": "#096c43",
|
|
778
|
+
"color-green-light": "#b0dc51",
|
|
779
|
+
"color-green-light-hover": "#7ca32b",
|
|
780
|
+
"color-green-light-selected": "#56721b",
|
|
781
|
+
"color-saladish": "#d5c567",
|
|
782
|
+
"color-saladish-hover": "#9d8f3e",
|
|
783
|
+
"color-saladish-selected": "#6d6329",
|
|
784
|
+
"color-yellow-dark": "#ffd533",
|
|
785
|
+
"color-yellow-dark-hover": "#c29e11",
|
|
786
|
+
"color-yellow-dark-selected": "#886e09",
|
|
787
|
+
"color-yellow-med": "#fdbc64",
|
|
788
|
+
"color-yellow-med-hover": "#c0873c",
|
|
789
|
+
"color-yellow-med-selected": "#875e27",
|
|
790
|
+
"color-yellow-light": "#ff7b4d",
|
|
791
|
+
"color-yellow-light-hover": "#c25531",
|
|
792
|
+
"color-yellow-light-selected": "#883a1f",
|
|
793
|
+
"color-red-dark": "#ffbdbd",
|
|
794
|
+
"color-red-dark-hover": "#c2888a",
|
|
795
|
+
"color-red-dark-selected": "#885f5f",
|
|
796
|
+
"color-red-med": "#ff9191",
|
|
797
|
+
"color-red-med-hover": "#c26163",
|
|
798
|
+
"color-red-med-selected": "#884343",
|
|
799
|
+
"color-red-light": "#e8697d",
|
|
800
|
+
"color-red-light-hover": "#ad3f51",
|
|
801
|
+
"color-red-light-selected": "#792a36",
|
|
802
|
+
"color-sand-dark": "#4e73a7",
|
|
803
|
+
"color-sand-dark-hover": "#274776",
|
|
804
|
+
"color-sand-dark-selected": "#193151",
|
|
805
|
+
"color-sand-med": "#79affd",
|
|
806
|
+
"color-sand-med-hover": "#4c7cc1",
|
|
807
|
+
"color-sand-med-selected": "#345686",
|
|
808
|
+
"color-sand-light": "#339ecd",
|
|
809
|
+
"color-sand-light-hover": "#0f6d97",
|
|
810
|
+
"color-sand-light-selected": "#094b69",
|
|
811
|
+
"color-obsidian-dark": "#4e73a7",
|
|
812
|
+
"color-obsidian-dark-hover": "#274776",
|
|
813
|
+
"color-obsidian-dark-selected": "#193151",
|
|
814
|
+
"color-obsidian-med": "#79affd",
|
|
815
|
+
"color-obsidian-med-hover": "#4c7cc1",
|
|
816
|
+
"color-obsidian-med-selected": "#345686",
|
|
817
|
+
"color-obsidian-light": "#339ecd",
|
|
818
|
+
"color-obsidian-light-hover": "#0f6d97",
|
|
819
|
+
"color-obsidian-light-selected": "#094b69",
|
|
820
|
+
"color-solarflare-dark": "#c95c76",
|
|
821
|
+
"color-solarflare-dark-hover": "#92334c",
|
|
822
|
+
"color-solarflare-dark-selected": "#662232",
|
|
823
|
+
"color-solarflare-med": "#ff44a1",
|
|
824
|
+
"color-solarflare-med-hover": "#c21e71",
|
|
825
|
+
"color-solarflare-med-selected": "#88134d",
|
|
826
|
+
"color-solarflare-light": "#ff7bd0",
|
|
827
|
+
"color-solarflare-light-hover": "#c24e9a",
|
|
828
|
+
"color-solarflare-light-selected": "#88356a",
|
|
829
|
+
"color-purple-dark": "#fbb4f4",
|
|
830
|
+
"color-purple-dark-hover": "#be80ba",
|
|
831
|
+
"color-purple-dark-selected": "#855981",
|
|
832
|
+
"color-purple-med": "#b57de3",
|
|
833
|
+
"color-purple-med-hover": "#8050ab",
|
|
834
|
+
"color-purple-med-selected": "#593776",
|
|
835
|
+
"color-purple-light": "#936fda",
|
|
836
|
+
"color-purple-light-hover": "#6344a3",
|
|
837
|
+
"color-purple-light-selected": "#442e71",
|
|
838
|
+
"color-pink-dark": "#9862a1",
|
|
839
|
+
"color-pink-dark-hover": "#673971",
|
|
840
|
+
"color-pink-dark-selected": "#47264d",
|
|
841
|
+
"color-pink-med": "#6645a9",
|
|
842
|
+
"color-pink-med-hover": "#3c1f78",
|
|
843
|
+
"color-pink-med-selected": "#291452",
|
|
844
|
+
"color-pink-light": "#777ae5",
|
|
845
|
+
"color-pink-light-hover": "#4b4ead",
|
|
846
|
+
"color-pink-light-selected": "#333578",
|
|
847
|
+
"color-steel-dark": "#4e73a7",
|
|
848
|
+
"color-steel-dark-hover": "#274776",
|
|
849
|
+
"color-steel-dark-selected": "#193151",
|
|
850
|
+
"color-steel-med": "#79affd",
|
|
851
|
+
"color-steel-med-hover": "#4c7cc1",
|
|
852
|
+
"color-steel-med-selected": "#345686",
|
|
853
|
+
"color-steel-light": "#339ecd",
|
|
854
|
+
"color-steel-light-hover": "#0f6d97",
|
|
855
|
+
"color-steel-light-selected": "#094b69",
|
|
856
|
+
"color-teal-dark": "#71d6d1",
|
|
857
|
+
"color-teal-dark-hover": "#469e9b",
|
|
858
|
+
"color-teal-dark-selected": "#2f6e6b",
|
|
859
|
+
"color-teal-med": "#85d6ff",
|
|
860
|
+
"color-teal-med-hover": "#569ec3",
|
|
861
|
+
"color-teal-med-selected": "#3b6e88",
|
|
862
|
+
"color-teal-light": "#86b4ca",
|
|
863
|
+
"color-teal-light-hover": "#588095",
|
|
864
|
+
"color-teal-light-selected": "#3c5967",
|
|
865
|
+
"color-lime-dark": "#aebdca",
|
|
866
|
+
"color-lime-dark-hover": "#7b8895",
|
|
867
|
+
"color-lime-dark-selected": "#555f67",
|
|
868
|
+
"color-lime-med": "#d0d0d0",
|
|
869
|
+
"color-lime-med-hover": "#98999a",
|
|
870
|
+
"color-lime-med-selected": "#6a6a6a",
|
|
871
|
+
"color-lime-light": "#999999",
|
|
872
|
+
"color-lime-light-hover": "#69696a",
|
|
873
|
+
"color-lime-light-selected": "#494949",
|
|
874
|
+
"color-orange-dark": "#5c5c5c",
|
|
875
|
+
"color-orange-dark-hover": "#684943",
|
|
876
|
+
"color-orange-dark-selected": "#48322c",
|
|
877
|
+
"color-orange-med": "#99756c",
|
|
878
|
+
"color-orange-med-hover": "#684943",
|
|
879
|
+
"color-orange-med-selected": "#48322c",
|
|
880
|
+
"color-orange-light": "#e190c0",
|
|
881
|
+
"color-orange-light-hover": "#b4739a",
|
|
882
|
+
"color-orange-light-selected": "#7e516c",
|
|
883
|
+
"color-gray-dark": "#5c5c5c",
|
|
884
|
+
"color-gray-dark-hover": "#684943",
|
|
885
|
+
"color-gray-dark-selected": "#48322c",
|
|
886
|
+
"color-gray-med": "#99756c",
|
|
887
|
+
"color-gray-med-hover": "#684943",
|
|
888
|
+
"color-gray-med-selected": "#48322c",
|
|
889
|
+
"color-gray-light": "#e190c0",
|
|
890
|
+
"color-gray-light-hover": "#b4739a",
|
|
891
|
+
"color-gray-light-selected": "#7e516c",
|
|
892
|
+
"color-sky": "#b4e9f8",
|
|
893
|
+
"color-sky-hover": "#90bac6",
|
|
894
|
+
"color-sky-selected": "#65828b",
|
|
895
|
+
"color-coffee": "#ca9a8b",
|
|
896
|
+
"color-coffee-hover": "#a27b6f",
|
|
897
|
+
"color-coffee-selected": "#71564e",
|
|
898
|
+
"color-royal": "#5591ea",
|
|
899
|
+
"color-royal-hover": "#4474bb",
|
|
900
|
+
"color-royal-selected": "#305183",
|
|
901
|
+
"color-teal": "#457b82",
|
|
902
|
+
"color-teal-hover": "#376268",
|
|
903
|
+
"color-teal-selected": "#274549",
|
|
904
|
+
"color-lavender": "#cab9fa",
|
|
905
|
+
"color-lavender-hover": "#a294c8",
|
|
906
|
+
"color-lavender-selected": "#71688c",
|
|
907
|
+
"color-steel": "#bacbed",
|
|
908
|
+
"color-steel-hover": "#95a2be",
|
|
909
|
+
"color-steel-selected": "#687185",
|
|
910
|
+
"color-lilac": "#687185",
|
|
911
|
+
"color-lilac-hover": "#8e8a9f",
|
|
912
|
+
"color-lilac-selected": "#63616f",
|
|
913
|
+
"color-pecan": "#786565",
|
|
914
|
+
"color-pecan-hover": "#605151",
|
|
915
|
+
"color-pecan-selected": "#433939",
|
|
916
|
+
"color-warning": "#FFCB00",
|
|
917
|
+
"color-warning-hover": "#EAAA15",
|
|
918
|
+
"color-warning-select": "#503e02",
|
|
919
|
+
"color-warning-select-hover": "#402f00"
|
|
711
920
|
}
|
|
712
921
|
}
|