mis-crystal-design-system 18.0.21 → 18.0.22-test-dynamic-theme
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/button/button.directive.scss +13 -13
- package/drawer/drawer.scss +1 -1
- package/dynamic-theme/branding.types.d.ts +84 -0
- package/dynamic-theme/dynamic-theme.module.d.ts +9 -0
- package/dynamic-theme/dynamic-theme.service.d.ts +89 -0
- package/dynamic-theme/index.d.ts +1 -0
- package/dynamic-theme/public_api.d.ts +3 -0
- package/esm2022/action-list/action-list.component.mjs +2 -2
- package/esm2022/async-search-dropdown/async-dropdown.component.mjs +2 -2
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/checkbox/checkbox.component.mjs +2 -2
- package/esm2022/chip/chip.component.mjs +2 -2
- package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +2 -2
- package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +2 -2
- package/esm2022/dropdown/dropdown.component.mjs +7 -7
- package/esm2022/dynamic-form/dynamic-form.component.mjs +2 -2
- package/esm2022/dynamic-theme/branding.types.mjs +93 -0
- package/esm2022/dynamic-theme/dynamic-theme.module.mjs +25 -0
- package/esm2022/dynamic-theme/dynamic-theme.service.mjs +193 -0
- package/esm2022/dynamic-theme/index.mjs +2 -0
- package/esm2022/dynamic-theme/mis-crystal-design-system-dynamic-theme.mjs +5 -0
- package/esm2022/dynamic-theme/public_api.mjs +4 -0
- package/esm2022/fab/fab.component.mjs +3 -3
- package/esm2022/filter/filter-panel/filter-panel.component.mjs +3 -3
- package/esm2022/input/mis-input.component.mjs +2 -2
- package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +2 -2
- package/esm2022/loader/loader.component.mjs +2 -2
- package/esm2022/mobile-filter/mobile-filter.component.mjs +2 -2
- package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +2 -2
- package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +2 -2
- package/esm2022/phone-input/phone-input.component.mjs +2 -2
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/radio-button/radio-button.component.mjs +2 -2
- package/esm2022/ske-loader/ske-loader.component.mjs +2 -2
- package/esm2022/slider/slider.component.mjs +2 -2
- package/esm2022/snackbar/snackbar/snackbar.component.mjs +2 -2
- package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +2 -2
- package/esm2022/star-rating/star-rating.component.mjs +2 -2
- package/esm2022/switch/switch.component.mjs +2 -2
- package/esm2022/table/actions-cell/actions-cell.component.mjs +2 -2
- package/esm2022/table/filter/filter.component.mjs +2 -2
- package/esm2022/table/sub-table/sub-table.component.mjs +2 -2
- package/esm2022/table/table.component.mjs +2 -2
- package/esm2022/timepicker/timepicker.component.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +3 -3
- package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-action-list.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-button.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-checkbox.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-chip.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dropdown.mjs +6 -6
- package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dynamic-theme.mjs +313 -0
- package/fesm2022/mis-crystal-design-system-dynamic-theme.mjs.map +1 -0
- package/fesm2022/mis-crystal-design-system-fab.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-filter.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-input-stepper.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-input-stepper.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-input.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-input.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-loader.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-loader.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-phone-input.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-phone-input.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-radio-button.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-radio-button.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-slider.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-slider.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-snackbar.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-star-rating.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-switch.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-table.mjs +8 -8
- package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-timepicker.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-timepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-toast.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-toast.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-tooltip.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-tooltip.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system.mjs.map +1 -1
- package/input/mis-input.component.scss +17 -17
- package/modal/modal.scss +1 -1
- package/package.json +7 -1
- package/styles/mis-dynamic-theme-color-var.scss +324 -0
- package/styles/mis-icons.scss +56 -56
- package/styles/mis-old-icon-styles.scss +21 -21
- package/table/filter/filter.component.d.ts +1 -1
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
// =============================================================================
|
|
2
|
+
// DYNAMIC THEME SYSTEM
|
|
3
|
+
// =============================================================================
|
|
4
|
+
// Centralized color variables with SCSS fallbacks and CSS variables for runtime updates.
|
|
5
|
+
// =============================================================================
|
|
6
|
+
|
|
7
|
+
// =============================================================================
|
|
8
|
+
// BRAND COLOR VARIABLES (SCSS TOKENS)
|
|
9
|
+
// =============================================================================
|
|
10
|
+
|
|
11
|
+
// Primary Brand Colors
|
|
12
|
+
$brand-primary: #0937B2 !default;
|
|
13
|
+
$brand-primary-light: #3C68D0 !default;
|
|
14
|
+
$brand-primary-dark: #062A99 !default;
|
|
15
|
+
$brand-primary-darker: #041F80 !default;
|
|
16
|
+
$brand-primary-lighter: #638FE7 !default;
|
|
17
|
+
$brand-primary-lightest: #CBDDFB !default;
|
|
18
|
+
$brand-primary-hover: #F0F3FA !default;
|
|
19
|
+
$brand-primary-active: #DAE1F3 !default;
|
|
20
|
+
|
|
21
|
+
// Secondary Brand Colors
|
|
22
|
+
$brand-secondary: #ED711C !default;
|
|
23
|
+
$brand-secondary-light: #F09E65 !default;
|
|
24
|
+
$brand-secondary-dark: #B23600 !default;
|
|
25
|
+
$brand-secondary-lighter: #FFC6F2 !default;
|
|
26
|
+
|
|
27
|
+
// Accent Colors
|
|
28
|
+
$brand-accent: #10ADAE !default;
|
|
29
|
+
$brand-accent-light: #16CBBC !default;
|
|
30
|
+
$brand-accent-dark: #035F6B !default;
|
|
31
|
+
$brand-accent-lighter: #ACDADA !default;
|
|
32
|
+
|
|
33
|
+
// Semantic Colors
|
|
34
|
+
$brand-success: #38AF49 !default;
|
|
35
|
+
$brand-success-light: #4CAF50 !default;
|
|
36
|
+
$brand-success-dark: #216531 !default;
|
|
37
|
+
$brand-success-lighter: #E4F5E9 !default;
|
|
38
|
+
$brand-success-lightest: #F1FFF3 !default;
|
|
39
|
+
|
|
40
|
+
$brand-error: #B00020 !default;
|
|
41
|
+
$brand-error-light: #F04E4E !default;
|
|
42
|
+
$brand-error-dark: #A60060 !default;
|
|
43
|
+
$brand-error-lighter: #FAE1EA !default;
|
|
44
|
+
$brand-error-lightest: #FDF2F2 !default;
|
|
45
|
+
|
|
46
|
+
$brand-warning: #FF9D00 !default;
|
|
47
|
+
$brand-warning-light: #D4900C !default;
|
|
48
|
+
$brand-warning-dark: #624000 !default;
|
|
49
|
+
$brand-warning-lighter: #F4E7C3 !default;
|
|
50
|
+
$brand-warning-lightest: #FAEFED !default;
|
|
51
|
+
|
|
52
|
+
$brand-info: #0091FF !default;
|
|
53
|
+
$brand-info-light: #35A1FF !default;
|
|
54
|
+
$brand-info-dark: #0087B2 !default;
|
|
55
|
+
$brand-info-lighter: #CFECF9 !default;
|
|
56
|
+
|
|
57
|
+
// Text Colors
|
|
58
|
+
$text-primary: #181F33 !default;
|
|
59
|
+
$text-secondary: #6A737D !default;
|
|
60
|
+
$text-tertiary: #929DAB !default;
|
|
61
|
+
$text-disabled: #C8CDD3 !default;
|
|
62
|
+
|
|
63
|
+
$text-primary-87: rgba(24, 31, 51, 0.87) !default;
|
|
64
|
+
$text-primary-60: rgba(24, 31, 51, 0.60) !default;
|
|
65
|
+
$text-primary-38: rgba(24, 31, 51, 0.38) !default;
|
|
66
|
+
$text-primary-12: rgba(24, 31, 51, 0.12) !default;
|
|
67
|
+
|
|
68
|
+
// Background Colors
|
|
69
|
+
$bg-primary: #FFFFFF !default;
|
|
70
|
+
$bg-secondary: #FAFAFA !default;
|
|
71
|
+
$bg-tertiary: #F5F5F5 !default;
|
|
72
|
+
|
|
73
|
+
$bg-overlay: rgba(0, 0, 0, 0.32) !default;
|
|
74
|
+
$bg-overlay-light: rgba(0, 0, 0, 0.12) !default;
|
|
75
|
+
$bg-overlay-lighter: rgba(0, 0, 0, 0.08) !default;
|
|
76
|
+
$bg-overlay-lightest: rgba(0, 0, 0, 0.04) !default;
|
|
77
|
+
|
|
78
|
+
// Border Colors
|
|
79
|
+
$border-primary: #E0E0E0 !default;
|
|
80
|
+
$border-secondary: #D6DCE2 !default;
|
|
81
|
+
$border-tertiary: #C8CDD3 !default;
|
|
82
|
+
$border-light: #F1F4F8 !default;
|
|
83
|
+
|
|
84
|
+
$border-primary-12: rgba(0, 0, 0, 0.12) !default;
|
|
85
|
+
$border-primary-08: rgba(0, 0, 0, 0.08) !default;
|
|
86
|
+
$border-primary-06: rgba(0, 0, 0, 0.06) !default;
|
|
87
|
+
|
|
88
|
+
// Shadows
|
|
89
|
+
$shadow-primary: rgba(0, 0, 0, 0.12) !default;
|
|
90
|
+
$shadow-secondary: rgba(0, 0, 0, 0.08) !default;
|
|
91
|
+
$shadow-tertiary: rgba(0, 0, 0, 0.04) !default;
|
|
92
|
+
$shadow-light: rgba(0, 0, 0, 0.06) !default;
|
|
93
|
+
|
|
94
|
+
// Status
|
|
95
|
+
$status-available: #929DAB !default;
|
|
96
|
+
$status-unavailable: #CCD3DA !default;
|
|
97
|
+
$status-hotseat: #857BFF !default;
|
|
98
|
+
$status-multiteam: #10ADAE !default;
|
|
99
|
+
$status-selected: #10ADAE !default;
|
|
100
|
+
$status-upcoming: #D4900C !default;
|
|
101
|
+
|
|
102
|
+
$status-room: #38AF49 !default;
|
|
103
|
+
$status-room-booked: #B23600 !default;
|
|
104
|
+
$status-room-unavailable: #181F33 !default;
|
|
105
|
+
|
|
106
|
+
// Team
|
|
107
|
+
$team-color-1: #F8C52E !default;
|
|
108
|
+
$team-color-2: #FA8E20 !default;
|
|
109
|
+
$team-color-3: #987CDD !default;
|
|
110
|
+
$team-color-4: #16CBBC !default;
|
|
111
|
+
$team-color-5: #E65010 !default;
|
|
112
|
+
$team-color-6: #A60060 !default;
|
|
113
|
+
$team-color-7: #ED323B !default;
|
|
114
|
+
$team-color-8: #35A1FF !default;
|
|
115
|
+
$team-color-9: #80D348 !default;
|
|
116
|
+
|
|
117
|
+
// =============================================================================
|
|
118
|
+
// CSS CUSTOM PROPERTIES (EXPORTED FOR RUNTIME THEMING)
|
|
119
|
+
// =============================================================================
|
|
120
|
+
|
|
121
|
+
:root {
|
|
122
|
+
// loop all tokens into CSS vars
|
|
123
|
+
--brand-primary: #{$brand-primary};
|
|
124
|
+
--brand-primary-light: #{$brand-primary-light};
|
|
125
|
+
--brand-primary-dark: #{$brand-primary-dark};
|
|
126
|
+
--brand-primary-darker: #{$brand-primary-darker};
|
|
127
|
+
--brand-primary-lighter: #{$brand-primary-lighter};
|
|
128
|
+
--brand-primary-lightest: #{$brand-primary-lightest};
|
|
129
|
+
--brand-primary-hover: #{$brand-primary-hover};
|
|
130
|
+
--brand-primary-active: #{$brand-primary-active};
|
|
131
|
+
|
|
132
|
+
--brand-secondary: #{$brand-secondary};
|
|
133
|
+
--brand-secondary-light: #{$brand-secondary-light};
|
|
134
|
+
--brand-secondary-dark: #{$brand-secondary-dark};
|
|
135
|
+
--brand-secondary-lighter: #{$brand-secondary-lighter};
|
|
136
|
+
|
|
137
|
+
--brand-accent: #{$brand-accent};
|
|
138
|
+
--brand-accent-light: #{$brand-accent-light};
|
|
139
|
+
--brand-accent-dark: #{$brand-accent-dark};
|
|
140
|
+
--brand-accent-lighter: #{$brand-accent-lighter};
|
|
141
|
+
|
|
142
|
+
--brand-success: #{$brand-success};
|
|
143
|
+
--brand-success-light: #{$brand-success-light};
|
|
144
|
+
--brand-success-dark: #{$brand-success-dark};
|
|
145
|
+
--brand-success-lighter: #{$brand-success-lighter};
|
|
146
|
+
--brand-success-lightest: #{$brand-success-lightest};
|
|
147
|
+
|
|
148
|
+
--brand-error: #{$brand-error};
|
|
149
|
+
--brand-error-light: #{$brand-error-light};
|
|
150
|
+
--brand-error-dark: #{$brand-error-dark};
|
|
151
|
+
--brand-error-lighter: #{$brand-error-lighter};
|
|
152
|
+
--brand-error-lightest: #{$brand-error-lightest};
|
|
153
|
+
|
|
154
|
+
--brand-warning: #{$brand-warning};
|
|
155
|
+
--brand-warning-light: #{$brand-warning-light};
|
|
156
|
+
--brand-warning-dark: #{$brand-warning-dark};
|
|
157
|
+
--brand-warning-lighter: #{$brand-warning-lighter};
|
|
158
|
+
--brand-warning-lightest: #{$brand-warning-lightest};
|
|
159
|
+
|
|
160
|
+
--brand-info: #{$brand-info};
|
|
161
|
+
--brand-info-light: #{$brand-info-light};
|
|
162
|
+
--brand-info-dark: #{$brand-info-dark};
|
|
163
|
+
--brand-info-lighter: #{$brand-info-lighter};
|
|
164
|
+
|
|
165
|
+
--text-primary: #{$text-primary};
|
|
166
|
+
--text-secondary: #{$text-secondary};
|
|
167
|
+
--text-tertiary: #{$text-tertiary};
|
|
168
|
+
--text-disabled: #{$text-disabled};
|
|
169
|
+
--text-primary-87: #{$text-primary-87};
|
|
170
|
+
--text-primary-60: #{$text-primary-60};
|
|
171
|
+
--text-primary-38: #{$text-primary-38};
|
|
172
|
+
--text-primary-12: #{$text-primary-12};
|
|
173
|
+
|
|
174
|
+
--bg-primary: #{$bg-primary};
|
|
175
|
+
--bg-secondary: #{$bg-secondary};
|
|
176
|
+
--bg-tertiary: #{$bg-tertiary};
|
|
177
|
+
--bg-overlay: #{$bg-overlay};
|
|
178
|
+
--bg-overlay-light: #{$bg-overlay-light};
|
|
179
|
+
--bg-overlay-lighter: #{$bg-overlay-lighter};
|
|
180
|
+
--bg-overlay-lightest: #{$bg-overlay-lightest};
|
|
181
|
+
|
|
182
|
+
--border-primary: #{$border-primary};
|
|
183
|
+
--border-secondary: #{$border-secondary};
|
|
184
|
+
--border-tertiary: #{$border-tertiary};
|
|
185
|
+
--border-light: #{$border-light};
|
|
186
|
+
--border-primary-12: #{$border-primary-12};
|
|
187
|
+
--border-primary-08: #{$border-primary-08};
|
|
188
|
+
--border-primary-06: #{$border-primary-06};
|
|
189
|
+
|
|
190
|
+
--shadow-primary: #{$shadow-primary};
|
|
191
|
+
--shadow-secondary: #{$shadow-secondary};
|
|
192
|
+
--shadow-tertiary: #{$shadow-tertiary};
|
|
193
|
+
--shadow-light: #{$shadow-light};
|
|
194
|
+
|
|
195
|
+
--status-available: #{$status-available};
|
|
196
|
+
--status-unavailable: #{$status-unavailable};
|
|
197
|
+
--status-hotseat: #{$status-hotseat};
|
|
198
|
+
--status-multiteam: #{$status-multiteam};
|
|
199
|
+
--status-selected: #{$status-selected};
|
|
200
|
+
--status-upcoming: #{$status-upcoming};
|
|
201
|
+
--status-room: #{$status-room};
|
|
202
|
+
--status-room-booked: #{$status-room-booked};
|
|
203
|
+
--status-room-unavailable: #{$status-room-unavailable};
|
|
204
|
+
|
|
205
|
+
--team-color-1: #{$team-color-1};
|
|
206
|
+
--team-color-2: #{$team-color-2};
|
|
207
|
+
--team-color-3: #{$team-color-3};
|
|
208
|
+
--team-color-4: #{$team-color-4};
|
|
209
|
+
--team-color-5: #{$team-color-5};
|
|
210
|
+
--team-color-6: #{$team-color-6};
|
|
211
|
+
--team-color-7: #{$team-color-7};
|
|
212
|
+
--team-color-8: #{$team-color-8};
|
|
213
|
+
--team-color-9: #{$team-color-9};
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// =============================================================================
|
|
217
|
+
// UTILITY CLASSES
|
|
218
|
+
// =============================================================================
|
|
219
|
+
|
|
220
|
+
.brand-primary-bg { background-color: var(--brand-primary); }
|
|
221
|
+
.brand-secondary-bg { background-color: var(--brand-secondary); }
|
|
222
|
+
.brand-accent-bg { background-color: var(--brand-accent); }
|
|
223
|
+
.brand-success-bg { background-color: var(--brand-success); }
|
|
224
|
+
.brand-error-bg { background-color: var(--brand-error); }
|
|
225
|
+
.brand-warning-bg { background-color: var(--brand-warning); }
|
|
226
|
+
.brand-info-bg { background-color: var(--brand-info); }
|
|
227
|
+
|
|
228
|
+
.brand-primary-text { color: var(--brand-primary); }
|
|
229
|
+
.brand-secondary-text { color: var(--brand-secondary); }
|
|
230
|
+
.brand-accent-text { color: var(--brand-accent); }
|
|
231
|
+
.brand-success-text { color: var(--brand-success); }
|
|
232
|
+
.brand-error-text { color: var(--brand-error); }
|
|
233
|
+
.brand-warning-text { color: var(--brand-warning); }
|
|
234
|
+
.brand-info-text { color: var(--brand-info); }
|
|
235
|
+
|
|
236
|
+
.brand-primary-border { border-color: var(--brand-primary); }
|
|
237
|
+
.brand-secondary-border { border-color: var(--brand-secondary); }
|
|
238
|
+
.brand-accent-border { border-color: var(--brand-accent); }
|
|
239
|
+
.brand-success-border { border-color: var(--brand-success); }
|
|
240
|
+
.brand-error-border { border-color: var(--brand-error); }
|
|
241
|
+
.brand-warning-border { border-color: var(--brand-warning); }
|
|
242
|
+
.brand-info-border { border-color: var(--brand-info); }
|
|
243
|
+
|
|
244
|
+
// =============================================================================
|
|
245
|
+
// MIXINS
|
|
246
|
+
// =============================================================================
|
|
247
|
+
|
|
248
|
+
@mixin brand-primary-gradient($direction: to right) {
|
|
249
|
+
background: linear-gradient($direction, var(--brand-primary), var(--brand-primary-light));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
@mixin brand-secondary-gradient($direction: to right) {
|
|
253
|
+
background: linear-gradient($direction, var(--brand-secondary), var(--brand-secondary-light));
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
@mixin brand-accent-gradient($direction: to right) {
|
|
257
|
+
background: linear-gradient($direction, var(--brand-accent), var(--brand-accent-light));
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@mixin brand-shadow($intensity: 1) {
|
|
261
|
+
@if $intensity == 1 {
|
|
262
|
+
box-shadow: 0 2px 4px var(--shadow-light);
|
|
263
|
+
} @else if $intensity == 2 {
|
|
264
|
+
box-shadow: 0 4px 8px var(--shadow-secondary);
|
|
265
|
+
} @else if $intensity == 3 {
|
|
266
|
+
box-shadow: 0 8px 16px var(--shadow-primary);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
@mixin brand-border($width: 1px, $style: solid, $color: var(--border-primary)) {
|
|
271
|
+
border: $width $style $color;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
// =============================================================================
|
|
275
|
+
// VARIATIONS (Dark / High Contrast)
|
|
276
|
+
// =============================================================================
|
|
277
|
+
|
|
278
|
+
[data-theme="dark"] {
|
|
279
|
+
--bg-primary: #1a1a1a;
|
|
280
|
+
--bg-secondary: #2d2d2d;
|
|
281
|
+
--bg-tertiary: #404040;
|
|
282
|
+
--text-primary: #ffffff;
|
|
283
|
+
--text-secondary: #cccccc;
|
|
284
|
+
--border-primary: #404040;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
[data-theme="high-contrast"] {
|
|
288
|
+
--brand-primary: #000000;
|
|
289
|
+
--brand-secondary: #ffffff;
|
|
290
|
+
--text-primary: #000000;
|
|
291
|
+
--text-secondary: #ffffff;
|
|
292
|
+
--bg-primary: #ffffff;
|
|
293
|
+
--bg-secondary: #000000;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
// =============================================================================
|
|
297
|
+
// LEGACY TOKENS (for backward compatibility)
|
|
298
|
+
// =============================================================================
|
|
299
|
+
|
|
300
|
+
$pmry_500: var(--brand-primary);
|
|
301
|
+
$pmry_400: var(--brand-primary-light);
|
|
302
|
+
$pmry_600: var(--brand-primary-dark);
|
|
303
|
+
$pmry_300: var(--brand-primary-lighter);
|
|
304
|
+
$pmry_100: var(--brand-primary-lightest);
|
|
305
|
+
|
|
306
|
+
$sec_orange: var(--brand-secondary);
|
|
307
|
+
$sec_teal: var(--brand-accent);
|
|
308
|
+
$sec_purple: #815FD5;
|
|
309
|
+
|
|
310
|
+
$sem_error: var(--brand-error);
|
|
311
|
+
$sem_success: var(--brand-success);
|
|
312
|
+
$sem_warning: var(--brand-warning);
|
|
313
|
+
$sem_info: var(--brand-info);
|
|
314
|
+
|
|
315
|
+
$text_black: var(--text-primary);
|
|
316
|
+
$text_muted: var(--text-secondary);
|
|
317
|
+
$text_white: var(--bg-primary);
|
|
318
|
+
|
|
319
|
+
$grey_bg: var(--bg-tertiary);
|
|
320
|
+
$grey_bg-1: var(--bg-secondary);
|
|
321
|
+
$grey_seperators: var(--border-primary);
|
|
322
|
+
$grey_disabled: var(--border-tertiary);
|
|
323
|
+
$grey_hover: var(--bg-overlay-lightest);
|
|
324
|
+
$grey_pressed: var(--bg-overlay-light);
|
package/styles/mis-icons.scss
CHANGED
|
@@ -59,15 +59,15 @@
|
|
|
59
59
|
}
|
|
60
60
|
.icon-ic-ETS-OTA-16:before {
|
|
61
61
|
content: "\ea24";
|
|
62
|
-
color:
|
|
62
|
+
color: var(--brand-secondary);
|
|
63
63
|
}
|
|
64
64
|
.icon-ic-ETS-OTD-16:before {
|
|
65
65
|
content: "\ea25";
|
|
66
|
-
color:
|
|
66
|
+
color: var(--brand-info-dark);
|
|
67
67
|
}
|
|
68
68
|
.icon-ic-home-office-24:before {
|
|
69
69
|
content: "\ea23";
|
|
70
|
-
color:
|
|
70
|
+
color: var(--text-tertiary);
|
|
71
71
|
}
|
|
72
72
|
.icon-ic-device-unreachable-16:before {
|
|
73
73
|
content: "\e900";
|
|
@@ -107,11 +107,11 @@
|
|
|
107
107
|
}
|
|
108
108
|
.icon-ic-ets-adhoc-32:before {
|
|
109
109
|
content: "\e90b";
|
|
110
|
-
color:
|
|
110
|
+
color: var(--brand-error);
|
|
111
111
|
}
|
|
112
112
|
.icon-ic-ets-help-desk-32:before {
|
|
113
113
|
content: "\e90d";
|
|
114
|
-
color:
|
|
114
|
+
color: var(--bg-primary);
|
|
115
115
|
}
|
|
116
116
|
.icon-ic-ets-login-32 .path1:before {
|
|
117
117
|
content: "\e90e";
|
|
@@ -133,27 +133,27 @@
|
|
|
133
133
|
}
|
|
134
134
|
.icon-ic-ui-WFO-outline-24:before {
|
|
135
135
|
content: "\ea00";
|
|
136
|
-
color:
|
|
136
|
+
color: var(--brand-info-dark);
|
|
137
137
|
}
|
|
138
138
|
.icon-ic-ui-WFH-24-2:before {
|
|
139
139
|
content: "\ea01";
|
|
140
|
-
color:
|
|
140
|
+
color: var(--brand-error-dark);
|
|
141
141
|
}
|
|
142
142
|
.icon-ic-ui-WFH-outline-24:before {
|
|
143
143
|
content: "\ea02";
|
|
144
|
-
color:
|
|
144
|
+
color: var(--brand-error-dark);
|
|
145
145
|
}
|
|
146
146
|
.icon-ic-ui-WFH-24-1:before {
|
|
147
147
|
content: "\ea03";
|
|
148
|
-
color:
|
|
148
|
+
color: var(--bg-primary);
|
|
149
149
|
}
|
|
150
150
|
.icon-ic-ui-WFO-24-2:before {
|
|
151
151
|
content: "\ea04";
|
|
152
|
-
color:
|
|
152
|
+
color: var(--brand-info-dark);
|
|
153
153
|
}
|
|
154
154
|
.icon-ic-ui-WFO-24-1:before {
|
|
155
155
|
content: "\ea05";
|
|
156
|
-
color:
|
|
156
|
+
color: var(--bg-primary);
|
|
157
157
|
}
|
|
158
158
|
.icon-ic-ui-battery-life-24:before {
|
|
159
159
|
content: "\ea06";
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
}
|
|
164
164
|
.icon-ic-ets-bus-24-2:before {
|
|
165
165
|
content: "\ea08";
|
|
166
|
-
color:
|
|
166
|
+
color: var(--brand-primary);
|
|
167
167
|
}
|
|
168
168
|
.icon-ic-ets-chat-24:before {
|
|
169
169
|
content: "\ea0b";
|
|
@@ -173,18 +173,18 @@
|
|
|
173
173
|
}
|
|
174
174
|
.icon-ic-ets-walking-man-24:before {
|
|
175
175
|
content: "\ea0d";
|
|
176
|
-
color:
|
|
176
|
+
color: var(--text-secondary);
|
|
177
177
|
}
|
|
178
178
|
.icon-ic-ui-transport-24-1:before {
|
|
179
179
|
content: "\ea0e";
|
|
180
|
-
color:
|
|
180
|
+
color: var(--brand-primary);
|
|
181
181
|
}
|
|
182
182
|
.icon-ic-ets-nodal-point-24:before {
|
|
183
183
|
content: "\ea0f";
|
|
184
184
|
}
|
|
185
185
|
.icon-ic-ui-seperator-16:before {
|
|
186
186
|
content: "\e94c";
|
|
187
|
-
color:
|
|
187
|
+
color: var(--text-secondary);
|
|
188
188
|
}
|
|
189
189
|
.icon-ic-action-filter-applied-24 .path1:before {
|
|
190
190
|
content: "\e910";
|
|
@@ -225,54 +225,54 @@
|
|
|
225
225
|
}
|
|
226
226
|
.icon-ic-duplicate-24:before {
|
|
227
227
|
content: "\e922";
|
|
228
|
-
color:
|
|
228
|
+
color: var(--brand-secondary-light);
|
|
229
229
|
}
|
|
230
230
|
.icon-ic-eligibility-address-24:before {
|
|
231
231
|
content: "\e92b";
|
|
232
|
-
color:
|
|
232
|
+
color: var(--brand-error-light);
|
|
233
233
|
}
|
|
234
234
|
.icon-ic-eligibility-boy-24:before {
|
|
235
235
|
content: "\e938";
|
|
236
|
-
color:
|
|
236
|
+
color: var(--brand-error-light);
|
|
237
237
|
}
|
|
238
238
|
.icon-ic-eligibility-cough-24:before {
|
|
239
239
|
content: "\e939";
|
|
240
|
-
color:
|
|
240
|
+
color: var(--brand-error-light);
|
|
241
241
|
}
|
|
242
242
|
.icon-ic-eligibility-covid-man-24:before {
|
|
243
243
|
content: "\e952";
|
|
244
|
-
color:
|
|
244
|
+
color: var(--brand-error-light);
|
|
245
245
|
}
|
|
246
246
|
.icon-ic-eligibility-covid-24:before {
|
|
247
247
|
content: "\e96e";
|
|
248
|
-
color:
|
|
248
|
+
color: var(--brand-error-light);
|
|
249
249
|
}
|
|
250
250
|
.icon-ic-eligibility-man-24:before {
|
|
251
251
|
content: "\e96f";
|
|
252
|
-
color:
|
|
252
|
+
color: var(--brand-error-light);
|
|
253
253
|
}
|
|
254
254
|
.icon-ic-eligibility-sick-24:before {
|
|
255
255
|
content: "\e970";
|
|
256
|
-
color:
|
|
256
|
+
color: var(--brand-error-light);
|
|
257
257
|
}
|
|
258
258
|
.icon-ic-eligibility-symptoms-24:before {
|
|
259
259
|
content: "\e971";
|
|
260
|
-
color:
|
|
260
|
+
color: var(--brand-error-light);
|
|
261
261
|
}
|
|
262
262
|
.icon-ic-eligibility-travel-24:before {
|
|
263
263
|
content: "\e972";
|
|
264
|
-
color:
|
|
264
|
+
color: var(--brand-error-light);
|
|
265
265
|
}
|
|
266
266
|
.icon-ic-Gigipass-loading-bg:before {
|
|
267
267
|
content: "\e973";
|
|
268
|
-
color:
|
|
268
|
+
color: var(--brand-info-dark);
|
|
269
269
|
}
|
|
270
270
|
.icon-ic-map-pin-24:before {
|
|
271
271
|
content: "\e974";
|
|
272
272
|
}
|
|
273
273
|
.icon-ic-mobile-side-menu-vaccine-24:before {
|
|
274
274
|
content: "\e975";
|
|
275
|
-
color:
|
|
275
|
+
color: var(--brand-primary);
|
|
276
276
|
}
|
|
277
277
|
.icon-ic-nav-help-24:before {
|
|
278
278
|
content: "\e976";
|
|
@@ -285,11 +285,11 @@
|
|
|
285
285
|
}
|
|
286
286
|
.icon-ic-new-icon-transport-Availibilty-Muted-V1-32:before {
|
|
287
287
|
content: "\e98a";
|
|
288
|
-
color:
|
|
288
|
+
color: var(--text-secondary);
|
|
289
289
|
}
|
|
290
290
|
.icon-ic-not-started-24-no-bg:before {
|
|
291
291
|
content: "\e98b";
|
|
292
|
-
color:
|
|
292
|
+
color: var(--brand-warning-light);
|
|
293
293
|
}
|
|
294
294
|
.icon-ic-nre-notification-indicator-24 .path1:before {
|
|
295
295
|
content: "\e98d";
|
|
@@ -338,14 +338,14 @@
|
|
|
338
338
|
}
|
|
339
339
|
.icon-ic-ui-cross-24:before {
|
|
340
340
|
content: "\e9d6";
|
|
341
|
-
color:
|
|
341
|
+
color: var(--brand-error);
|
|
342
342
|
}
|
|
343
343
|
.icon-ic-ui-download-24:before {
|
|
344
344
|
content: "\e9eb";
|
|
345
345
|
}
|
|
346
346
|
.icon-ic-ui-error-24:before {
|
|
347
347
|
content: "\e9f4";
|
|
348
|
-
color:
|
|
348
|
+
color: var(--brand-error);
|
|
349
349
|
}
|
|
350
350
|
.icon-ic-ui-statistics-24 .path1:before {
|
|
351
351
|
content: "\e9f5";
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
}
|
|
359
359
|
.icon-ic-ui-tick-24:before {
|
|
360
360
|
content: "\e9fd";
|
|
361
|
-
color:
|
|
361
|
+
color: var(--brand-success);
|
|
362
362
|
}
|
|
363
363
|
.icon-ic-ui-walked-in-24 .path1:before {
|
|
364
364
|
content: "\e9fe";
|
|
@@ -392,15 +392,15 @@
|
|
|
392
392
|
}
|
|
393
393
|
.icon-ic-ui-nonveg-16:before {
|
|
394
394
|
content: "\e9f9";
|
|
395
|
-
color:
|
|
395
|
+
color: var(--brand-error);
|
|
396
396
|
}
|
|
397
397
|
.icon-ic-ui-veg-16:before {
|
|
398
398
|
content: "\e9fa";
|
|
399
|
-
color:
|
|
399
|
+
color: var(--brand-success);
|
|
400
400
|
}
|
|
401
401
|
.icon-ic-ui-vegan-16:before {
|
|
402
402
|
content: "\e9fb";
|
|
403
|
-
color:
|
|
403
|
+
color: var(--brand-warning);
|
|
404
404
|
}
|
|
405
405
|
.icon-ic-ui-Gender-24:before {
|
|
406
406
|
content: "\e9ca";
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
}
|
|
420
420
|
.icon-ic-ui-info-24:before {
|
|
421
421
|
content: "\e9cf";
|
|
422
|
-
color:
|
|
422
|
+
color: var(--brand-info);
|
|
423
423
|
}
|
|
424
424
|
.icon-ic-ui-WFO-24:before {
|
|
425
425
|
content: "\e9d0";
|
|
@@ -495,15 +495,15 @@
|
|
|
495
495
|
}
|
|
496
496
|
.icon-ic-ui-trend-down-24:before {
|
|
497
497
|
content: "\e9ec";
|
|
498
|
-
color:
|
|
498
|
+
color: var(--brand-error);
|
|
499
499
|
}
|
|
500
500
|
.icon-ic-ui-trend-up-24:before {
|
|
501
501
|
content: "\e9ed";
|
|
502
|
-
color:
|
|
502
|
+
color: var(--brand-success);
|
|
503
503
|
}
|
|
504
504
|
.icon-ic-ui-warning-24:before {
|
|
505
505
|
content: "\e9ee";
|
|
506
|
-
color:
|
|
506
|
+
color: var(--brand-warning);
|
|
507
507
|
}
|
|
508
508
|
.icon-ic-ui-WFH-24:before {
|
|
509
509
|
content: "\e9ef";
|
|
@@ -534,7 +534,7 @@
|
|
|
534
534
|
}
|
|
535
535
|
.icon-ic-nrs-loader-16:before {
|
|
536
536
|
content: "\e9bb";
|
|
537
|
-
color:
|
|
537
|
+
color: var(--brand-primary);
|
|
538
538
|
}
|
|
539
539
|
.icon-ic-nrs-metrics-24:before {
|
|
540
540
|
content: "\e9bc";
|
|
@@ -556,11 +556,11 @@
|
|
|
556
556
|
}
|
|
557
557
|
.icon-ic-duplicate-24--no-bg:before {
|
|
558
558
|
content: "\e9b1";
|
|
559
|
-
color:
|
|
559
|
+
color: var(--brand-secondary-light);
|
|
560
560
|
}
|
|
561
561
|
.icon-ic-Gigipass-loading-no-bg:before {
|
|
562
562
|
content: "\e9b4";
|
|
563
|
-
color:
|
|
563
|
+
color: var(--brand-info-dark);
|
|
564
564
|
}
|
|
565
565
|
.icon-ic-new-icon-transport-Availibilty-Muted-V1-24-bg .path1:before {
|
|
566
566
|
content: "\e9b5";
|
|
@@ -625,7 +625,7 @@
|
|
|
625
625
|
}
|
|
626
626
|
.icon-ic-nav-meeting-fill-24:before {
|
|
627
627
|
content: "\e994";
|
|
628
|
-
color:
|
|
628
|
+
color: var(--brand-primary);
|
|
629
629
|
}
|
|
630
630
|
.icon-ic-mr-projector-24:before {
|
|
631
631
|
content: "\e995";
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
}
|
|
675
675
|
.icon-ic-nav-seat-fill-24:before {
|
|
676
676
|
content: "\e9a4";
|
|
677
|
-
color:
|
|
677
|
+
color: var(--brand-primary);
|
|
678
678
|
}
|
|
679
679
|
.icon-ic--new-icon--user-permissions2-24:before {
|
|
680
680
|
content: "\e96d";
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
}
|
|
695
695
|
.icon-ic-map-reposition-24:before {
|
|
696
696
|
content: "\e97a";
|
|
697
|
-
color:
|
|
697
|
+
color: var(--text-secondary);
|
|
698
698
|
}
|
|
699
699
|
.icon-ic-new-icon--user-group-24:before {
|
|
700
700
|
content: "\e97b";
|
|
@@ -746,19 +746,19 @@
|
|
|
746
746
|
}
|
|
747
747
|
.icon-seats-available:before {
|
|
748
748
|
content: "\e990";
|
|
749
|
-
color:
|
|
749
|
+
color: var(--brand-success);
|
|
750
750
|
}
|
|
751
751
|
.icon-seats-booked:before {
|
|
752
752
|
content: "\e991";
|
|
753
|
-
color:
|
|
753
|
+
color: var(--brand-info);
|
|
754
754
|
}
|
|
755
755
|
.icon-seats-cancelled:before {
|
|
756
756
|
content: "\e992";
|
|
757
|
-
color:
|
|
757
|
+
color: var(--brand-error-light);
|
|
758
758
|
}
|
|
759
759
|
.icon-seats-totals:before {
|
|
760
760
|
content: "\e993";
|
|
761
|
-
color:
|
|
761
|
+
color: var(--text-disabled);
|
|
762
762
|
}
|
|
763
763
|
.icon-ic-nav-team-24:before {
|
|
764
764
|
content: "\e94a";
|
|
@@ -861,18 +861,18 @@
|
|
|
861
861
|
}
|
|
862
862
|
.icon-ic-new-icon-transport-Availibilty-V1-325:before {
|
|
863
863
|
content: "\e92f";
|
|
864
|
-
color:
|
|
864
|
+
color: var(--text-tertiary);
|
|
865
865
|
}
|
|
866
866
|
.icon-ic-ui-daytime-24:before {
|
|
867
867
|
content: "\e930";
|
|
868
868
|
}
|
|
869
869
|
.icon-ic-new-icon-transport-Availibilty-Muted-V1-321:before {
|
|
870
870
|
content: "\e931";
|
|
871
|
-
color:
|
|
871
|
+
color: var(--text-secondary);
|
|
872
872
|
}
|
|
873
873
|
.icon-ic-ui--no_parking-24:before {
|
|
874
874
|
content: "\e93a";
|
|
875
|
-
color:
|
|
875
|
+
color: var(--text-secondary);
|
|
876
876
|
}
|
|
877
877
|
.icon-ic-ui-bus-24:before {
|
|
878
878
|
content: "\e93b";
|
|
@@ -948,11 +948,11 @@
|
|
|
948
948
|
}
|
|
949
949
|
.icon-ic-action-drag-24:before {
|
|
950
950
|
content: "\e91b";
|
|
951
|
-
color:
|
|
951
|
+
color: var(--text-disabled);
|
|
952
952
|
}
|
|
953
953
|
.icon-ic-action-drag:before {
|
|
954
954
|
content: "\e91c";
|
|
955
|
-
color:
|
|
955
|
+
color: var(--text-secondary);
|
|
956
956
|
}
|
|
957
957
|
.icon-ic-action-edit-24:before {
|
|
958
958
|
content: "\e91d";
|
|
@@ -1046,9 +1046,9 @@
|
|
|
1046
1046
|
}
|
|
1047
1047
|
.icon-ic-action-visibility-24:before {
|
|
1048
1048
|
content: "\ea18";
|
|
1049
|
-
color:
|
|
1049
|
+
color: var(--text-secondary);
|
|
1050
1050
|
}
|
|
1051
1051
|
.icon-ic-action-visibility-off-24:before {
|
|
1052
1052
|
content: "\ea19";
|
|
1053
|
-
color:
|
|
1053
|
+
color: var(--text-secondary);
|
|
1054
1054
|
}
|