@gainsight-hub/design-tokens 0.1.0
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/README.md +305 -0
- package/dist/applyTheme.d.ts +14 -0
- package/dist/applyTheme.js +66 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/styles.css +457 -0
- package/dist/tailwind.preset.cjs +289 -0
- package/dist/tailwind.preset.mjs +289 -0
- package/dist/theme-manifest.json +212 -0
- package/dist/themes/antd.css +48 -0
- package/dist/themes/antd.css.d.ts +2 -0
- package/dist/themes/dark.css +47 -0
- package/dist/themes/dark.css.d.ts +2 -0
- package/dist/themes/legacy.css +165 -0
- package/dist/themes/legacy.css.d.ts +2 -0
- package/dist/themes/mui.css +48 -0
- package/dist/themes/mui.css.d.ts +2 -0
- package/dist/themes/spectrum.css +48 -0
- package/dist/themes/spectrum.css.d.ts +2 -0
- package/dist/themes.css +8 -0
- package/dist/token-catalog.json +5107 -0
- package/dist/tokens.d.ts +525 -0
- package/dist/tokens.js +371 -0
- package/dist/tokens.json +617 -0
- package/dist/tokens.scss +360 -0
- package/package.json +55 -0
package/dist/tokens.scss
ADDED
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
|
|
2
|
+
// Do not edit directly, this file was auto-generated.
|
|
3
|
+
|
|
4
|
+
$border-width-100: 1px;
|
|
5
|
+
$border-width-200: 2px;
|
|
6
|
+
$color-brand-100: #E9F2FF;
|
|
7
|
+
$color-brand-200: #CCE0FF;
|
|
8
|
+
$color-brand-300: #85B8FF;
|
|
9
|
+
$color-brand-400: #579DFF;
|
|
10
|
+
$color-brand-500: #388BFF;
|
|
11
|
+
$color-brand-600: #1D7AFC;
|
|
12
|
+
$color-brand-700: #0C66E4;
|
|
13
|
+
$color-brand-800: #0055CC;
|
|
14
|
+
$color-brand-900: #09326C;
|
|
15
|
+
$color-brand-1000: #1C2B41;
|
|
16
|
+
$color-neutral-0: #FFFFFF;
|
|
17
|
+
$color-neutral-100: #FAFAFA;
|
|
18
|
+
$color-neutral-200: #F4F5F6;
|
|
19
|
+
$color-neutral-300: #DEDFE2;
|
|
20
|
+
$color-neutral-400: #B8BBC2;
|
|
21
|
+
$color-neutral-500: #8D919B;
|
|
22
|
+
$color-neutral-600: #7B808E;
|
|
23
|
+
$color-neutral-700: #696E7C;
|
|
24
|
+
$color-neutral-800: #4F5663;
|
|
25
|
+
$color-neutral-900: #3B4254;
|
|
26
|
+
$color-neutral-1000: #2B3346;
|
|
27
|
+
$color-neutral-a100: rgba(43, 51, 70, 0.04);
|
|
28
|
+
$color-neutral-a200: rgba(43, 51, 70, 0.08);
|
|
29
|
+
$color-neutral-a300: rgba(43, 51, 70, 0.16);
|
|
30
|
+
$color-neutral-a400: rgba(43, 51, 70, 0.32);
|
|
31
|
+
$color-neutral-a500: rgba(43, 51, 70, 0.48);
|
|
32
|
+
$color-blue-100: #e9f2ff;
|
|
33
|
+
$color-blue-200: #cce0ff;
|
|
34
|
+
$color-blue-300: #85b8ff;
|
|
35
|
+
$color-blue-400: #579dff;
|
|
36
|
+
$color-blue-500: #388bff;
|
|
37
|
+
$color-blue-600: #1d7afc;
|
|
38
|
+
$color-blue-700: #0c66e4;
|
|
39
|
+
$color-blue-800: #0055cc;
|
|
40
|
+
$color-blue-900: #09326c;
|
|
41
|
+
$color-blue-1000: #1c2b41;
|
|
42
|
+
$color-green-100: #dcffeb;
|
|
43
|
+
$color-green-200: #baf3d2;
|
|
44
|
+
$color-green-300: #7ee2a6;
|
|
45
|
+
$color-green-400: #4bce7f;
|
|
46
|
+
$color-green-500: #2abb62;
|
|
47
|
+
$color-green-600: #22a052;
|
|
48
|
+
$color-green-700: #1f8444;
|
|
49
|
+
$color-green-800: #216e3d;
|
|
50
|
+
$color-green-900: #164b29;
|
|
51
|
+
$color-green-1000: #1c3324;
|
|
52
|
+
$color-red-100: #ffeceb;
|
|
53
|
+
$color-red-200: #ffd3d2;
|
|
54
|
+
$color-red-300: #fd9391;
|
|
55
|
+
$color-red-400: #f86a68;
|
|
56
|
+
$color-red-500: #f15050;
|
|
57
|
+
$color-red-600: #e23d3d;
|
|
58
|
+
$color-red-700: #c92c2f;
|
|
59
|
+
$color-red-800: #ae2426;
|
|
60
|
+
$color-red-900: #5d1a1c;
|
|
61
|
+
$color-red-1000: #421f21;
|
|
62
|
+
$color-yellow-100: #fff7d6;
|
|
63
|
+
$color-yellow-200: #f8e6a0;
|
|
64
|
+
$color-yellow-300: #f5cd47;
|
|
65
|
+
$color-yellow-400: #e2b203;
|
|
66
|
+
$color-yellow-500: #cf9f02;
|
|
67
|
+
$color-yellow-600: #b38600;
|
|
68
|
+
$color-yellow-700: #946f00;
|
|
69
|
+
$color-yellow-800: #7f5f01;
|
|
70
|
+
$color-yellow-900: #533f04;
|
|
71
|
+
$color-yellow-1000: #332e1b;
|
|
72
|
+
$color-action-primary-default: #0C66E4; // default color used for the most prominent call-to-action in the interface
|
|
73
|
+
$color-action-primary-hover: #0055CC; // color used when a primary action is hovered
|
|
74
|
+
$color-action-primary-pressed: #09326C; // color used when a primary action is actively pressed
|
|
75
|
+
$color-action-neutral-default: #FFFFFF; // color used for less prominent actions that support the primary action
|
|
76
|
+
$color-action-neutral-hover: #FAFAFA; // color used when a secondary action is hovered
|
|
77
|
+
$color-action-neutral-pressed: #F4F5F6; // color used when a secondary action is actively pressed
|
|
78
|
+
$color-action-destructive-default: #c92c2f; // color used for actions that perform irreversible or potentially harmful operations
|
|
79
|
+
$color-action-destructive-hover: #ae2426; // color used when a destructive action is hovered
|
|
80
|
+
$color-action-destructive-pressed: #5d1a1c; // color used when a destructive action is actively pressed
|
|
81
|
+
$color-surface-page: #FAFAFA; // application canvas background used behind all UI surfaces
|
|
82
|
+
$color-surface-default: #FFFFFF; // default container surface for standard UI sections (cards, panels, content areas)
|
|
83
|
+
$color-surface-muted: #F4F5F6; // sub-surface used inside containers to visually group secondary areas (e.g., comment/reply bubbles)
|
|
84
|
+
$color-surface-disabled: #F4F5F6; // background of disabled interactive elements such as inputs, buttons, or selection controls
|
|
85
|
+
$color-surface-overlay: #FFFFFF; // elevated surface for overlays and floating layers (modals, dropdowns, popovers).
|
|
86
|
+
$color-surface-inverse: #2B3346; // color used for inverse surfaces such as tooltips and high-contrast floating UI
|
|
87
|
+
$color-content-default: #2B3346; // default color used for primary body text and high-emphasis content
|
|
88
|
+
$color-content-subtle: #4F5663; // color used for secondary text such as helper text, metadata, or supporting information
|
|
89
|
+
$color-content-subtlest: #696E7C; // color used for low-emphasis text such as placeholders or less important UI copy
|
|
90
|
+
$color-content-heading-default: #2B3346; // default color used for section and component headings
|
|
91
|
+
$color-content-heading-hero: #FFFFFF; // color used for prominent page-level headings displayed on hero or banner areas
|
|
92
|
+
$color-content-inverse: #FFFFFF; // color used for text displayed on high-contrast or brand-colored backgrounds
|
|
93
|
+
$color-content-disabled: #B8BBC2; // color used for text on disabled elements or unavailable content
|
|
94
|
+
$color-line-default: #DEDFE2; // default border and divider color used for standard UI boundaries, separators, and component outlines
|
|
95
|
+
$color-line-disabled: #DEDFE2; // border and divider color used for disabled components or non-interactive states where visual emphasis is reduced
|
|
96
|
+
$color-status-success-bold: #1f8444; // high-emphasis color used to communicate successful outcomes or confirmations
|
|
97
|
+
$color-status-information-bold: #0c66e4; // high-emphasis color used to indicate errors or critical issues
|
|
98
|
+
$color-status-danger-bold: #c92c2f; // high-emphasis color used for neutral informational messages
|
|
99
|
+
$color-community-answered: #1f8444; // color used to indicate that a question or thread has received an accepted answer
|
|
100
|
+
$color-community-unanswered: #696E7C; // color used to indicate that a question or thread has not yet received a response
|
|
101
|
+
$color-community-highlighted: #0C66E4; // color used to highlight content that is featured or editorially promoted
|
|
102
|
+
$color-community-pinned: #0C66E4; // color used to indicate content that is pinned and prioritized in listings
|
|
103
|
+
$color-link-default: #0C66E4; // default color used for interactive text links
|
|
104
|
+
$color-link-hover: #0055CC; // color used for interactive text links on hover
|
|
105
|
+
$color-focus-ring: #388bff; // default color used for focus rings on interactive elements
|
|
106
|
+
$color-overlay-backdrop: rgba(43, 51, 70, 0.48); // semi-transparent color displayed behind modals to obscure background content
|
|
107
|
+
$color-overlay-interactive-hover: rgba(43, 51, 70, 0.04); // overlay color applied to interactive elements to indicate a hover state
|
|
108
|
+
$color-overlay-interactive-pressed: rgba(43, 51, 70, 0.08); // overlay color applied to interactive elements to indicate an active or pressed state
|
|
109
|
+
$color-skeleton-default: #F4F5F6; // base color used for loading placeholders while content is being fetched
|
|
110
|
+
$color-skeleton-subtle: rgba(43, 51, 70, 0.04); // highlight color used in animated skeleton states to simulate loading progress
|
|
111
|
+
$font-family-sans: Roboto;
|
|
112
|
+
$font-family-mono: Roboto Mono;
|
|
113
|
+
$font-weight-regular: 400;
|
|
114
|
+
$font-weight-medium: 500;
|
|
115
|
+
$font-weight-bold: 700;
|
|
116
|
+
$font-size-100: 0.75rem;
|
|
117
|
+
$font-size-200: 0.875rem;
|
|
118
|
+
$font-size-300: 1rem;
|
|
119
|
+
$font-size-400: 1.25rem;
|
|
120
|
+
$font-size-500: 1.5rem;
|
|
121
|
+
$font-size-600: 1.75rem;
|
|
122
|
+
$font-size-700: 2rem;
|
|
123
|
+
$line-height-ratio-tight: 1.25;
|
|
124
|
+
$line-height-ratio-relaxed: 1.5;
|
|
125
|
+
$line-height-grid-100: 1rem;
|
|
126
|
+
$line-height-grid-200: 1.25rem;
|
|
127
|
+
$line-height-grid-300: 1.5rem;
|
|
128
|
+
$line-height-grid-400: 1.75rem;
|
|
129
|
+
$line-height-grid-500: 2rem;
|
|
130
|
+
$line-height-grid-600: 2.25rem;
|
|
131
|
+
$line-height-grid-700: 2.5rem;
|
|
132
|
+
$radius-100: 8px;
|
|
133
|
+
$radius-150: 12px;
|
|
134
|
+
$radius-200: 16px;
|
|
135
|
+
$radius-025: 2px;
|
|
136
|
+
$radius-050: 4px;
|
|
137
|
+
$radius-full: 9999px;
|
|
138
|
+
$shadow-100: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
139
|
+
$shadow-200: 0px 4px 6px -4px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
|
|
140
|
+
$shadow-300: 0px 8px 10px -6px rgba(0, 0, 0, 0.1), 0px 20px 25px -5px rgba(0, 0, 0, 0.1);
|
|
141
|
+
$space-0: 0px;
|
|
142
|
+
$space-100: 8px;
|
|
143
|
+
$space-125: 12px;
|
|
144
|
+
$space-200: 16px;
|
|
145
|
+
$space-250: 20px;
|
|
146
|
+
$space-300: 24px;
|
|
147
|
+
$space-400: 32px;
|
|
148
|
+
$space-500: 40px;
|
|
149
|
+
$space-600: 48px;
|
|
150
|
+
$space-800: 64px;
|
|
151
|
+
$space-1000: 80px;
|
|
152
|
+
$space-025: 2px;
|
|
153
|
+
$space-050: 4px;
|
|
154
|
+
$space-075: 6px;
|
|
155
|
+
$space-layout-gutter: 12px; // space used as the default gap between columns or layout elements
|
|
156
|
+
$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
|
+
$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
|
+
$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
|
+
$text-hero-font-weight: 700;
|
|
161
|
+
$text-hero-font-size: 2rem;
|
|
162
|
+
$text-hero-line-height: 1.25;
|
|
163
|
+
$text-heading-small-font-family: Roboto;
|
|
164
|
+
$text-heading-small-font-weight: 500;
|
|
165
|
+
$text-heading-small-font-size: 1.25rem;
|
|
166
|
+
$text-heading-small-line-height: 1.25;
|
|
167
|
+
$text-heading-medium-font-family: Roboto;
|
|
168
|
+
$text-heading-medium-font-weight: 500;
|
|
169
|
+
$text-heading-medium-font-size: 1.5rem;
|
|
170
|
+
$text-heading-medium-line-height: 1.25;
|
|
171
|
+
$text-heading-large-font-family: Roboto;
|
|
172
|
+
$text-heading-large-font-weight: 700;
|
|
173
|
+
$text-heading-large-font-size: 1.75rem;
|
|
174
|
+
$text-heading-large-line-height: 1.25;
|
|
175
|
+
$text-heading-xlarge-font-family: Roboto;
|
|
176
|
+
$text-heading-xlarge-font-weight: 700;
|
|
177
|
+
$text-heading-xlarge-font-size: 2rem;
|
|
178
|
+
$text-heading-xlarge-line-height: 1.25;
|
|
179
|
+
$text-body-small-font-family: Roboto;
|
|
180
|
+
$text-body-small-font-weight: 400;
|
|
181
|
+
$text-body-small-font-size: 0.875rem;
|
|
182
|
+
$text-body-small-line-height: 1.5;
|
|
183
|
+
$text-body-medium-font-family: Roboto;
|
|
184
|
+
$text-body-medium-font-weight: 400;
|
|
185
|
+
$text-body-medium-font-size: 1rem;
|
|
186
|
+
$text-body-medium-line-height: 1.5;
|
|
187
|
+
$text-body-large-font-family: Roboto;
|
|
188
|
+
$text-body-large-font-weight: 400;
|
|
189
|
+
$text-body-large-font-size: 1.25rem;
|
|
190
|
+
$text-body-large-line-height: 1.5;
|
|
191
|
+
$text-navigation-font-family: Roboto;
|
|
192
|
+
$text-navigation-font-weight: 400;
|
|
193
|
+
$text-navigation-font-size: 0.875rem;
|
|
194
|
+
$text-navigation-line-height: 1.25rem;
|
|
195
|
+
$text-menu-font-family: Roboto;
|
|
196
|
+
$text-menu-font-weight: 400;
|
|
197
|
+
$text-menu-font-size: 0.875rem;
|
|
198
|
+
$text-menu-line-height: 1.25rem;
|
|
199
|
+
$text-button-font-family: Roboto;
|
|
200
|
+
$text-button-font-weight: 500;
|
|
201
|
+
$text-button-font-size: 0.875rem;
|
|
202
|
+
$text-button-line-height: 1.25rem;
|
|
203
|
+
$text-label-small-font-family: Roboto;
|
|
204
|
+
$text-label-small-font-weight: 500;
|
|
205
|
+
$text-label-small-font-size: 0.875rem;
|
|
206
|
+
$text-label-small-line-height: 1.25rem;
|
|
207
|
+
$text-label-medium-font-family: Roboto;
|
|
208
|
+
$text-label-medium-font-weight: 500;
|
|
209
|
+
$text-label-medium-font-size: 1rem;
|
|
210
|
+
$text-label-medium-line-height: 1.5rem;
|
|
211
|
+
$text-caption-font-family: Roboto;
|
|
212
|
+
$text-caption-font-weight: 400;
|
|
213
|
+
$text-caption-font-size: 0.75rem;
|
|
214
|
+
$text-caption-line-height: 1rem;
|
|
215
|
+
$text-code-font-family: Roboto Mono;
|
|
216
|
+
$text-code-font-weight: 400;
|
|
217
|
+
$text-code-font-size: 1rem;
|
|
218
|
+
$text-code-line-height: 1.5;
|
|
219
|
+
$backtotop-background: #2B3346; // Back-to-top button background.
|
|
220
|
+
$backtotop-content: #FFFFFF; // Back-to-top button icon/content color.
|
|
221
|
+
$button-radius: 8px; // Border radius used for all button variants.
|
|
222
|
+
$button-border-width: 1px; // Border width used for all button variants.
|
|
223
|
+
$button-font-weight: 500; // Font weight used for button labels across all variants.
|
|
224
|
+
$button-text-transform: none; // Text transform applied to button labels (e.g., none/uppercase).
|
|
225
|
+
$button-primary-background-default: #0C66E4; // Primary button background in default state.
|
|
226
|
+
$button-primary-background-hover: #0055CC; // Primary button background on hover.
|
|
227
|
+
$button-primary-background-pressed: #09326C; // Primary button background on press.
|
|
228
|
+
$button-primary-content-default: #FFFFFF; // Primary button label/icon color in default state.
|
|
229
|
+
$button-primary-content-hover: #FFFFFF; // Primary button label/icon color on hover.
|
|
230
|
+
$button-primary-content-pressed: #FFFFFF; // Primary button label/icon color on press.
|
|
231
|
+
$button-primary-border-default: rgba(0, 0, 0, 0); // Primary button border color in default state (no visible border).
|
|
232
|
+
$button-primary-border-hover: rgba(0, 0, 0, 0); // Primary button border color on hover (no visible border).
|
|
233
|
+
$button-primary-border-pressed: rgba(0, 0, 0, 0); // Primary button border color on press (no visible border).
|
|
234
|
+
$button-primary-shadow: none; // Primary button shadow (none).
|
|
235
|
+
$button-secondary-background-default: #FFFFFF; // Secondary button background in default state.
|
|
236
|
+
$button-secondary-background-hover: #FAFAFA; // Secondary button background on hover.
|
|
237
|
+
$button-secondary-background-pressed: #F4F5F6; // Secondary button background on press.
|
|
238
|
+
$button-secondary-content-default: #2B3346; // Secondary button label/icon color in default state.
|
|
239
|
+
$button-secondary-content-hover: #2B3346; // Secondary button label/icon color on hover.
|
|
240
|
+
$button-secondary-content-pressed: #2B3346; // Secondary button label/icon color on press.
|
|
241
|
+
$button-secondary-border-default: #DEDFE2; // Secondary button border color in default state.
|
|
242
|
+
$button-secondary-border-hover: #DEDFE2; // Secondary button border color on hover.
|
|
243
|
+
$button-secondary-border-pressed: #DEDFE2; // Secondary button border color on press.
|
|
244
|
+
$button-secondary-shadow: none; // Secondary button shadow (none).
|
|
245
|
+
$button-destructive-background-default: #c92c2f; // Destructive button background in default state.
|
|
246
|
+
$button-destructive-background-hover: #ae2426; // Destructive button background on hover.
|
|
247
|
+
$button-destructive-background-pressed: #5d1a1c; // Destructive button background on press.
|
|
248
|
+
$button-destructive-content-default: #FFFFFF; // Destructive button label/icon color in default state.
|
|
249
|
+
$button-destructive-content-hover: #FFFFFF; // Destructive button label/icon color on hover.
|
|
250
|
+
$button-destructive-content-pressed: #FFFFFF; // Destructive button label/icon color on press.
|
|
251
|
+
$button-destructive-border-default: rgba(0, 0, 0, 0); // Destructive button border color in default state (no visible border).
|
|
252
|
+
$button-destructive-border-hover: rgba(0, 0, 0, 0); // Destructive button border color on hover (no visible border).
|
|
253
|
+
$button-destructive-border-pressed: rgba(0, 0, 0, 0); // Destructive button border color on press (no visible border).
|
|
254
|
+
$button-destructive-shadow: none; // Destructive button shadow (none).
|
|
255
|
+
$button-vote-background-default: #FFFFFF; // Vote button background in default state.
|
|
256
|
+
$button-vote-background-hover: #FAFAFA; // Vote button background on hover.
|
|
257
|
+
$button-vote-background-pressed: #F4F5F6; // Vote button background on press.
|
|
258
|
+
$button-vote-content-default: #2B3346; // Vote button content color in default state.
|
|
259
|
+
$button-vote-content-hover: #2B3346; // Vote button content color on hover.
|
|
260
|
+
$button-vote-content-pressed: #2B3346; // Vote button content color on press.
|
|
261
|
+
$button-vote-border-default: #DEDFE2; // Vote button border color in default state.
|
|
262
|
+
$button-vote-border-hover: #DEDFE2; // Vote button border color on hover.
|
|
263
|
+
$button-vote-border-pressed: #DEDFE2; // Vote button border color on press.
|
|
264
|
+
$button-vote-shadow-default: none; // Vote button shadow in default state (none).
|
|
265
|
+
$button-vote-shadow-hover: none; // Vote button shadow on hover (none).
|
|
266
|
+
$button-vote-shadow-pressed: none; // Vote button shadow on press (none).
|
|
267
|
+
$button-vote-selected-background-default: #0C66E4; // Vote button background when selected (default).
|
|
268
|
+
$button-vote-selected-background-hover: #0055CC; // Vote button background when selected (hovered).
|
|
269
|
+
$button-vote-selected-background-pressed: #09326C; // Vote button background when selected (pressed).
|
|
270
|
+
$button-vote-selected-content-default: #FFFFFF; // Vote button content color when selected (default).
|
|
271
|
+
$button-vote-selected-content-hover: #FFFFFF; // Vote button content color when selected (hovered).
|
|
272
|
+
$button-vote-selected-content-pressed: #FFFFFF; // Vote button content color when selected (pressed).
|
|
273
|
+
$button-vote-selected-border-default: rgba(0, 0, 0, 0); // Vote button border when selected (default) (no visible border).
|
|
274
|
+
$button-vote-selected-border-hover: rgba(0, 0, 0, 0); // Vote button border when selected (hovered) (no visible border).
|
|
275
|
+
$button-vote-selected-border-pressed: rgba(0, 0, 0, 0); // Vote button border when selected (pressed) (no visible border).
|
|
276
|
+
$button-vote-selected-shadow-default: none; // Vote button shadow when selected (default) (none).
|
|
277
|
+
$button-vote-selected-shadow-hover: none; // Vote button shadow when selected (hovered) (none).
|
|
278
|
+
$button-vote-selected-shadow-pressed: none; // Vote button shadow when selected (pressed) (none).
|
|
279
|
+
$card-radius: 8px; // Border radius used for cards.
|
|
280
|
+
$card-border-width: 1px; // Border width used for cards.
|
|
281
|
+
$card-border-default: #DEDFE2; // Card border color in default state.
|
|
282
|
+
$card-border-hover: #DEDFE2; // Card border color on hover.
|
|
283
|
+
$card-border-pressed: #DEDFE2; // Card border color on press.
|
|
284
|
+
$card-background-default: #FFFFFF; // Card background in default state.
|
|
285
|
+
$card-background-hover: #FFFFFF; // Card background on hover.
|
|
286
|
+
$card-background-pressed: #FFFFFF; // Card background on press.
|
|
287
|
+
$card-title-default: #2B3346; // Card title color in default state.
|
|
288
|
+
$card-title-hover: #0C66E4; // Card title color on hover (link styling).
|
|
289
|
+
$card-title-pressed: #2B3346; // Card title color on press.
|
|
290
|
+
$card-content-default: #2B3346; // Card body/content color in default state.
|
|
291
|
+
$card-content-hover: #2B3346; // Card body/content color on hover.
|
|
292
|
+
$card-content-pressed: #0055CC; // Card body/content color on press (link hovered styling).
|
|
293
|
+
$card-shadow-default: none; // Card shadow in default state (none).
|
|
294
|
+
$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
|
+
$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.
|
|
296
|
+
$feed-container-radius: 8px; // Border radius used for the feed container.
|
|
297
|
+
$feed-container-border-width: 1px; // Border width used for the feed container.
|
|
298
|
+
$feed-container-border-color: #DEDFE2; // Feed container border color.
|
|
299
|
+
$feed-container-background: #FFFFFF; // Feed container background.
|
|
300
|
+
$feed-container-shadow: none; // Feed container shadow (none).
|
|
301
|
+
$feed-item-radius: 8px; // Border radius used for feed items.
|
|
302
|
+
$feed-item-border-width: 1px; // Border width used for feed items.
|
|
303
|
+
$feed-item-border-default: #DEDFE2; // Feed item border color in default state.
|
|
304
|
+
$feed-item-border-hover: #DEDFE2; // Feed item border color on hover.
|
|
305
|
+
$feed-item-border-pressed: #DEDFE2; // Feed item border color on press.
|
|
306
|
+
$feed-item-background-default: #FFFFFF; // Feed item background in default state.
|
|
307
|
+
$feed-item-background-hover: #FFFFFF; // Feed item background on hover.
|
|
308
|
+
$feed-item-background-pressed: #FFFFFF; // Feed item background on press.
|
|
309
|
+
$feed-item-title-default: #2B3346; // Feed item title color in default state.
|
|
310
|
+
$feed-item-title-hover: #0C66E4; // Feed item title color on hover (link styling).
|
|
311
|
+
$feed-item-title-pressed: #0055CC; // Feed item title color on press (link hovered styling).
|
|
312
|
+
$feed-item-content-default: #2B3346; // Feed item content color in default state.
|
|
313
|
+
$feed-item-content-hover: #2B3346; // Feed item content color on hover.
|
|
314
|
+
$feed-item-content-pressed: #0055CC; // Feed item content color on press (link hovered styling).
|
|
315
|
+
$feed-item-shadow-default: none; // Feed item shadow in default state (none).
|
|
316
|
+
$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
|
+
$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.
|
|
318
|
+
$navigation-background: #FFFFFF; // Navigation bar background.
|
|
319
|
+
$navigation-content: #2B3346; // Navigation bar content color (text/icons).
|
|
320
|
+
$navigation-dropdown-background: #FFFFFF; // Navigation dropdown background.
|
|
321
|
+
$navigation-dropdown-content: #2B3346; // Navigation dropdown content color.
|
|
322
|
+
$navigation-border-top: rgba(0, 0, 0, 0); // Top border of navigation (transparent).
|
|
323
|
+
$navigation-border-bottom: #DEDFE2; // Bottom border of navigation.
|
|
324
|
+
$widget-title: #2B3346; // Default widget title color.
|
|
325
|
+
$widget-subtitle: #2B3346; // Default widget subtitle color.
|
|
326
|
+
$widget-background: #FAFAFA; // Default widget background.
|
|
327
|
+
$widget-shadow: none; // Default widget shadow (none).
|
|
328
|
+
$widget-hero-title: #FFFFFF; // Hero widget title color.
|
|
329
|
+
$widget-hero-subtitle: #FFFFFF; // Hero widget subtitle color.
|
|
330
|
+
$widget-hero-content-shadow: none; // Hero widget content shadow (none; handled by image/overlay as needed).
|
|
331
|
+
$widget-hero-background: uploaded image; // Background of the hero section.
|
|
332
|
+
$widget-hero-height: 240px; // Height of the hero section.
|
|
333
|
+
$widget-featured-background: #0c66e4; // Featured topic widget background.
|
|
334
|
+
$widget-featured-content: #FFFFFF; // Featured topic widget content color.
|
|
335
|
+
$widget-introduction-background: #FFFFFF; // Introduction widget background.
|
|
336
|
+
$widget-introduction-content: #2B3346; // Introduction widget body/content color.
|
|
337
|
+
$widget-introduction-icon-background: #1f8444; // Introduction widget icon container background.
|
|
338
|
+
$widget-introduction-icon-content: #FFFFFF; // Introduction widget icon color.
|
|
339
|
+
$widget-introduction-close-content: #696E7C; // Introduction widget close button color.
|
|
340
|
+
$theme-brand-100: #E9F2FF;
|
|
341
|
+
$theme-brand-200: #CCE0FF;
|
|
342
|
+
$theme-brand-300: #85B8FF;
|
|
343
|
+
$theme-brand-400: #579DFF;
|
|
344
|
+
$theme-brand-500: #388BFF;
|
|
345
|
+
$theme-brand-600: #1D7AFC;
|
|
346
|
+
$theme-brand-700: #0C66E4;
|
|
347
|
+
$theme-brand-800: #0055CC;
|
|
348
|
+
$theme-brand-900: #09326C;
|
|
349
|
+
$theme-brand-1000: #1C2B41;
|
|
350
|
+
$theme-neutral-0: #FFFFFF;
|
|
351
|
+
$theme-neutral-100: #FAFAFA;
|
|
352
|
+
$theme-neutral-200: #F4F5F6;
|
|
353
|
+
$theme-neutral-300: #DEDFE2;
|
|
354
|
+
$theme-neutral-400: #B8BBC2;
|
|
355
|
+
$theme-neutral-500: #8D919B;
|
|
356
|
+
$theme-neutral-600: #7B808E;
|
|
357
|
+
$theme-neutral-700: #696E7C;
|
|
358
|
+
$theme-neutral-800: #4F5663;
|
|
359
|
+
$theme-neutral-900: #3B4254;
|
|
360
|
+
$theme-neutral-1000: #2B3346;
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gainsight-hub/design-tokens",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Design tokens: CSS variables, JSON, TypeScript constants, and Tailwind preset.",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"author": "Gainsight Design Systems",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"files": ["dist"],
|
|
9
|
+
"sideEffects": ["**/*.css"],
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./styles.css": "./dist/styles.css",
|
|
16
|
+
"./themes.css": "./dist/themes.css",
|
|
17
|
+
"./themes/*": "./dist/themes/*.css",
|
|
18
|
+
"./tailwind": {
|
|
19
|
+
"import": "./dist/tailwind.preset.mjs",
|
|
20
|
+
"require": "./dist/tailwind.preset.cjs"
|
|
21
|
+
},
|
|
22
|
+
"./tokens.json": "./dist/tokens.json",
|
|
23
|
+
"./token-catalog.json": "./dist/token-catalog.json"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "node ./build.js",
|
|
27
|
+
"migrate:generate-mapping": "node ./themes/legacy/generate-mapping.js",
|
|
28
|
+
"migrate:tokens": "node ./themes/legacy/migrate-tokens.js"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=18.0.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"tailwindcss": ">=3.0.0"
|
|
35
|
+
},
|
|
36
|
+
"peerDependenciesMeta": {
|
|
37
|
+
"tailwindcss": {
|
|
38
|
+
"optional": true
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"flat": "^6.0.1",
|
|
43
|
+
"glob": "^13.0.6",
|
|
44
|
+
"style-dictionary": "^4.4.0"
|
|
45
|
+
},
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "https://github.com/Gainsight/dch-sdk.git",
|
|
49
|
+
"directory": "packages/design-tokens"
|
|
50
|
+
},
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"keywords": ["design-tokens", "design-system", "css-variables", "scss", "tailwind", "gainsight"]
|
|
55
|
+
}
|