Skip to content

Commit ef4a285

Browse files
committed
re-generated design tokens in output
1 parent 9a72ea7 commit ef4a285

File tree

30 files changed

+92547
-22980
lines changed

30 files changed

+92547
-22980
lines changed

packages/tokens/dist/cloud-email/helpers/typography.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/tokens/dist/cloud-email/tokens.scss

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,11 @@ $token-typography-font-weight-bold: 700;
204204
$token-typography-display-500-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
205205
$token-typography-display-500-font-size: 30px; // 30px/1.875rem
206206
$token-typography-display-500-line-height: 1.2666; // 38px
207+
$token-typography-display-500-letter-spacing: -0.5px; // this is `tracking`
207208
$token-typography-display-400-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
208209
$token-typography-display-400-font-size: 24px; // 24px/1.5rem
209210
$token-typography-display-400-line-height: 1.3333; // 32px
211+
$token-typography-display-400-letter-spacing: 0px; // this is `tracking`
210212
$token-typography-display-300-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
211213
$token-typography-display-300-font-size: 18px; // 18px/1.125rem
212214
$token-typography-display-300-line-height: 1.3333; // 24px
@@ -218,6 +220,7 @@ $token-typography-display-200-letter-spacing: -0.5px; // this is `tracking`
218220
$token-typography-display-100-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
219221
$token-typography-display-100-font-size: 13px; // 13px/0.8125rem
220222
$token-typography-display-100-line-height: 1.3846; // 18px
223+
$token-typography-display-100-letter-spacing: 0px; // this is `tracking`
221224
$token-typography-body-300-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
222225
$token-typography-body-300-font-size: 16px; // 16px/1rem
223226
$token-typography-body-300-line-height: 1.5; // 24px
@@ -227,12 +230,12 @@ $token-typography-body-200-line-height: 1.4286; // 20px
227230
$token-typography-body-100-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
228231
$token-typography-body-100-font-size: 13px; // 13px/0.8125rem
229232
$token-typography-body-100-line-height: 1.3846; // 18px
230-
$token-typography-code-100-font-family: ui-monospace, Menlo, Consolas, monospace;
231-
$token-typography-code-100-font-size: 13px; // 13px/0.8125rem
232-
$token-typography-code-100-line-height: 1.23; // 16px
233-
$token-typography-code-200-font-family: ui-monospace, Menlo, Consolas, monospace;
234-
$token-typography-code-200-font-size: 14px; // 14px/0.875rem
235-
$token-typography-code-200-line-height: 1.125; // 18px
236233
$token-typography-code-300-font-family: ui-monospace, Menlo, Consolas, monospace;
237234
$token-typography-code-300-font-size: 16px; // 16px/1rem
238235
$token-typography-code-300-line-height: 1.25; // 20px
236+
$token-typography-code-200-font-family: ui-monospace, Menlo, Consolas, monospace;
237+
$token-typography-code-200-font-size: 14px; // 14px/0.875rem
238+
$token-typography-code-200-line-height: 1.125; // 18px
239+
$token-typography-code-100-font-family: ui-monospace, Menlo, Consolas, monospace;
240+
$token-typography-code-100-font-size: 13px; // 13px/0.8125rem
241+
$token-typography-code-100-line-height: 1.23; // 16px

packages/tokens/dist/devdot/css/helpers/typography.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/tokens/dist/devdot/css/tokens.css

