@gainsight-hub/design-tokens 0.2.2 → 0.2.4
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/applyThemeConfig.js +22 -6
- package/dist/styles.css +48 -51
- package/dist/tailwind.preset.cjs +3 -16
- package/dist/tailwind.preset.mjs +3 -16
- package/dist/theme-manifest.json +180 -5
- package/dist/themes/legacy.css +11 -3
- package/dist/token-catalog.json +258 -376
- package/dist/tokens.d.ts +18 -15
- package/dist/tokens.js +51 -56
- package/dist/tokens.json +59 -56
- package/dist/tokens.scss +51 -56
- package/package.json +1 -1
package/dist/tokens.scss
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
|
|
4
4
|
$border-width-100: 1px;
|
|
5
5
|
$border-width-200: 2px;
|
|
6
|
-
$color-brand-100: #
|
|
7
|
-
$color-brand-200: #
|
|
8
|
-
$color-brand-300: #
|
|
9
|
-
$color-brand-400: #
|
|
10
|
-
$color-brand-500: #
|
|
11
|
-
$color-brand-600: #
|
|
12
|
-
$color-brand-700: #
|
|
13
|
-
$color-brand-800: #
|
|
14
|
-
$color-brand-900: #
|
|
15
|
-
$color-brand-1000: #
|
|
6
|
+
$color-brand-100: #F2F0FF;
|
|
7
|
+
$color-brand-200: #DCD8FD;
|
|
8
|
+
$color-brand-300: #B3ACF6;
|
|
9
|
+
$color-brand-400: #978FEF;
|
|
10
|
+
$color-brand-500: #877EE7;
|
|
11
|
+
$color-brand-600: #7970DB;
|
|
12
|
+
$color-brand-700: #645DC6;
|
|
13
|
+
$color-brand-800: #544DB2;
|
|
14
|
+
$color-brand-900: #2F2C63;
|
|
15
|
+
$color-brand-1000: #28273F;
|
|
16
16
|
$color-neutral-0: #FFFFFF;
|
|
17
17
|
$color-neutral-100: #FAFAFA;
|
|
18
18
|
$color-neutral-200: #F4F5F6;
|
|
@@ -56,7 +56,7 @@ $color-red-400: #f86a68;
|
|
|
56
56
|
$color-red-500: #f15050;
|
|
57
57
|
$color-red-600: #e23d3d;
|
|
58
58
|
$color-red-700: #c92c2f;
|
|
59
|
-
$color-red-800: #
|
|
59
|
+
$color-red-800: #ae2424;
|
|
60
60
|
$color-red-900: #5d1a1c;
|
|
61
61
|
$color-red-1000: #421f21;
|
|
62
62
|
$color-yellow-100: #fff7d6;
|
|
@@ -69,14 +69,14 @@ $color-yellow-700: #946f00;
|
|
|
69
69
|
$color-yellow-800: #7f5f01;
|
|
70
70
|
$color-yellow-900: #533f04;
|
|
71
71
|
$color-yellow-1000: #332e1b;
|
|
72
|
-
$color-action-primary-default: #
|
|
73
|
-
$color-action-primary-hover: #
|
|
74
|
-
$color-action-primary-pressed: #
|
|
72
|
+
$color-action-primary-default: #645DC6; // default color used for the most prominent call-to-action in the interface
|
|
73
|
+
$color-action-primary-hover: #544DB2; // color used when a primary action is hovered
|
|
74
|
+
$color-action-primary-pressed: #2F2C63; // color used when a primary action is actively pressed
|
|
75
75
|
$color-action-neutral-default: #FFFFFF; // color used for less prominent actions that support the primary action
|
|
76
76
|
$color-action-neutral-hover: #FAFAFA; // color used when a secondary action is hovered
|
|
77
77
|
$color-action-neutral-pressed: #F4F5F6; // color used when a secondary action is actively pressed
|
|
78
78
|
$color-action-destructive-default: #c92c2f; // color used for actions that perform irreversible or potentially harmful operations
|
|
79
|
-
$color-action-destructive-hover: #
|
|
79
|
+
$color-action-destructive-hover: #ae2424; // color used when a destructive action is hovered
|
|
80
80
|
$color-action-destructive-pressed: #5d1a1c; // color used when a destructive action is actively pressed
|
|
81
81
|
$color-surface-page: #FAFAFA; // application canvas background used behind all UI surfaces
|
|
82
82
|
$color-surface-default: #FFFFFF; // default container surface for standard UI sections (cards, panels, content areas)
|
|
@@ -98,10 +98,10 @@ $color-status-information-bold: #0c66e4; // high-emphasis color used to indicate
|
|
|
98
98
|
$color-status-danger-bold: #c92c2f; // high-emphasis color used for neutral informational messages
|
|
99
99
|
$color-community-answered: #1f8444; // color used to indicate that a question or thread has received an accepted answer
|
|
100
100
|
$color-community-unanswered: #696E7C; // color used to indicate that a question or thread has not yet received a response
|
|
101
|
-
$color-community-highlighted: #
|
|
102
|
-
$color-community-pinned: #
|
|
103
|
-
$color-link-default: #
|
|
104
|
-
$color-link-hover: #
|
|
101
|
+
$color-community-highlighted: #645DC6; // color used to highlight content that is featured or editorially promoted
|
|
102
|
+
$color-community-pinned: #645DC6; // color used to indicate content that is pinned and prioritized in listings
|
|
103
|
+
$color-link-default: #645DC6; // default color used for interactive text links
|
|
104
|
+
$color-link-hover: #544DB2; // color used for interactive text links on hover
|
|
105
105
|
$color-focus-ring: #388bff; // default color used for focus rings on interactive elements
|
|
106
106
|
$color-overlay-backdrop: rgba(43, 51, 70, 0.48); // semi-transparent color displayed behind modals to obscure background content
|
|
107
107
|
$color-overlay-interactive-hover: rgba(43, 51, 70, 0.04); // overlay color applied to interactive elements to indicate a hover state
|
|
@@ -109,6 +109,8 @@ $color-overlay-interactive-pressed: rgba(43, 51, 70, 0.08); // overlay color app
|
|
|
109
109
|
$color-skeleton-default: #F4F5F6; // base color used for loading placeholders while content is being fetched
|
|
110
110
|
$color-skeleton-subtle: rgba(43, 51, 70, 0.04); // highlight color used in animated skeleton states to simulate loading progress
|
|
111
111
|
$font-family-sans: Roboto;
|
|
112
|
+
$font-family-heading: Roboto;
|
|
113
|
+
$font-family-button: Roboto;
|
|
112
114
|
$font-family-mono: Roboto Mono;
|
|
113
115
|
$font-weight-regular: 400;
|
|
114
116
|
$font-weight-medium: 500;
|
|
@@ -156,63 +158,48 @@ $space-layout-gutter: 12px; // space used as the default gap between columns or
|
|
|
156
158
|
$elevation-1: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1); // low elevation used for raised surfaces above the base layout
|
|
157
159
|
$elevation-2: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1); // medium elevation used for floating surfaces above regular content
|
|
158
160
|
$elevation-3: 0px 8px 10px -6px rgba(0, 0, 0, 0.1), 0px 20px 25px -5px rgba(0, 0, 0, 0.1); // high elevation used for top-level surfaces above other floating elements
|
|
159
|
-
$text-hero-font-family: Roboto;
|
|
160
161
|
$text-hero-font-weight: 700;
|
|
161
162
|
$text-hero-font-size: 2rem;
|
|
162
163
|
$text-hero-line-height: 1.25;
|
|
163
|
-
$text-heading-small-font-family: Roboto;
|
|
164
164
|
$text-heading-small-font-weight: 500;
|
|
165
165
|
$text-heading-small-font-size: 1.25rem;
|
|
166
166
|
$text-heading-small-line-height: 1.25;
|
|
167
|
-
$text-heading-medium-font-family: Roboto;
|
|
168
167
|
$text-heading-medium-font-weight: 500;
|
|
169
168
|
$text-heading-medium-font-size: 1.5rem;
|
|
170
169
|
$text-heading-medium-line-height: 1.25;
|
|
171
|
-
$text-heading-large-font-family: Roboto;
|
|
172
170
|
$text-heading-large-font-weight: 700;
|
|
173
171
|
$text-heading-large-font-size: 1.75rem;
|
|
174
172
|
$text-heading-large-line-height: 1.25;
|
|
175
|
-
$text-heading-xlarge-font-family: Roboto;
|
|
176
173
|
$text-heading-xlarge-font-weight: 700;
|
|
177
174
|
$text-heading-xlarge-font-size: 2rem;
|
|
178
175
|
$text-heading-xlarge-line-height: 1.25;
|
|
179
|
-
$text-body-small-font-family: Roboto;
|
|
180
176
|
$text-body-small-font-weight: 400;
|
|
181
177
|
$text-body-small-font-size: 0.875rem;
|
|
182
178
|
$text-body-small-line-height: 1.5;
|
|
183
|
-
$text-body-medium-font-family: Roboto;
|
|
184
179
|
$text-body-medium-font-weight: 400;
|
|
185
180
|
$text-body-medium-font-size: 1rem;
|
|
186
181
|
$text-body-medium-line-height: 1.5;
|
|
187
|
-
$text-body-large-font-family: Roboto;
|
|
188
182
|
$text-body-large-font-weight: 400;
|
|
189
183
|
$text-body-large-font-size: 1.25rem;
|
|
190
184
|
$text-body-large-line-height: 1.5;
|
|
191
|
-
$text-navigation-font-family: Roboto;
|
|
192
185
|
$text-navigation-font-weight: 400;
|
|
193
186
|
$text-navigation-font-size: 0.875rem;
|
|
194
187
|
$text-navigation-line-height: 1.25rem;
|
|
195
|
-
$text-menu-font-family: Roboto;
|
|
196
188
|
$text-menu-font-weight: 400;
|
|
197
189
|
$text-menu-font-size: 0.875rem;
|
|
198
190
|
$text-menu-line-height: 1.25rem;
|
|
199
|
-
$text-button-font-family: Roboto;
|
|
200
191
|
$text-button-font-weight: 500;
|
|
201
192
|
$text-button-font-size: 0.875rem;
|
|
202
193
|
$text-button-line-height: 1.25rem;
|
|
203
|
-
$text-label-small-font-family: Roboto;
|
|
204
194
|
$text-label-small-font-weight: 500;
|
|
205
195
|
$text-label-small-font-size: 0.875rem;
|
|
206
196
|
$text-label-small-line-height: 1.25rem;
|
|
207
|
-
$text-label-medium-font-family: Roboto;
|
|
208
197
|
$text-label-medium-font-weight: 500;
|
|
209
198
|
$text-label-medium-font-size: 1rem;
|
|
210
199
|
$text-label-medium-line-height: 1.5rem;
|
|
211
|
-
$text-caption-font-family: Roboto;
|
|
212
200
|
$text-caption-font-weight: 400;
|
|
213
201
|
$text-caption-font-size: 0.75rem;
|
|
214
202
|
$text-caption-line-height: 1rem;
|
|
215
|
-
$text-code-font-family: Roboto Mono;
|
|
216
203
|
$text-code-font-weight: 400;
|
|
217
204
|
$text-code-font-size: 1rem;
|
|
218
205
|
$text-code-line-height: 1.5;
|
|
@@ -222,9 +209,9 @@ $button-radius: 8px; // Border radius used for all button variants.
|
|
|
222
209
|
$button-border-width: 1px; // Border width used for all button variants.
|
|
223
210
|
$button-font-weight: 500; // Font weight used for button labels across all variants.
|
|
224
211
|
$button-text-transform: none; // Text transform applied to button labels (e.g., none/uppercase).
|
|
225
|
-
$button-primary-background-default: #
|
|
226
|
-
$button-primary-background-hover: #
|
|
227
|
-
$button-primary-background-pressed: #
|
|
212
|
+
$button-primary-background-default: #645DC6; // Primary button background in default state.
|
|
213
|
+
$button-primary-background-hover: #544DB2; // Primary button background on hover.
|
|
214
|
+
$button-primary-background-pressed: #2F2C63; // Primary button background on press.
|
|
228
215
|
$button-primary-content-default: #FFFFFF; // Primary button label/icon color in default state.
|
|
229
216
|
$button-primary-content-hover: #FFFFFF; // Primary button label/icon color on hover.
|
|
230
217
|
$button-primary-content-pressed: #FFFFFF; // Primary button label/icon color on press.
|
|
@@ -243,7 +230,7 @@ $button-secondary-border-hover: #DEDFE2; // Secondary button border color on hov
|
|
|
243
230
|
$button-secondary-border-pressed: #DEDFE2; // Secondary button border color on press.
|
|
244
231
|
$button-secondary-shadow: none; // Secondary button shadow (none).
|
|
245
232
|
$button-destructive-background-default: #c92c2f; // Destructive button background in default state.
|
|
246
|
-
$button-destructive-background-hover: #
|
|
233
|
+
$button-destructive-background-hover: #ae2424; // Destructive button background on hover.
|
|
247
234
|
$button-destructive-background-pressed: #5d1a1c; // Destructive button background on press.
|
|
248
235
|
$button-destructive-content-default: #FFFFFF; // Destructive button label/icon color in default state.
|
|
249
236
|
$button-destructive-content-hover: #FFFFFF; // Destructive button label/icon color on hover.
|
|
@@ -264,9 +251,9 @@ $button-vote-border-pressed: #DEDFE2; // Vote button border color on press.
|
|
|
264
251
|
$button-vote-shadow-default: none; // Vote button shadow in default state (none).
|
|
265
252
|
$button-vote-shadow-hover: none; // Vote button shadow on hover (none).
|
|
266
253
|
$button-vote-shadow-pressed: none; // Vote button shadow on press (none).
|
|
267
|
-
$button-vote-selected-background-default: #
|
|
268
|
-
$button-vote-selected-background-hover: #
|
|
269
|
-
$button-vote-selected-background-pressed: #
|
|
254
|
+
$button-vote-selected-background-default: #645DC6; // Vote button background when selected (default).
|
|
255
|
+
$button-vote-selected-background-hover: #544DB2; // Vote button background when selected (hovered).
|
|
256
|
+
$button-vote-selected-background-pressed: #2F2C63; // Vote button background when selected (pressed).
|
|
270
257
|
$button-vote-selected-content-default: #FFFFFF; // Vote button content color when selected (default).
|
|
271
258
|
$button-vote-selected-content-hover: #FFFFFF; // Vote button content color when selected (hovered).
|
|
272
259
|
$button-vote-selected-content-pressed: #FFFFFF; // Vote button content color when selected (pressed).
|
|
@@ -285,11 +272,11 @@ $card-background-default: #FFFFFF; // Card background in default state.
|
|
|
285
272
|
$card-background-hover: #FFFFFF; // Card background on hover.
|
|
286
273
|
$card-background-pressed: #FFFFFF; // Card background on press.
|
|
287
274
|
$card-title-default: #2B3346; // Card title color in default state.
|
|
288
|
-
$card-title-hover: #
|
|
275
|
+
$card-title-hover: #645DC6; // Card title color on hover (link styling).
|
|
289
276
|
$card-title-pressed: #2B3346; // Card title color on press.
|
|
290
277
|
$card-content-default: #2B3346; // Card body/content color in default state.
|
|
291
278
|
$card-content-hover: #2B3346; // Card body/content color on hover.
|
|
292
|
-
$card-content-pressed: #
|
|
279
|
+
$card-content-pressed: #544DB2; // Card body/content color on press (link hovered styling).
|
|
293
280
|
$card-shadow-default: none; // Card shadow in default state (none).
|
|
294
281
|
$card-shadow-hover: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1); // Card shadow on hover.
|
|
295
282
|
$card-shadow-pressed: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1); // Card shadow on press.
|
|
@@ -307,11 +294,11 @@ $feed-item-background-default: #FFFFFF; // Feed item background in default state
|
|
|
307
294
|
$feed-item-background-hover: #FFFFFF; // Feed item background on hover.
|
|
308
295
|
$feed-item-background-pressed: #FFFFFF; // Feed item background on press.
|
|
309
296
|
$feed-item-title-default: #2B3346; // Feed item title color in default state.
|
|
310
|
-
$feed-item-title-hover: #
|
|
311
|
-
$feed-item-title-pressed: #
|
|
297
|
+
$feed-item-title-hover: #645DC6; // Feed item title color on hover (link styling).
|
|
298
|
+
$feed-item-title-pressed: #544DB2; // Feed item title color on press (link hovered styling).
|
|
312
299
|
$feed-item-content-default: #2B3346; // Feed item content color in default state.
|
|
313
300
|
$feed-item-content-hover: #2B3346; // Feed item content color on hover.
|
|
314
|
-
$feed-item-content-pressed: #
|
|
301
|
+
$feed-item-content-pressed: #544DB2; // Feed item content color on press (link hovered styling).
|
|
315
302
|
$feed-item-shadow-default: none; // Feed item shadow in default state (none).
|
|
316
303
|
$feed-item-shadow-hover: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1); // Feed item shadow on hover.
|
|
317
304
|
$feed-item-shadow-pressed: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1); // Feed item shadow on press.
|
|
@@ -321,6 +308,14 @@ $navigation-dropdown-background: #FFFFFF; // Navigation dropdown background.
|
|
|
321
308
|
$navigation-dropdown-content: #2B3346; // Navigation dropdown content color.
|
|
322
309
|
$navigation-border-top: rgba(0, 0, 0, 0); // Top border of navigation (transparent).
|
|
323
310
|
$navigation-border-bottom: #DEDFE2; // Bottom border of navigation.
|
|
311
|
+
$sidebar-background: #FFFFFF; // Sidebar widget placeholder background color.
|
|
312
|
+
$sidebar-border-radius: 8px; // Sidebar widget placeholder border radius.
|
|
313
|
+
$sidebar-border-color: #DEDFE2; // Sidebar widget placeholder border color.
|
|
314
|
+
$sidebar-border-width: 1px; // Sidebar widget placeholder border width.
|
|
315
|
+
$sidebar-shadow: none; // Sidebar widget placeholder box shadow.
|
|
316
|
+
$sidebar-title-color: #2B3346; // Sidebar widget title text color.
|
|
317
|
+
$sidebar-title-font-family: Roboto; // Sidebar widget title font family.
|
|
318
|
+
$sidebar-title-font-weight: 500; // Sidebar widget title font weight.
|
|
324
319
|
$widget-title: #2B3346; // Default widget title color.
|
|
325
320
|
$widget-subtitle: #2B3346; // Default widget subtitle color.
|
|
326
321
|
$widget-background: #FAFAFA; // Default widget background.
|
|
@@ -337,16 +332,16 @@ $widget-introduction-content: #2B3346; // Introduction widget body/content color
|
|
|
337
332
|
$widget-introduction-icon-background: #1f8444; // Introduction widget icon container background.
|
|
338
333
|
$widget-introduction-icon-content: #FFFFFF; // Introduction widget icon color.
|
|
339
334
|
$widget-introduction-close-content: #696E7C; // Introduction widget close button color.
|
|
340
|
-
$theme-brand-100: #
|
|
341
|
-
$theme-brand-200: #
|
|
342
|
-
$theme-brand-300: #
|
|
343
|
-
$theme-brand-400: #
|
|
344
|
-
$theme-brand-500: #
|
|
345
|
-
$theme-brand-600: #
|
|
346
|
-
$theme-brand-700: #
|
|
347
|
-
$theme-brand-800: #
|
|
348
|
-
$theme-brand-900: #
|
|
349
|
-
$theme-brand-1000: #
|
|
335
|
+
$theme-brand-100: #F2F0FF;
|
|
336
|
+
$theme-brand-200: #DCD8FD;
|
|
337
|
+
$theme-brand-300: #B3ACF6;
|
|
338
|
+
$theme-brand-400: #978FEF;
|
|
339
|
+
$theme-brand-500: #877EE7;
|
|
340
|
+
$theme-brand-600: #7970DB;
|
|
341
|
+
$theme-brand-700: #645DC6;
|
|
342
|
+
$theme-brand-800: #544DB2;
|
|
343
|
+
$theme-brand-900: #2F2C63;
|
|
344
|
+
$theme-brand-1000: #28273F;
|
|
350
345
|
$theme-neutral-0: #FFFFFF;
|
|
351
346
|
$theme-neutral-100: #FAFAFA;
|
|
352
347
|
$theme-neutral-200: #F4F5F6;
|
package/package.json
CHANGED