@allsorter/ui-components 0.0.367 → 0.0.370
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/fesm2022/allsorter-ui-components.mjs +2996 -1391
- package/fesm2022/allsorter-ui-components.mjs.map +1 -1
- package/images/Column left.svg +5 -0
- package/images/Move.svg +8 -0
- package/images/Success.svg +5 -0
- package/images/Table.svg +3 -0
- package/images/Vector-1.svg +3 -0
- package/images/Vector.svg +3 -0
- package/images/add-teble.svg +6 -0
- package/images/arrow_downward.svg +3 -0
- package/images/calendar_year.svg +4 -0
- package/images/column right.svg +5 -0
- package/images/delete -table.svg +6 -0
- package/images/delete row.svg +10 -0
- package/images/delete-column.svg +10 -0
- package/images/delete.svg +3 -0
- package/images/drag-drop-icon.svg +8 -0
- package/images/edit.svg +3 -0
- package/images/error.svg +5 -0
- package/images/row bottom.svg +5 -0
- package/images/row top.svg +5 -0
- package/images/search.svg +3 -0
- package/images/subrole.svg +3 -0
- package/images/visibility_off.svg +3 -0
- package/images/warning.svg +5 -0
- package/lib/app-toolbar/app-toolbar.component.d.ts +5 -8
- package/lib/app-toolbar/app-toolbar.module.d.ts +4 -4
- package/lib/app-toolbar-right/app-toolbar-right.component.d.ts +3 -5
- package/lib/button/button.component.d.ts +30 -1
- package/lib/candidate-section/candidate-section.component.d.ts +8 -0
- package/lib/custom-editor/custom-editor.component.d.ts +110 -14
- package/lib/custom-editor/table/table.component.d.ts +5 -0
- package/lib/editable-form-wrapper/editable-form-wrapper.component.d.ts +48 -0
- package/lib/experience-section/experience-section.component.d.ts +4 -2
- package/lib/general-container/general-container.component.d.ts +5 -1
- package/lib/icon-button/icon-button.component.d.ts +16 -7
- package/lib/input/input.component.d.ts +41 -10
- package/lib/newresumeheader/newresumeheader.component.d.ts +43 -4
- package/lib/resume-entries/resume-entries.component.d.ts +7 -1
- package/lib/resume-header/resume-header.model.d.ts +11 -20
- package/lib/shared-popup-modal/shared-popup-modal.component.d.ts +17 -0
- package/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.d.ts +34 -0
- package/lib/side-action-bar-wrapper/side-action-bar-wrapper.module.d.ts +12 -0
- package/lib/styles/border-radius.scss +11 -0
- package/lib/styles/button-mixins.scss +41 -0
- package/lib/styles/button.scss +117 -0
- package/lib/styles/colors.scss +221 -0
- package/lib/styles/elevation.scss +46 -0
- package/lib/styles/new-typography.scss +202 -0
- package/lib/styles/spacing.scss +39 -0
- package/lib/styles/typography-classes.scss +203 -0
- package/lib/utils/icon-utils.d.ts +51 -0
- package/lib/utils/image-utils.d.ts +54 -0
- package/package.json +15 -3
- package/public-api.d.ts +3 -3
- package/src/lib/ai-apply-bar/ai-apply-bar.component.html +43 -0
- package/src/lib/ai-apply-bar/ai-apply-bar.component.scss +182 -0
- package/src/lib/app-toolbar/app-toolbar.component.html +13 -0
- package/src/lib/app-toolbar/app-toolbar.component.scss +141 -0
- package/src/lib/app-toolbar-right/app-toolbar-right.component.html +15 -0
- package/src/lib/app-toolbar-right/app-toolbar-right.component.scss +294 -0
- package/src/lib/button/button.component.html +127 -0
- package/src/lib/button/button.component.scss +1238 -0
- package/src/lib/candidate-section/candidate-section.component.html +91 -0
- package/src/lib/candidate-section/candidate-section.component.scss +154 -0
- package/src/lib/checkbox/checkbox.component.html +24 -0
- package/src/lib/checkbox/checkbox.component.scss +280 -0
- package/src/lib/custom-editor/custom-editor.component.html +129 -0
- package/src/lib/custom-editor/custom-editor.component.scss +441 -0
- package/src/lib/custom-editor/table/table.component.html +21 -0
- package/src/lib/date-range/date-range.component.html +33 -0
- package/src/lib/date-range/date-range.component.scss +284 -0
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.html +12 -0
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.scss +227 -0
- package/src/lib/experience-section/experience-section.component.html +20 -0
- package/src/lib/experience-section/experience-section.component.scss +0 -0
- package/src/lib/field-placeholder/field-placeholder.component.html +17 -0
- package/src/lib/field-placeholder/field-placeholder.component.scss +119 -0
- package/src/lib/general-container/general-container.component.html +3 -0
- package/src/lib/general-container/general-container.component.scss +10 -0
- package/src/lib/icon-button/icon-button.component.html +12 -0
- package/src/lib/icon-button/icon-button.component.scss +77 -0
- package/src/lib/input/input.component.html +86 -0
- package/src/lib/input/input.component.scss +1337 -0
- package/src/lib/loader/loader.component.html +15 -0
- package/src/lib/loader/loader.component.scss +493 -0
- package/src/lib/new-typography/new-typography.component.html +10 -0
- package/src/lib/new-typography/new-typography.component.scss +200 -0
- package/src/lib/newresumeheader/newresumeheader.component.html +178 -0
- package/src/lib/newresumeheader/newresumeheader.component.scss +530 -0
- package/src/lib/radio/radio.component.html +23 -0
- package/src/lib/radio/radio.component.scss +253 -0
- package/src/lib/responsive-columns/responsive-columns.component.html +6 -0
- package/src/lib/responsive-columns/responsive-columns.component.scss +68 -0
- package/src/lib/responsive-layout/responsive-layout.component.html +1 -0
- package/src/lib/responsive-layout/responsive-layout.component.scss +47 -0
- package/src/lib/resume-entries/resume-entries.component.html +97 -0
- package/src/lib/resume-entries/resume-entries.component.scss +341 -0
- package/src/lib/resume-header/resume-header.component.html +167 -0
- package/src/lib/shared-popup-modal/shared-popup-modal.component.html +99 -0
- package/src/lib/shared-popup-modal/shared-popup-modal.component.scss +223 -0
- package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.html +17 -0
- package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.scss +58 -0
- package/src/lib/slide-toggle/slide-toggle.component.html +17 -0
- package/src/lib/slide-toggle/slide-toggle.component.scss +439 -0
- package/src/lib/storybook/testing-strip/testing-strip.component.html +12 -0
- package/src/lib/storybook/testing-strip/testing-strip.component.scss +1 -0
- package/src/lib/styles/border-radius.scss +11 -0
- package/src/lib/styles/button-mixins.scss +41 -0
- package/src/lib/styles/button.scss +117 -0
- package/src/lib/styles/colors.scss +221 -0
- package/src/lib/styles/elevation.scss +46 -0
- package/src/lib/styles/new-typography.scss +202 -0
- package/src/lib/styles/spacing.scss +39 -0
- package/src/lib/styles/typography-classes.scss +203 -0
- package/src/lib/tabs/tabs.component.html +9 -0
- package/src/lib/tabs/tabs.component.scss +151 -0
- package/src/lib/toggle-buttons/toggle-buttons.component.html +17 -0
- package/src/lib/toggle-buttons/toggle-buttons.component.scss +284 -0
- package/src/lib/tooltip/tooltip.component.html +6 -0
- package/src/lib/tooltip/tooltip.component.scss +8 -0
- package/lib/action-bar-wrapper/action-bar-wrapper.component.d.ts +0 -36
- package/lib/resume-header/resume-header.component.d.ts +0 -69
- package/lib/resume-header/resume-header.module.d.ts +0 -8
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
// ============================================
|
|
2
|
+
// PRIMARY COLOR SCALE
|
|
3
|
+
// ============================================
|
|
4
|
+
|
|
5
|
+
// Primary Blue - Complete Scale
|
|
6
|
+
$color-blue-50: #E5E9FC; // Tints-50
|
|
7
|
+
$color-blue-100: #BBC7F6; // Tints-100
|
|
8
|
+
$color-blue-200: #98ABF1; // Tints-200
|
|
9
|
+
$color-blue-300: #768FED; // Tints-300
|
|
10
|
+
$color-blue-400: #6581EA; // Tints-400
|
|
11
|
+
$color-blue-500: #5473E8; // Base-Blue
|
|
12
|
+
$color-blue-600: #1E46DF; // Shades-600
|
|
13
|
+
$color-blue-700: #0F236F; // Shades-700
|
|
14
|
+
$color-blue-800: #071238; // Shades-800
|
|
15
|
+
$color-blue-900: #04091C; // Shades-900
|
|
16
|
+
|
|
17
|
+
// Primary Blue - Semantic Names (for backward compatibility)
|
|
18
|
+
$color-blue: $color-blue-500;
|
|
19
|
+
$color-blue-hover: $color-blue-400;
|
|
20
|
+
$color-blue-active: $color-blue-600;
|
|
21
|
+
|
|
22
|
+
// ============================================
|
|
23
|
+
// SECONDARY COLOR SCALE
|
|
24
|
+
// ============================================
|
|
25
|
+
|
|
26
|
+
// Primary Green - Complete Scale
|
|
27
|
+
$color-green-50: #D7F3F5; // Tints-50
|
|
28
|
+
$color-green-100: #AFE6EB; // Tints-100
|
|
29
|
+
$color-green-200: #87DAE2; // Tints-200
|
|
30
|
+
$color-green-300: #5FCDD8; // Tints-300
|
|
31
|
+
$color-green-400: #4BC7D3; // Tints-400
|
|
32
|
+
$color-green-500: #37C1CE; // Base-Green
|
|
33
|
+
$color-green-600: #299DA8; // Shades-600
|
|
34
|
+
$color-green-700: #1F767E; // Shades-700
|
|
35
|
+
$color-green-800: #154E54; // Shades-800
|
|
36
|
+
$color-green-900: #0A272A; // Shades-900
|
|
37
|
+
|
|
38
|
+
// Primary Green - Semantic Names (for backward compatibility)
|
|
39
|
+
$color-green: $color-green-500;
|
|
40
|
+
$color-green-hover: $color-green-400;
|
|
41
|
+
$color-green-active: $color-green-600;
|
|
42
|
+
|
|
43
|
+
// ============================================
|
|
44
|
+
// NEUTRAL COLOR SCALE
|
|
45
|
+
// ============================================
|
|
46
|
+
|
|
47
|
+
// Primary Grey - Complete Scale
|
|
48
|
+
$color-grey-50: #FAFBFB; // Tints-50
|
|
49
|
+
$color-grey-100: #ECEDF1; // Tints-100
|
|
50
|
+
$color-grey-200: #DEE0E6; // Tints-200
|
|
51
|
+
$color-grey-300: #D1D3DB; // Tints-300
|
|
52
|
+
$color-grey-400: #C3C5D1; // Tints-400
|
|
53
|
+
$color-grey-500: #A2A6B8; // Base-Grey
|
|
54
|
+
$color-grey-600: #717793; // Shades-600
|
|
55
|
+
$color-grey-700: #4B4F62; // Shades-700
|
|
56
|
+
$color-grey-800: #383B4A; // Shades-800
|
|
57
|
+
$color-grey-900: #252831; // Shades-900
|
|
58
|
+
|
|
59
|
+
// Primary Grey - Semantic Names (for backward compatibility)
|
|
60
|
+
$color-grey: $color-grey-800;
|
|
61
|
+
$color-grey-hover: $color-grey-700;
|
|
62
|
+
$color-grey-active: $color-grey-900;
|
|
63
|
+
|
|
64
|
+
// ============================================
|
|
65
|
+
// SEMANTIC COLOR SCALE
|
|
66
|
+
// ============================================
|
|
67
|
+
|
|
68
|
+
// Primary Error - Complete Scale
|
|
69
|
+
$color-error-50: #FDEEF6; // Tints-50
|
|
70
|
+
$color-error-100: #F9D4E8; // Tints-100
|
|
71
|
+
$color-error-200: #F6BBDB; // Tints-200
|
|
72
|
+
$color-error-300: #F2A1CD; // Tints-300
|
|
73
|
+
$color-error-400: #EF87BF; // Tints-400
|
|
74
|
+
$color-error-500: #E854A4; // Base-Error
|
|
75
|
+
$color-error-600: #E22A8E; // Shades-600
|
|
76
|
+
$color-error-700: #C31A75; // Shades-700
|
|
77
|
+
$color-error-800: #99155C; // Shades-800
|
|
78
|
+
$color-error-900: #6F0F43; // Shades-900
|
|
79
|
+
|
|
80
|
+
// Primary Error - Semantic Names (for backward compatibility)
|
|
81
|
+
$color-error: $color-error-500;
|
|
82
|
+
$color-error-hover: $color-error-400;
|
|
83
|
+
$color-error-active: $color-error-600;
|
|
84
|
+
|
|
85
|
+
// Primary Success - Complete Scale
|
|
86
|
+
$color-success-50: #E9F9F3; // Tints-50
|
|
87
|
+
$color-success-100: #C8F1E3; // Tints-100
|
|
88
|
+
$color-success-200: #9EE7CE; // Tints-200
|
|
89
|
+
$color-success-300: #6EDDB7; // Tints-300
|
|
90
|
+
$color-success-400: #3DD3A0; // Tints-400
|
|
91
|
+
$color-success-500: #00AD83; // Base-Success
|
|
92
|
+
$color-success-600: #009873; // Shades-600
|
|
93
|
+
$color-success-700: #007F61; // Shades-700
|
|
94
|
+
$color-success-800: #00654F; // Shades-800
|
|
95
|
+
$color-success-900: #003D30; // Shades-900
|
|
96
|
+
|
|
97
|
+
// Primary Success - Semantic Names (for backward compatibility)
|
|
98
|
+
$color-success: $color-success-500;
|
|
99
|
+
$color-success-hover: $color-success-600;
|
|
100
|
+
$color-success-active: $color-success-700;
|
|
101
|
+
|
|
102
|
+
$color-white-500: #fff;
|
|
103
|
+
|
|
104
|
+
// ============================================
|
|
105
|
+
// GRADIENTS
|
|
106
|
+
// ============================================
|
|
107
|
+
|
|
108
|
+
$color-gradient: linear-gradient(275deg, #5473E8 -36.22%, #37C1CE 100.04%);
|
|
109
|
+
$color-gradient-hover: linear-gradient(0deg, rgba(250, 250, 253, 0.3), rgba(250, 250, 253, 0.3)),
|
|
110
|
+
linear-gradient(275deg, #2BBBAD 9.3%, #4A90E2 115.85%);
|
|
111
|
+
$color-gradient-active: linear-gradient(0deg, rgba(56, 59, 74, 0.5), rgba(56, 59, 74, 0.5)),
|
|
112
|
+
linear-gradient(275deg, #2BBBAD 9.3%, #4A90E2 115.85%);
|
|
113
|
+
|
|
114
|
+
// ============================================
|
|
115
|
+
// OUTLINE VARIANTS
|
|
116
|
+
// ============================================
|
|
117
|
+
|
|
118
|
+
$color-outline-blue: $color-blue-500;
|
|
119
|
+
$color-outline-green: $color-green-500;
|
|
120
|
+
$color-outline-grey: $color-grey-800;
|
|
121
|
+
$color-outline-error: $color-error-500;
|
|
122
|
+
$color-outline-success: $color-success-500;
|
|
123
|
+
$color-outline-white: $color-white-500;
|
|
124
|
+
|
|
125
|
+
// ============================================
|
|
126
|
+
// UTILITY COLORS
|
|
127
|
+
// ============================================
|
|
128
|
+
|
|
129
|
+
$color-disabled-bg: $color-grey-300;
|
|
130
|
+
$color-disabled-text: $color-grey-500;
|
|
131
|
+
|
|
132
|
+
// ============================================
|
|
133
|
+
// CSS CUSTOM PROPERTIES
|
|
134
|
+
// ============================================
|
|
135
|
+
|
|
136
|
+
:root {
|
|
137
|
+
// Primary Blue Scale
|
|
138
|
+
--color-blue-50: #{$color-blue-50};
|
|
139
|
+
--color-blue-100: #{$color-blue-100};
|
|
140
|
+
--color-blue-200: #{$color-blue-200};
|
|
141
|
+
--color-blue-300: #{$color-blue-300};
|
|
142
|
+
--color-blue-400: #{$color-blue-400};
|
|
143
|
+
--color-blue-500: #{$color-blue-500};
|
|
144
|
+
--color-blue-600: #{$color-blue-600};
|
|
145
|
+
--color-blue-700: #{$color-blue-700};
|
|
146
|
+
--color-blue-800: #{$color-blue-800};
|
|
147
|
+
--color-blue-900: #{$color-blue-900};
|
|
148
|
+
|
|
149
|
+
// Primary Green Scale
|
|
150
|
+
--color-green-50: #{$color-green-50};
|
|
151
|
+
--color-green-100: #{$color-green-100};
|
|
152
|
+
--color-green-200: #{$color-green-200};
|
|
153
|
+
--color-green-300: #{$color-green-300};
|
|
154
|
+
--color-green-400: #{$color-green-400};
|
|
155
|
+
--color-green-500: #{$color-green-500};
|
|
156
|
+
--color-green-600: #{$color-green-600};
|
|
157
|
+
--color-green-700: #{$color-green-700};
|
|
158
|
+
--color-green-800: #{$color-green-800};
|
|
159
|
+
--color-green-900: #{$color-green-900};
|
|
160
|
+
|
|
161
|
+
// Primary Grey Scale
|
|
162
|
+
--color-grey-50: #{$color-grey-50};
|
|
163
|
+
--color-grey-100: #{$color-grey-100};
|
|
164
|
+
--color-grey-200: #{$color-grey-200};
|
|
165
|
+
--color-grey-300: #{$color-grey-300};
|
|
166
|
+
--color-grey-400: #{$color-grey-400};
|
|
167
|
+
--color-grey-500: #{$color-grey-500};
|
|
168
|
+
--color-grey-600: #{$color-grey-600};
|
|
169
|
+
--color-grey-700: #{$color-grey-700};
|
|
170
|
+
--color-grey-800: #{$color-grey-800};
|
|
171
|
+
--color-grey-900: #{$color-grey-900};
|
|
172
|
+
|
|
173
|
+
// Primary Error Scale
|
|
174
|
+
--color-error-50: #{$color-error-50};
|
|
175
|
+
--color-error-100: #{$color-error-100};
|
|
176
|
+
--color-error-200: #{$color-error-200};
|
|
177
|
+
--color-error-300: #{$color-error-300};
|
|
178
|
+
--color-error-400: #{$color-error-400};
|
|
179
|
+
--color-error-500: #{$color-error-500};
|
|
180
|
+
--color-error-600: #{$color-error-600};
|
|
181
|
+
--color-error-700: #{$color-error-700};
|
|
182
|
+
--color-error-800: #{$color-error-800};
|
|
183
|
+
--color-error-900: #{$color-error-900};
|
|
184
|
+
|
|
185
|
+
// Primary Success Scale
|
|
186
|
+
--color-success-50: #{$color-success-50};
|
|
187
|
+
--color-success-100: #{$color-success-100};
|
|
188
|
+
--color-success-200: #{$color-success-200};
|
|
189
|
+
--color-success-300: #{$color-success-300};
|
|
190
|
+
--color-success-400: #{$color-success-400};
|
|
191
|
+
--color-success-500: #{$color-success-500};
|
|
192
|
+
--color-success-600: #{$color-success-600};
|
|
193
|
+
--color-success-700: #{$color-success-700};
|
|
194
|
+
--color-success-800: #{$color-success-800};
|
|
195
|
+
--color-success-900: #{$color-success-900};
|
|
196
|
+
|
|
197
|
+
// Semantic Names
|
|
198
|
+
--color-blue: #{$color-blue};
|
|
199
|
+
--color-blue-hover: #{$color-blue-hover};
|
|
200
|
+
--color-blue-active: #{$color-blue-active};
|
|
201
|
+
|
|
202
|
+
--color-green: #{$color-green};
|
|
203
|
+
--color-green-hover: #{$color-green-hover};
|
|
204
|
+
--color-green-active: #{$color-green-active};
|
|
205
|
+
|
|
206
|
+
--color-grey: #{$color-grey};
|
|
207
|
+
--color-grey-hover: #{$color-grey-hover};
|
|
208
|
+
--color-grey-active: #{$color-grey-active};
|
|
209
|
+
|
|
210
|
+
--color-error: #{$color-error};
|
|
211
|
+
--color-error-hover: #{$color-error-hover};
|
|
212
|
+
--color-error-active: #{$color-error-active};
|
|
213
|
+
|
|
214
|
+
--color-success: #{$color-success};
|
|
215
|
+
--color-success-hover: #{$color-success-hover};
|
|
216
|
+
--color-success-active: #{$color-success-active};
|
|
217
|
+
|
|
218
|
+
// Utility Colors
|
|
219
|
+
--color-disabled-bg: #{$color-disabled-bg};
|
|
220
|
+
--color-disabled-text: #{$color-disabled-text};
|
|
221
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// Elevation System
|
|
2
|
+
// Drop shadows for creating depth and hierarchy in the UI
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
// Elevation Level 1 - Subtle elevation for small components
|
|
6
|
+
--elevation-1: 0 1px 5px 1px rgba(113, 119, 147, 0.10);
|
|
7
|
+
|
|
8
|
+
// Elevation Level 2 - Light elevation for cards and panels
|
|
9
|
+
--elevation-2: 0 2px 10px 2px rgba(113, 119, 147, 0.10);
|
|
10
|
+
|
|
11
|
+
// Elevation Level 3 - Medium elevation for modals and overlays
|
|
12
|
+
--elevation-3: 0 4px 15px 3px rgba(113, 119, 147, 0.12);
|
|
13
|
+
|
|
14
|
+
// Elevation Level 4 - High elevation for dropdowns and popups
|
|
15
|
+
--elevation-4: 0 6px 10px 4px rgba(113, 119, 147, 0.15);
|
|
16
|
+
|
|
17
|
+
// Elevation Level 5 - Maximum elevation for tooltips and alerts
|
|
18
|
+
--elevation-5: 0 5px 15px 5px rgba(113, 119, 147, 0.20);
|
|
19
|
+
|
|
20
|
+
// Elevation Level 6 - Special elevation for borders and dividers
|
|
21
|
+
--elevation-6: 0 2px 4px 0 rgba(24, 43, 125, 0.15);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// SCSS Variables for use in components
|
|
25
|
+
$elevation-1: 0 1px 5px 1px rgba(113, 119, 147, 0.10);
|
|
26
|
+
$elevation-2: 0 2px 10px 2px rgba(113, 119, 147, 0.10);
|
|
27
|
+
$elevation-3: 0 4px 15px 3px rgba(113, 119, 147, 0.12);
|
|
28
|
+
$elevation-4: 0 6px 10px 4px rgba(113, 119, 147, 0.15);
|
|
29
|
+
$elevation-5: 0 5px 15px 5px rgba(113, 119, 147, 0.20);
|
|
30
|
+
$elevation-6: 0 2px 4px 0 rgba(24, 43, 125, 0.15);
|
|
31
|
+
|
|
32
|
+
// Utility Classes
|
|
33
|
+
.elevation-1 { box-shadow: var(--elevation-1); }
|
|
34
|
+
.elevation-2 { box-shadow: var(--elevation-2); }
|
|
35
|
+
.elevation-3 { box-shadow: var(--elevation-3); }
|
|
36
|
+
.elevation-4 { box-shadow: var(--elevation-4); }
|
|
37
|
+
.elevation-5 { box-shadow: var(--elevation-5); }
|
|
38
|
+
.elevation-6 { box-shadow: var(--elevation-6); }
|
|
39
|
+
|
|
40
|
+
// Mixins for easy use in SCSS
|
|
41
|
+
@mixin elevation-1 { box-shadow: $elevation-1; }
|
|
42
|
+
@mixin elevation-2 { box-shadow: $elevation-2; }
|
|
43
|
+
@mixin elevation-3 { box-shadow: $elevation-3; }
|
|
44
|
+
@mixin elevation-4 { box-shadow: $elevation-4; }
|
|
45
|
+
@mixin elevation-5 { box-shadow: $elevation-5; }
|
|
46
|
+
@mixin elevation-6 { box-shadow: $elevation-6; }
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
/* Google Fonts import suggestion left to consumer's index.html or global styles. */
|
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
// SCSS Variables
|
|
6
|
+
$primary-text-color: #4B4F62;
|
|
7
|
+
|
|
8
|
+
// Mixins
|
|
9
|
+
@mixin typography-base($size, $line-height, $letter-spacing, $weight: 400) {
|
|
10
|
+
font-size: $size;
|
|
11
|
+
line-height: $line-height;
|
|
12
|
+
letter-spacing: $letter-spacing;
|
|
13
|
+
font-weight: $weight;
|
|
14
|
+
color: $primary-text-color;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Weight utilities */
|
|
18
|
+
.weight-light {
|
|
19
|
+
font-weight: 300;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.weight-regular {
|
|
23
|
+
font-weight: 400;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.weight-medium {
|
|
27
|
+
font-weight: 500;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.weight-semibold {
|
|
31
|
+
font-weight: 600;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.weight-bold {
|
|
35
|
+
font-weight: 700;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Line height utilities */
|
|
39
|
+
.line-height-none {
|
|
40
|
+
line-height: 1 !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.line-height-tight {
|
|
44
|
+
line-height: 1.2 !important;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.line-height-normal {
|
|
48
|
+
line-height: 1.4 !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Letter spacing utilities */
|
|
52
|
+
.letter-spacing-normal {
|
|
53
|
+
letter-spacing: 0 !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.letter-spacing-wide {
|
|
57
|
+
letter-spacing: 0.1em !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.letter-spacing-wider {
|
|
61
|
+
letter-spacing: 0.2em !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Text decoration utilities */
|
|
65
|
+
.text-decoration-none {
|
|
66
|
+
text-decoration: none !important;
|
|
67
|
+
font-style: normal !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.text-decoration-underline {
|
|
71
|
+
text-decoration: underline !important;
|
|
72
|
+
font-style: normal !important;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.text-decoration-italic {
|
|
76
|
+
text-decoration: none !important;
|
|
77
|
+
font-style: italic !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.text-decoration-strike {
|
|
81
|
+
text-decoration: line-through !important;
|
|
82
|
+
font-style: normal !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Typography Scale - Based on the design system */
|
|
86
|
+
|
|
87
|
+
/* Text 5XL */
|
|
88
|
+
.font-text-5xl {
|
|
89
|
+
@include typography-base(2rem, 1.2, -0.1px, 400);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.font-text-5xl-medium {
|
|
93
|
+
@include typography-base(2rem, 1.2, -0.1px, 500);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.font-text-5xl-bold {
|
|
97
|
+
@include typography-base(2rem, 1.2, -0.1px, 700);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Text 4XL */
|
|
101
|
+
.font-text-4xl {
|
|
102
|
+
@include typography-base(1.75rem, 1.2, -0.1px, 400);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.font-text-4xl-medium {
|
|
106
|
+
@include typography-base(1.75rem, 1.2, -0.1px, 500);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.font-text-4xl-bold {
|
|
110
|
+
@include typography-base(1.75rem, 1.2, -0.1px, 700);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Text 3XL */
|
|
114
|
+
.font-text-3xl {
|
|
115
|
+
@include typography-base(1.5rem, 1.2, -0.1px, 400);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.font-text-3xl-medium {
|
|
119
|
+
@include typography-base(1.5rem, 1.2, -0.1px, 500);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.font-text-3xl-bold {
|
|
123
|
+
@include typography-base(1.5rem, 1.2, -0.1px, 700);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Text 2XL */
|
|
127
|
+
.font-text-2xl {
|
|
128
|
+
@include typography-base(1.375rem, 1.2, -0.1px, 400);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.font-text-2xl-medium {
|
|
132
|
+
@include typography-base(1.375rem, 1.2, -0.1px, 500);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.font-text-2xl-bold {
|
|
136
|
+
@include typography-base(1.375rem, 1.2, -0.1px, 700);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* Text XL */
|
|
140
|
+
.font-text-xl {
|
|
141
|
+
@include typography-base(1.25rem, 1.2, -0.1px, 400);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.font-text-xl-medium {
|
|
145
|
+
@include typography-base(1.25rem, 1.2, -0.1px, 500);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.font-text-xl-bold {
|
|
149
|
+
@include typography-base(1.25rem, 1.2, -0.1px, 700);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* Text LG */
|
|
153
|
+
.font-text-lg {
|
|
154
|
+
@include typography-base(1rem, 1.4, 0.25px, 400);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.font-text-lg-medium {
|
|
158
|
+
@include typography-base(1rem, 1.4, 0.25px, 500);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.font-text-lg-bold {
|
|
162
|
+
@include typography-base(1rem, 1.4, 0.25px, 700);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* Text Base */
|
|
166
|
+
.font-text-base {
|
|
167
|
+
@include typography-base(0.875rem, 1.4, 0.25px, 400);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.font-text-base-medium {
|
|
171
|
+
@include typography-base(0.875rem, 1.4, 0.25px, 500);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.font-text-base-bold {
|
|
175
|
+
@include typography-base(0.875rem, 1.4, 0.25px, 700);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* Text SM */
|
|
179
|
+
.font-text-sm {
|
|
180
|
+
@include typography-base(0.75rem, 1.4, 0.5px, 400);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.font-text-sm-medium {
|
|
184
|
+
@include typography-base(0.75rem, 1.4, 0.5px, 500);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.font-text-sm-bold {
|
|
188
|
+
@include typography-base(0.75rem, 1.4, 0.5px, 700);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Text XS */
|
|
192
|
+
.font-text-xs {
|
|
193
|
+
@include typography-base(0.625rem, 1.4, 0.5px, 400);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.font-text-xs-medium {
|
|
197
|
+
@include typography-base(0.625rem, 1.4, 0.5px, 500);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.font-text-xs-bold {
|
|
201
|
+
@include typography-base(0.625rem, 1.4, 0.5px, 700);
|
|
202
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// ============================================
|
|
2
|
+
// SPACING SCALE
|
|
3
|
+
// ============================================
|
|
4
|
+
|
|
5
|
+
// Spacing Scale - Modular spacing system
|
|
6
|
+
$space-2: 2px; // Use for small, compact components
|
|
7
|
+
$space-4: 4px; // Use for small, compact components
|
|
8
|
+
$space-6: 6px; // Use for small, compact components
|
|
9
|
+
$space-8: 8px; // Use for small, compact components
|
|
10
|
+
$space-10: 10px; // Use for small, compact components
|
|
11
|
+
$space-12: 12px; // Use for medium, less dense components
|
|
12
|
+
$space-16: 16px; // Use for larger components or dense layouts
|
|
13
|
+
$space-20: 20px; // Use for larger pieces of UI, patterns, or dense layouts
|
|
14
|
+
$space-24: 24px; // Use for larger pieces of UI, patterns, or layouts
|
|
15
|
+
$space-32: 32px; // Use for patterns or layouts
|
|
16
|
+
$space-40: 40px; // Use for patterns or layouts
|
|
17
|
+
$space-48: 48px; // Use for patterns or layouts with increased spacing
|
|
18
|
+
$space-64: 64px; // Use for layouts with increased spacing
|
|
19
|
+
$space-80: 80px; // Use for layouts with increased spacing
|
|
20
|
+
|
|
21
|
+
// ============================================
|
|
22
|
+
// CSS CUSTOM PROPERTIES
|
|
23
|
+
// ============================================
|
|
24
|
+
|
|
25
|
+
:root {
|
|
26
|
+
// Spacing Scale
|
|
27
|
+
--space-2: #{$space-2};
|
|
28
|
+
--space-4: #{$space-4};
|
|
29
|
+
--space-8: #{$space-8};
|
|
30
|
+
--space-12: #{$space-12};
|
|
31
|
+
--space-16: #{$space-16};
|
|
32
|
+
--space-20: #{$space-20};
|
|
33
|
+
--space-24: #{$space-24};
|
|
34
|
+
--space-32: #{$space-32};
|
|
35
|
+
--space-40: #{$space-40};
|
|
36
|
+
--space-48: #{$space-48};
|
|
37
|
+
--space-64: #{$space-64};
|
|
38
|
+
--space-80: #{$space-80};
|
|
39
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
|
|
2
|
+
|
|
3
|
+
/* Import new typography classes globally so font-text-5xl etc. are available in all components */
|
|
4
|
+
@import './new-typography.scss';
|
|
5
|
+
@import './colors.scss';
|
|
6
|
+
|
|
7
|
+
.font-display-large {
|
|
8
|
+
font-family: 'Roboto', sans-serif !important;
|
|
9
|
+
font-size: 57px;
|
|
10
|
+
font-style: normal;
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
line-height: 64px;
|
|
13
|
+
/* 112.281% */
|
|
14
|
+
letter-spacing: -0.25px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.font-display-medium {
|
|
18
|
+
font-family: 'Roboto', sans-serif !important;
|
|
19
|
+
font-size: 45px;
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
line-height: 52px;
|
|
23
|
+
/* 115.556% */
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.font-display-small {
|
|
27
|
+
font-family: 'Roboto', sans-serif !important;
|
|
28
|
+
font-size: 36px;
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
line-height: 44px;
|
|
32
|
+
/* 122.222% */
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.font-headline-large {
|
|
36
|
+
font-family: 'Roboto', sans-serif !important;
|
|
37
|
+
font-size: 32px;
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-weight: 400;
|
|
40
|
+
line-height: 40px;
|
|
41
|
+
/* 125% */
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.font-headline-medium {
|
|
45
|
+
font-family: 'Roboto', sans-serif !important;
|
|
46
|
+
font-size: 28px;
|
|
47
|
+
font-style: normal;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
line-height: 36px;
|
|
50
|
+
/* 128.571% */
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.font-headline-small {
|
|
54
|
+
font-family: 'Roboto', sans-serif !important;
|
|
55
|
+
font-size: 24px;
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 400;
|
|
58
|
+
line-height: 32px;
|
|
59
|
+
/* 133.333% */
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.font-title-large {
|
|
63
|
+
font-family: 'Roboto', sans-serif !important;
|
|
64
|
+
font-size: 22px;
|
|
65
|
+
font-style: normal;
|
|
66
|
+
font-weight: 400;
|
|
67
|
+
line-height: 28px;
|
|
68
|
+
/* 127.273% */
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.font-title-medium {
|
|
72
|
+
font-family: 'Roboto', sans-serif !important;
|
|
73
|
+
font-size: 16px;
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 400;
|
|
76
|
+
line-height: 24px;
|
|
77
|
+
/* 150% */
|
|
78
|
+
letter-spacing: 0.15px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.font-title-small {
|
|
82
|
+
font-family: 'Roboto', sans-serif !important;
|
|
83
|
+
font-size: 14px;
|
|
84
|
+
font-style: normal;
|
|
85
|
+
font-weight: 400;
|
|
86
|
+
line-height: 20px;
|
|
87
|
+
/* 142.857% */
|
|
88
|
+
letter-spacing: 0.1px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.font-label-large {
|
|
92
|
+
font-family: 'Roboto', sans-serif !important;
|
|
93
|
+
font-size: 14px;
|
|
94
|
+
font-style: normal;
|
|
95
|
+
font-weight: 500;
|
|
96
|
+
line-height: 20px;
|
|
97
|
+
/* 142.857% */
|
|
98
|
+
letter-spacing: 0.1px;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.font-label-medium {
|
|
102
|
+
font-family: 'Roboto', sans-serif !important;
|
|
103
|
+
font-size: 12px;
|
|
104
|
+
font-style: normal;
|
|
105
|
+
font-weight: 400;
|
|
106
|
+
line-height: 12px;
|
|
107
|
+
/* 100% */
|
|
108
|
+
letter-spacing: 0.5px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.font-label-small {
|
|
112
|
+
font-family: 'Roboto', sans-serif !important;
|
|
113
|
+
font-size: 10px;
|
|
114
|
+
font-style: normal;
|
|
115
|
+
font-weight: 400;
|
|
116
|
+
line-height: 10px;
|
|
117
|
+
/* 100% */
|
|
118
|
+
letter-spacing: 0.5px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.font-body-large {
|
|
122
|
+
font-family: 'Roboto', sans-serif !important;
|
|
123
|
+
font-size: 16px;
|
|
124
|
+
font-style: normal;
|
|
125
|
+
font-weight: 400;
|
|
126
|
+
line-height: 24px;
|
|
127
|
+
/* 150% */
|
|
128
|
+
letter-spacing: 0.5px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.font-body-medium {
|
|
132
|
+
font-family: 'Roboto', sans-serif !important;
|
|
133
|
+
font-size: 14px;
|
|
134
|
+
font-style: normal;
|
|
135
|
+
font-weight: 400;
|
|
136
|
+
line-height: 20px;
|
|
137
|
+
/* 142.857% */
|
|
138
|
+
letter-spacing: 0.25px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.font-body-small {
|
|
142
|
+
font-family: 'Roboto', sans-serif !important;
|
|
143
|
+
font-size: 12px;
|
|
144
|
+
font-style: normal;
|
|
145
|
+
font-weight: 400;
|
|
146
|
+
line-height: 16px;
|
|
147
|
+
/* 133.333% */
|
|
148
|
+
letter-spacing: 0.4px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/*
|
|
152
|
+
Utility classes requested by Certification Section and others.
|
|
153
|
+
Placed here so they are globally available, including in the
|
|
154
|
+
New Typography pages and all components that import this file.
|
|
155
|
+
*/
|
|
156
|
+
.typo-medium-700 {
|
|
157
|
+
color: var(--Greys-700, #4B4F62);
|
|
158
|
+
font-family: 'Roboto', sans-serif !important;
|
|
159
|
+
font-size: 14px;
|
|
160
|
+
font-style: normal;
|
|
161
|
+
font-weight: 500;
|
|
162
|
+
line-height: 140%;
|
|
163
|
+
letter-spacing: 0.035px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.typo-description {
|
|
167
|
+
color: var(--Greys-700, #4B4F62);
|
|
168
|
+
font-family: 'Roboto', sans-serif !important;
|
|
169
|
+
font-size: 14px;
|
|
170
|
+
font-style: normal;
|
|
171
|
+
font-weight: 400;
|
|
172
|
+
line-height: 140%;
|
|
173
|
+
letter-spacing: 0.035px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/* Simple color utility for grey-500 */
|
|
177
|
+
.text-grey-500 {
|
|
178
|
+
color: $color-grey-500 !important;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* Location text style - italic grey-600 */
|
|
182
|
+
.font-location-text {
|
|
183
|
+
color: $color-grey-600;
|
|
184
|
+
font-family: 'Roboto', sans-serif !important;
|
|
185
|
+
font-size: 16px;
|
|
186
|
+
font-style: italic;
|
|
187
|
+
font-weight: 400;
|
|
188
|
+
line-height: 140%;
|
|
189
|
+
/* 22.4px */
|
|
190
|
+
letter-spacing: 0.04px;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* Job title / Course name style - bold grey-600 */
|
|
194
|
+
.font-title-text {
|
|
195
|
+
color: $color-grey-600;
|
|
196
|
+
font-family: 'Roboto', sans-serif !important;
|
|
197
|
+
font-size: 16px;
|
|
198
|
+
font-style: normal;
|
|
199
|
+
font-weight: 700;
|
|
200
|
+
line-height: 140%;
|
|
201
|
+
/* 22.4px */
|
|
202
|
+
letter-spacing: 0.04px;
|
|
203
|
+
}
|