Lines changed: 144 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,141 @@
225225
--token-app-side-nav-color-surface-primary: var(--token-color-surface-faint);
226226
--token-app-side-nav-color-surface-interactive-hover: var(--token-color-surface-interactive-hover);
227227
--token-app-side-nav-color-surface-interactive-active: var(--token-color-palette-neutral-300);
228+
--token-badge-count-padding-horizontal-small: 8px;
229+
--token-badge-count-padding-horizontal-medium: 12px;
230+
--token-badge-count-padding-horizontal-large: 14px;
231+
--token-badge-height-small: 20px;
232+
--token-badge-height-medium: 24px;
233+
--token-badge-height-large: 32px;
234+
--token-badge-padding-horizontal-small: 6px;
235+
--token-badge-padding-horizontal-medium: 8px;
236+
--token-badge-padding-horizontal-large: 8px;
237+
--token-badge-padding-vertical-small: 2px;
238+
--token-badge-padding-vertical-medium: 4px;
239+
--token-badge-padding-vertical-large: 4px;
240+
--token-badge-gap-small: 4px;
241+
--token-badge-gap-medium: 4px;
242+
--token-badge-gap-large: 6px;
243+
--token-badge-typography-font-size-small: 0.8125rem;
244+
--token-badge-typography-font-size-medium: 0.8125rem;
245+
--token-badge-typography-font-size-large: 1rem;
246+
--token-badge-typography-line-height-small: 1.2308; /** 16px = 1.2308 */
247+
--token-badge-typography-line-height-medium: 1.2308; /** 16px = 1.2308 */
248+
--token-badge-typography-line-height-large: 1.5; /** 24px = 1.5 */
249+
--token-badge-foreground-color-neutral-filled: #3b3d45;
250+
--token-badge-foreground-color-neutral-inverted: #ffffff; /** TODO validate if this is `TextInverse` or should be `TextOnColor (ask Carbon team too?) */
251+
--token-badge-foreground-color-neutral-outlined: #3b3d45;
252+
--token-badge-foreground-color-neutral-dark-mode-filled: #ffffff;
253+
--token-badge-foreground-color-neutral-dark-mode-inverted: #3b3d45;
254+
--token-badge-foreground-color-neutral-dark-mode-outlined: #ffffff;
255+
--token-badge-foreground-color-highlight-filled: #7b00db; /** we don't use `highlight-on-surface` for accessibility (better contrast) */
256+
--token-badge-foreground-color-highlight-inverted: #ffffff;
257+
--token-badge-foreground-color-highlight-outlined: #a737ff;
258+
--token-badge-foreground-color-success-filled: #006619; /** we don't use `success-on-surface` for accessibility (better contrast) */
259+
--token-badge-foreground-color-success-inverted: #ffffff;
260+
--token-badge-foreground-color-success-outlined: #008a22;
261+
--token-badge-foreground-color-warning-filled: #803d00; /** we don't use `warning-on-surface` for accessibility (better contrast) */
262+
--token-badge-foreground-color-warning-inverted: #ffffff;
263+
--token-badge-foreground-color-warning-outlined: #bb5a00;
264+
--token-badge-foreground-color-critical-filled: #940004; /** we don't use `critical-on-surface` for accessibility (better contrast) */
265+
--token-badge-foreground-color-critical-inverted: #ffffff;
266+
--token-badge-foreground-color-critical-outlined: #e52228;
267+
--token-badge-surface-color-neutral-filled: #dedfe3;
268+
--token-badge-surface-color-neutral-inverted: #656a76; /** TODO - cristiano to ask Carbon team what to do because there is no equivalent color in code for the Tag inverted */
269+
--token-badge-surface-color-neutral-dark-mode-filled: #656a76; /** TODO - cristiano to ask Carbon team what to do because there is no high-contrast color in the theme colors for the tag (in code) */
270+
--token-badge-surface-color-neutral-dark-mode-inverted: #fafafa;
271+
--token-badge-surface-color-highlight-filled: #ead2fe; /** we don't use `surface-highlight` for accessibility (better contrast) */
272+
--token-badge-surface-color-highlight-inverted: #a737ff;
273+
--token-badge-surface-color-success-filled: #cceeda; /** we don't use `surface-success` for accessibility (better contrast) */
274+
--token-badge-surface-color-success-inverted: #008a22;
275+
--token-badge-surface-color-warning-filled: #fbeabf; /** we don't use `surface-warning` for accessibility (better contrast) */
276+
--token-badge-surface-color-warning-inverted: #bb5a00;
277+
--token-badge-surface-color-critical-filled: #fbd4d4; /** we don't use `surface-critical` for accessibility (better contrast) */
278+
--token-badge-surface-color-critical-inverted: #e52228;
279+
--token-badge-border-width: 1px;
280+
--token-badge-border-radius-small: 5px;
281+
--token-badge-border-radius-medium: 5px;
282+
--token-badge-border-radius-large: 5px;
283+
--token-badge-icon-size-small: 12px;
284+
--token-badge-icon-size-medium: 16px;
285+
--token-badge-icon-size-large: 16px;
286+
--token-button-height-small: 28px;
287+
--token-button-height-medium: 36px;
288+
--token-button-height-large: 48px;
289+
--token-button-padding-horizontal-small: 11px; /** here we're taking into account the 1px border */
290+
--token-button-padding-horizontal-medium: 15px; /** here we're taking into account the 1px border */
291+
--token-button-padding-horizontal-large: 19px; /** here we're taking into account the 1px border */
292+
--token-button-padding-vertical-small: 6px; /** here we're taking into account the 1px border */
293+
--token-button-padding-vertical-medium: 9px; /** here we're taking into account the 1px border */
294+
--token-button-padding-vertical-large: 11px; /** here we're taking into account the 1px border */
295+
--token-button-gap: 6px;
296+
--token-button-typography-font-size-small: 0.8125rem;
297+
--token-button-typography-font-size-medium: 0.875rem;
298+
--token-button-typography-font-size-large: 1rem;
299+
--token-button-typography-line-height-small: 0.9286; /** 14px ~ 0.9286 - we need to make it even (so we set it slighly larger than the font-size; notice: in Figma is 12px but this would cut some ascendants/descendants) */
300+
--token-button-typography-line-height-medium: 1.1429; /** 14px ~ 1.1429 */
301+
--token-button-typography-line-height-large: 1.5; /** 24px = 1.5 */
302+
--token-button-foreground-color-primary-default: #ffffff;
303+
--token-button-foreground-color-primary-hover: #ffffff;
304+
--token-button-foreground-color-primary-focus: #ffffff;
305+
--token-button-foreground-color-primary-active: #ffffff;
306+
--token-button-foreground-color-secondary-default: #3b3d45;
307+
--token-button-foreground-color-secondary-hover: #3b3d45;
308+
--token-button-foreground-color-secondary-focus: #3b3d45;
309+
--token-button-foreground-color-secondary-active: #3b3d45;
310+
--token-button-foreground-color-tertiary-default: #1060ff;
311+
--token-button-foreground-color-tertiary-hover: #0c56e9;
312+
--token-button-foreground-color-tertiary-focus: #1060ff;
313+
--token-button-foreground-color-tertiary-active: #0046d1;
314+
--token-button-foreground-color-critical-default: #c00005;
315+
--token-button-foreground-color-critical-hover: #ffffff;
316+
--token-button-foreground-color-critical-focus: #c00005;
317+
--token-button-foreground-color-critical-active: #ffffff;
318+
--token-button-foreground-color-disabled: #8c909c;
319+
--token-button-surface-color-primary-default: #1060ff;
320+
--token-button-surface-color-primary-hover: #0c56e9;
321+
--token-button-surface-color-primary-focus: #1060ff;
322+
--token-button-surface-color-primary-active: #0046d1;
323+
--token-button-surface-color-secondary-default: #fafafa;
324+
--token-button-surface-color-secondary-hover: #ffffff;
325+
--token-button-surface-color-secondary-focus: #fafafa;
326+
--token-button-surface-color-secondary-active: #dedfe3;
327+
--token-button-surface-color-tertiary-default: rgba(0, 0, 0, 0);
328+
--token-button-surface-color-tertiary-hover: #ffffff;
329+
--token-button-surface-color-tertiary-focus: rgba(0, 0, 0, 0);
330+
--token-button-surface-color-tertiary-active: #dedfe3;
331+
--token-button-surface-color-critical-default: #fff5f5;
332+
--token-button-surface-color-critical-hover: #c00005;
333+
--token-button-surface-color-critical-focus: #fff5f5;
334+
--token-button-surface-color-critical-active: #940004;
335+
--token-button-surface-color-disabled: #fafafa;
336+
--token-button-border-width: 1px;
337+
--token-button-border-radius: 5px;
338+
--token-button-border-color-primary-default: #0c56e9;
339+
--token-button-border-color-primary-hover: #0046d1;
340+
--token-button-border-color-primary-focus-internal: #0c56e9;
341+
--token-button-border-color-primary-focus-external: #5990ff;
342+
--token-button-border-color-primary-active: #0046d1;
343+
--token-button-border-color-secondary-default: #3b3d4566;
344+
--token-button-border-color-secondary-hover: #3b3d4566;
345+
--token-button-border-color-secondary-focus-internal: #0c56e9;
346+
--token-button-border-color-secondary-focus-external: #5990ff;
347+
--token-button-border-color-secondary-active: #3b3d4566;
348+
--token-button-border-color-tertiary-default: rgba(0, 0, 0, 0);
349+
--token-button-border-color-tertiary-hover: #3b3d4566;
350+
--token-button-border-color-tertiary-focus-internal: #0c56e9;
351+
--token-button-border-color-tertiary-focus-external: #5990ff;
352+
--token-button-border-color-tertiary-active: #3b3d4566;
353+
--token-button-border-color-critical-default: #c00005;
354+
--token-button-border-color-critical-hover: #940004;
355+
--token-button-border-color-critical-focus-internal: #c00005;
356+
--token-button-border-color-critical-focus-external: #dd7578;
357+
--token-button-border-color-critical-active: #940004;
358+
--token-button-border-color-disabled: #656a7633;
359+
--token-button-focus-border-width: 3px;
360+
--token-button-icon-size-small: 12px;
361+
--token-button-icon-size-medium: 16px;
362+
--token-button-icon-size-large: 24px;
228363
--token-form-label-color: #0c0c0e;
229364
--token-form-legend-color: #0c0c0e;
230365
--token-form-helper-text-color: #656a76;
@@ -358,9 +493,11 @@
358493
--token-typography-display-500-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
359494
--token-typography-display-500-font-size: 1.875rem; /** 30px/1.875rem */
360495
--token-typography-display-500-line-height: 1.2666; /** 38px */
496+
--token-typography-display-500-letter-spacing: -0.5px; /** this is `tracking` */
361497
--token-typography-display-400-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
362498
--token-typography-display-400-font-size: 1.5rem; /** 24px/1.5rem */
363499
--token-typography-display-400-line-height: 1.3333; /** 32px */
500+
--token-typography-display-400-letter-spacing: 0px; /** this is `tracking` */
364501
--token-typography-display-300-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
365502
--token-typography-display-300-font-size: 1.125rem; /** 18px/1.125rem */
366503
--token-typography-display-300-line-height: 1.3333; /** 24px */
@@ -372,6 +509,7 @@
372509
--token-typography-display-100-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
373510
--token-typography-display-100-font-size: 0.8125rem; /** 13px/0.8125rem */
374511
--token-typography-display-100-line-height: 1.3846; /** 18px */
512+
--token-typography-display-100-letter-spacing: 0px; /** this is `tracking` */
375513
--token-typography-body-300-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
376514
--token-typography-body-300-font-size: 1rem; /** 16px/1rem */
377515
--token-typography-body-300-line-height: 1.5; /** 24px */
@@ -381,13 +519,13 @@
381519
--token-typography-body-100-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
382520
--token-typography-body-100-font-size: 0.8125rem; /** 13px/0.8125rem */
383521
--token-typography-body-100-line-height: 1.3846; /** 18px */
384-
--token-typography-code-100-font-family: ui-monospace, Menlo, Consolas, monospace;
385-
--token-typography-code-100-font-size: 0.8125rem; /** 13px/0.8125rem */
386-
--token-typography-code-100-line-height: 1.23; /** 16px */
387-
--token-typography-code-200-font-family: ui-monospace, Menlo, Consolas, monospace;
388-
--token-typography-code-200-font-size: 0.875rem; /** 14px/0.875rem */
389-
--token-typography-code-200-line-height: 1.125; /** 18px */
390522
--token-typography-code-300-font-family: ui-monospace, Menlo, Consolas, monospace;
391523
--token-typography-code-300-font-size: 1rem; /** 16px/1rem */
392524
--token-typography-code-300-line-height: 1.25; /** 20px */
525+
--token-typography-code-200-font-family: ui-monospace, Menlo, Consolas, monospace;
526+
--token-typography-code-200-font-size: 0.875rem; /** 14px/0.875rem */
527+
--token-typography-code-200-line-height: 1.125; /** 18px */
528+
--token-typography-code-100-font-family: ui-monospace, Menlo, Consolas, monospace;
529+
--token-typography-code-100-font-size: 0.8125rem; /** 13px/0.8125rem */
530+
--token-typography-code-100-line-height: 1.23; /** 16px */
393531
}

0 commit comments

Comments
 (0)