@atlaskit/tokens 1.25.0 → 1.25.1
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/CHANGELOG.md +171 -165
- package/dist/cjs/artifacts/atlassian-dark-token-value-for-contrast-check.js +1 -2
- package/dist/cjs/artifacts/atlassian-light-token-value-for-contrast-check.js +1 -2
- package/dist/cjs/artifacts/generated-pairs.js +1 -1
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/palette.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/shape-palette.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/spacing-scale.js +1 -2
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +4 -5
- package/dist/cjs/artifacts/palettes-raw/updated-saturated-palette.js +1 -2
- package/dist/cjs/artifacts/replacement-mapping.js +1 -2
- package/dist/cjs/artifacts/theme-import-map.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-dark-new-input-border.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-dark-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-dark.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-dark.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-legacy-light.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-light-new-input-border.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-light-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-light.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-shape.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-spacing.js +1 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -3
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -3
- package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -3
- package/dist/cjs/artifacts/token-default-values.js +14 -15
- package/dist/cjs/artifacts/token-names.js +12 -13
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-new-input-border.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-new-input-border.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-light-saturated-palette-changes.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +1 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +34 -35
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +35 -36
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +35 -36
- package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +1 -2
- package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +1 -2
- package/dist/cjs/constants.js +8 -16
- package/dist/cjs/custom-theme.js +2 -3
- package/dist/cjs/enable-global-theme.js +1 -2
- package/dist/cjs/get-global-theme.js +1 -2
- package/dist/cjs/get-ssr-auto-script.js +1 -2
- package/dist/cjs/get-theme-html-attrs.js +1 -2
- package/dist/cjs/get-theme-styles.js +2 -3
- package/dist/cjs/get-token-value.js +2 -3
- package/dist/cjs/get-token.js +2 -3
- package/dist/cjs/load-custom-theme-styles.js +1 -2
- package/dist/cjs/palettes/legacy-palette.js +1 -2
- package/dist/cjs/palettes/palette.js +1 -2
- package/dist/cjs/palettes/shape-palette.js +1 -2
- package/dist/cjs/palettes/spacing-scale.js +1 -2
- package/dist/cjs/palettes/typography-palette.js +2 -3
- package/dist/cjs/palettes/updated-saturated-palette.js +1 -2
- package/dist/cjs/set-global-theme.js +1 -2
- package/dist/cjs/theme-config.js +7 -12
- package/dist/cjs/theme-mutation-observer.js +2 -3
- package/dist/cjs/theme-state-transformer.js +3 -5
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-dark/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-dark-new-input-border/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-dark-saturated-palette-changes/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-dark-saturated-palette-changes/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-dark-saturated-palette-changes/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-dark/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-legacy-light/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-legacy-light/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-light/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/chart.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/interaction.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/skeleton.js +1 -2
- package/dist/cjs/tokens/atlassian-light/color/text.js +1 -2
- package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/atlassian-light/elevation/surface.js +1 -2
- package/dist/cjs/tokens/atlassian-light/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/atlassian-light/utility/utility.js +2 -3
- package/dist/cjs/tokens/atlassian-light-new-input-border/color/border.js +1 -2
- package/dist/cjs/tokens/atlassian-light-saturated-palette-changes/color/accent.js +1 -2
- package/dist/cjs/tokens/atlassian-light-saturated-palette-changes/color/background.js +1 -2
- package/dist/cjs/tokens/atlassian-light-saturated-palette-changes/color/icon.js +1 -2
- package/dist/cjs/tokens/atlassian-shape/shape.js +1 -2
- package/dist/cjs/tokens/atlassian-spacing/spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography/font-family.js +1 -2
- package/dist/cjs/tokens/atlassian-typography/letter-spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography/theme.js +11 -12
- package/dist/cjs/tokens/atlassian-typography-adg3/font-family.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/font-size.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/font-weight.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/letter-spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/line-height.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +12 -13
- package/dist/cjs/tokens/atlassian-typography-minor3/font-family.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-minor3/letter-spacing.js +1 -2
- package/dist/cjs/tokens/atlassian-typography-minor3/theme.js +12 -13
- package/dist/cjs/tokens/default/color/accent.js +1 -2
- package/dist/cjs/tokens/default/color/background.js +1 -2
- package/dist/cjs/tokens/default/color/border.js +1 -2
- package/dist/cjs/tokens/default/color/chart.js +1 -2
- package/dist/cjs/tokens/default/color/icon.js +1 -2
- package/dist/cjs/tokens/default/color/interaction.js +1 -2
- package/dist/cjs/tokens/default/color/skeleton.js +1 -2
- package/dist/cjs/tokens/default/color/text.js +1 -2
- package/dist/cjs/tokens/default/elevation/shadow.js +1 -2
- package/dist/cjs/tokens/default/elevation/surface.js +1 -2
- package/dist/cjs/tokens/default/opacity/opacity.js +1 -2
- package/dist/cjs/tokens/default/shape/shape.js +1 -2
- package/dist/cjs/tokens/default/spacing/spacing.js +1 -2
- package/dist/cjs/tokens/default/typography/font-family.js +1 -2
- package/dist/cjs/tokens/default/typography/font-size.js +1 -2
- package/dist/cjs/tokens/default/typography/font-weight.js +1 -2
- package/dist/cjs/tokens/default/typography/font.js +11 -12
- package/dist/cjs/tokens/default/typography/letter-spacing.js +1 -2
- package/dist/cjs/tokens/default/typography/line-height.js +1 -2
- package/dist/cjs/tokens/default/utility/utility.js +2 -3
- package/dist/cjs/use-theme-observer.js +1 -2
- package/dist/cjs/utils/color-detection.js +3 -5
- package/dist/cjs/utils/color-mode-listeners.js +1 -2
- package/dist/cjs/utils/color-utils.js +1 -2
- package/dist/cjs/utils/custom-theme-token-contrast-check.js +3 -5
- package/dist/cjs/utils/generate-custom-color-ramp.js +5 -9
- package/dist/cjs/utils/get-theme-preferences.js +3 -5
- package/dist/cjs/utils/hash.js +2 -3
- package/dist/cjs/utils/hct-color-utils/contrast.js +2 -3
- package/dist/cjs/utils/hct-color-utils/hct.js +7 -7
- package/dist/cjs/utils/theme-loading.js +3 -6
- package/dist/cjs/utils/token-ids.js +4 -7
- package/dist/cjs/utils/token-order.js +2 -3
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +3 -3
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +13 -13
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +14 -14
- package/dist/es2019/artifacts/themes/atlassian-typography.js +14 -14
- package/dist/es2019/artifacts/token-default-values.js +13 -13
- package/dist/es2019/artifacts/token-names.js +11 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +33 -33
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +34 -34
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +34 -34
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/typography-palette.js +1 -1
- package/dist/es2019/tokens/atlassian-typography/theme.js +10 -10
- package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +10 -10
- package/dist/es2019/tokens/atlassian-typography-minor3/theme.js +10 -10
- package/dist/es2019/tokens/default/typography/font.js +10 -10
- package/dist/es2019/utils/hct-color-utils/hct.js +3 -1
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +3 -3
- package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +13 -13
- package/dist/esm/artifacts/token-names.js +11 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +33 -33
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +34 -34
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +34 -34
- package/dist/esm/custom-theme.js +1 -1
- package/dist/esm/get-theme-styles.js +1 -1
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/typography-palette.js +1 -1
- package/dist/esm/tokens/atlassian-typography/theme.js +10 -10
- package/dist/esm/tokens/atlassian-typography-adg3/theme.js +10 -10
- package/dist/esm/tokens/atlassian-typography-minor3/theme.js +10 -10
- package/dist/esm/tokens/default/typography/font.js +10 -10
- package/dist/esm/utils/hct-color-utils/hct.js +3 -1
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +13 -13
- package/dist/types/artifacts/token-names.d.ts +21 -21
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +12 -12
- package/dist/types/tokens/atlassian-typography-minor3/theme.d.ts +12 -12
- package/dist/types/types.d.ts +10 -10
- package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +13 -13
- package/dist/types-ts4.5/artifacts/token-names.d.ts +21 -21
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +12 -12
- package/dist/types-ts4.5/tokens/atlassian-typography-minor3/theme.d.ts +12 -12
- package/dist/types-ts4.5/types.d.ts +10 -10
- package/figma/atlassian-typography-adg3.json +2 -2
- package/figma/atlassian-typography-minor3.json +3 -3
- package/figma/atlassian-typography.json +3 -3
- package/package.json +2 -1
- package/report.api.md +21 -20
- package/tmp/api-report-tmp.d.ts +20 -20
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
8
8
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
9
9
|
*
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::8965acce3899385e9f1f61d70ac8e24e>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
declare const defaultTokenValues: {
|
|
@@ -435,26 +435,26 @@ declare const defaultTokenValues: {
|
|
|
435
435
|
readonly 'space.negative.300': "-1.5rem";
|
|
436
436
|
readonly 'space.negative.400': "-2rem";
|
|
437
437
|
readonly 'font.body': "normal 400 0.875rem/1.25rem var(--ds-font-family-body)";
|
|
438
|
-
readonly 'font.body.
|
|
439
|
-
readonly 'font.body.
|
|
438
|
+
readonly 'font.body.large': "normal 400 1rem/1.5rem var(--ds-font-family-body)";
|
|
439
|
+
readonly 'font.body.small': "normal 400 0.6875rem/1.25rem var(--ds-font-family-body)";
|
|
440
440
|
readonly 'font.code': "normal 400 0.875em/1 var(--ds-font-family-code)";
|
|
441
|
-
readonly 'font.heading.
|
|
442
|
-
readonly 'font.heading.
|
|
443
|
-
readonly 'font.heading.
|
|
444
|
-
readonly 'font.heading.
|
|
445
|
-
readonly 'font.heading.
|
|
446
|
-
readonly 'font.heading.
|
|
447
|
-
readonly 'font.heading.
|
|
441
|
+
readonly 'font.heading.large': "normal 500 1.5rem/1.75rem var(--ds-font-family-heading)";
|
|
442
|
+
readonly 'font.heading.medium': "normal 500 1.25rem/1.5rem var(--ds-font-family-heading)";
|
|
443
|
+
readonly 'font.heading.small': "normal 600 1rem/1.25rem var(--ds-font-family-heading)";
|
|
444
|
+
readonly 'font.heading.xlarge': "normal 600 1.8125rem/2rem var(--ds-font-family-heading)";
|
|
445
|
+
readonly 'font.heading.xsmall': "normal 600 0.875rem/1rem var(--ds-font-family-heading)";
|
|
446
|
+
readonly 'font.heading.xxlarge': "normal 500 2.1875rem/2.5rem var(--ds-font-family-heading)";
|
|
447
|
+
readonly 'font.heading.xxsmall': "normal 600 0.75rem/1rem var(--ds-font-family-heading)";
|
|
448
448
|
readonly 'font.letterSpacing.0': "0";
|
|
449
449
|
readonly 'font.letterSpacing.100': "-0.003em";
|
|
450
450
|
readonly 'font.letterSpacing.200': "-0.006em";
|
|
451
451
|
readonly 'font.letterSpacing.300': "-0.008em";
|
|
452
452
|
readonly 'font.letterSpacing.400': "-0.01em";
|
|
453
453
|
readonly 'font.ui': "normal 400 0.875rem/1 var(--ds-font-family-body)";
|
|
454
|
-
readonly 'font.ui.
|
|
455
|
-
readonly 'font.family.body': "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
454
|
+
readonly 'font.ui.small': "normal 400 0.6875rem/1 var(--ds-font-family-body)";
|
|
455
|
+
readonly 'font.family.body': "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
|
|
456
456
|
readonly 'font.family.code': "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
|
|
457
|
-
readonly 'font.family.heading': "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
457
|
+
readonly 'font.family.heading': "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
|
|
458
458
|
readonly 'font.family.monospace': "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
|
|
459
459
|
readonly 'font.family.sans': "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif";
|
|
460
460
|
readonly 'font.family.brand': "Charlie Sans";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b8507162c70d82c2e8040cc31a142fdb>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: {
|
|
@@ -428,23 +428,23 @@ declare const tokens: {
|
|
|
428
428
|
readonly 'space.negative.300': "--ds-space-negative-300";
|
|
429
429
|
readonly 'space.negative.400': "--ds-space-negative-400";
|
|
430
430
|
readonly 'font.body': "--ds-font-body";
|
|
431
|
-
readonly 'font.body.
|
|
432
|
-
readonly 'font.body.
|
|
431
|
+
readonly 'font.body.large': "--ds-font-body-large";
|
|
432
|
+
readonly 'font.body.small': "--ds-font-body-small";
|
|
433
433
|
readonly 'font.code': "--ds-font-code";
|
|
434
|
-
readonly 'font.heading.
|
|
435
|
-
readonly 'font.heading.
|
|
436
|
-
readonly 'font.heading.
|
|
437
|
-
readonly 'font.heading.
|
|
438
|
-
readonly 'font.heading.
|
|
439
|
-
readonly 'font.heading.
|
|
440
|
-
readonly 'font.heading.
|
|
434
|
+
readonly 'font.heading.large': "--ds-font-heading-large";
|
|
435
|
+
readonly 'font.heading.medium': "--ds-font-heading-medium";
|
|
436
|
+
readonly 'font.heading.small': "--ds-font-heading-small";
|
|
437
|
+
readonly 'font.heading.xlarge': "--ds-font-heading-xlarge";
|
|
438
|
+
readonly 'font.heading.xsmall': "--ds-font-heading-xsmall";
|
|
439
|
+
readonly 'font.heading.xxlarge': "--ds-font-heading-xxlarge";
|
|
440
|
+
readonly 'font.heading.xxsmall': "--ds-font-heading-xxsmall";
|
|
441
441
|
readonly 'font.letterSpacing.0': "--ds-font-letterSpacing-0";
|
|
442
442
|
readonly 'font.letterSpacing.100': "--ds-font-letterSpacing-100";
|
|
443
443
|
readonly 'font.letterSpacing.200': "--ds-font-letterSpacing-200";
|
|
444
444
|
readonly 'font.letterSpacing.300': "--ds-font-letterSpacing-300";
|
|
445
445
|
readonly 'font.letterSpacing.400': "--ds-font-letterSpacing-400";
|
|
446
446
|
readonly 'font.ui': "--ds-font-ui";
|
|
447
|
-
readonly 'font.ui.
|
|
447
|
+
readonly 'font.ui.small': "--ds-font-ui-small";
|
|
448
448
|
readonly 'font.family.body': "--ds-font-family-body";
|
|
449
449
|
readonly 'font.family.code': "--ds-font-family-code";
|
|
450
450
|
readonly 'font.family.heading': "--ds-font-family-heading";
|
|
@@ -896,23 +896,23 @@ export type CSSTokenMap = {
|
|
|
896
896
|
'space.negative.300': 'var(--ds-space-negative-300)';
|
|
897
897
|
'space.negative.400': 'var(--ds-space-negative-400)';
|
|
898
898
|
'font.body': 'var(--ds-font-body)';
|
|
899
|
-
'font.body.
|
|
900
|
-
'font.body.
|
|
899
|
+
'font.body.large': 'var(--ds-font-body-large)';
|
|
900
|
+
'font.body.small': 'var(--ds-font-body-small)';
|
|
901
901
|
'font.code': 'var(--ds-font-code)';
|
|
902
|
-
'font.heading.
|
|
903
|
-
'font.heading.
|
|
904
|
-
'font.heading.
|
|
905
|
-
'font.heading.
|
|
906
|
-
'font.heading.
|
|
907
|
-
'font.heading.
|
|
908
|
-
'font.heading.
|
|
902
|
+
'font.heading.large': 'var(--ds-font-heading-large)';
|
|
903
|
+
'font.heading.medium': 'var(--ds-font-heading-medium)';
|
|
904
|
+
'font.heading.small': 'var(--ds-font-heading-small)';
|
|
905
|
+
'font.heading.xlarge': 'var(--ds-font-heading-xlarge)';
|
|
906
|
+
'font.heading.xsmall': 'var(--ds-font-heading-xsmall)';
|
|
907
|
+
'font.heading.xxlarge': 'var(--ds-font-heading-xxlarge)';
|
|
908
|
+
'font.heading.xxsmall': 'var(--ds-font-heading-xxsmall)';
|
|
909
909
|
'font.letterSpacing.0': 'var(--ds-font-letterSpacing-0)';
|
|
910
910
|
'font.letterSpacing.100': 'var(--ds-font-letterSpacing-100)';
|
|
911
911
|
'font.letterSpacing.200': 'var(--ds-font-letterSpacing-200)';
|
|
912
912
|
'font.letterSpacing.300': 'var(--ds-font-letterSpacing-300)';
|
|
913
913
|
'font.letterSpacing.400': 'var(--ds-font-letterSpacing-400)';
|
|
914
914
|
'font.ui': 'var(--ds-font-ui)';
|
|
915
|
-
'font.ui.
|
|
915
|
+
'font.ui.small': 'var(--ds-font-ui-small)';
|
|
916
916
|
'font.family.body': 'var(--ds-font-family-body)';
|
|
917
917
|
'font.family.code': 'var(--ds-font-family-code)';
|
|
918
918
|
'font.family.heading': 'var(--ds-font-family-heading)';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::385a83af4c578715d2776d3fe65ff10b>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::a2b2ba21b8b91fbc1e372aaed37f2619>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::87a8cb620b538e3524b5031d5a012ecd>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -2,7 +2,7 @@ import type { UtilTokenSchema, ValueSchema } from '../../types';
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
font: {
|
|
4
4
|
body: {
|
|
5
|
-
|
|
5
|
+
small: {
|
|
6
6
|
value: {
|
|
7
7
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
8
8
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -12,7 +12,7 @@ declare const _default: {
|
|
|
12
12
|
fontStyle: "normal";
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
'[default]': {
|
|
16
16
|
value: {
|
|
17
17
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
18
18
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -22,7 +22,7 @@ declare const _default: {
|
|
|
22
22
|
fontStyle: "normal";
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
large: {
|
|
26
26
|
value: {
|
|
27
27
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
28
28
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -46,7 +46,7 @@ declare const _default: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
heading: {
|
|
49
|
-
|
|
49
|
+
small: {
|
|
50
50
|
value: {
|
|
51
51
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
52
52
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -56,7 +56,7 @@ declare const _default: {
|
|
|
56
56
|
fontStyle: "normal";
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
-
|
|
59
|
+
large: {
|
|
60
60
|
value: {
|
|
61
61
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
62
62
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -66,7 +66,7 @@ declare const _default: {
|
|
|
66
66
|
fontStyle: "normal";
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
medium: {
|
|
70
70
|
value: {
|
|
71
71
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
72
72
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -76,7 +76,7 @@ declare const _default: {
|
|
|
76
76
|
fontStyle: "normal";
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
-
|
|
79
|
+
xlarge: {
|
|
80
80
|
value: {
|
|
81
81
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
82
82
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -86,7 +86,7 @@ declare const _default: {
|
|
|
86
86
|
fontStyle: "normal";
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
xsmall: {
|
|
90
90
|
value: {
|
|
91
91
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
92
92
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -96,7 +96,7 @@ declare const _default: {
|
|
|
96
96
|
fontStyle: "normal";
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
-
|
|
99
|
+
xxlarge: {
|
|
100
100
|
value: {
|
|
101
101
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
102
102
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -106,7 +106,7 @@ declare const _default: {
|
|
|
106
106
|
fontStyle: "normal";
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
xxsmall: {
|
|
110
110
|
value: {
|
|
111
111
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
112
112
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -118,7 +118,7 @@ declare const _default: {
|
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
120
|
ui: {
|
|
121
|
-
|
|
121
|
+
small: {
|
|
122
122
|
value: {
|
|
123
123
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
124
124
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -128,7 +128,7 @@ declare const _default: {
|
|
|
128
128
|
fontStyle: "normal";
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
|
|
131
|
+
'[default]': {
|
|
132
132
|
value: {
|
|
133
133
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
134
134
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -2,7 +2,7 @@ import type { UtilTokenSchema, ValueSchema } from '../../types';
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
font: {
|
|
4
4
|
body: {
|
|
5
|
-
|
|
5
|
+
small: {
|
|
6
6
|
value: {
|
|
7
7
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
8
8
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -12,7 +12,7 @@ declare const _default: {
|
|
|
12
12
|
fontStyle: "normal";
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
'[default]': {
|
|
16
16
|
value: {
|
|
17
17
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
18
18
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -22,7 +22,7 @@ declare const _default: {
|
|
|
22
22
|
fontStyle: "normal";
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
large: {
|
|
26
26
|
value: {
|
|
27
27
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
28
28
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -46,7 +46,7 @@ declare const _default: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
heading: {
|
|
49
|
-
|
|
49
|
+
small: {
|
|
50
50
|
value: {
|
|
51
51
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
52
52
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -56,7 +56,7 @@ declare const _default: {
|
|
|
56
56
|
fontStyle: "normal";
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
-
|
|
59
|
+
large: {
|
|
60
60
|
value: {
|
|
61
61
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
62
62
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -66,7 +66,7 @@ declare const _default: {
|
|
|
66
66
|
fontStyle: "normal";
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
-
|
|
69
|
+
medium: {
|
|
70
70
|
value: {
|
|
71
71
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
72
72
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -76,7 +76,7 @@ declare const _default: {
|
|
|
76
76
|
fontStyle: "normal";
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
-
|
|
79
|
+
xlarge: {
|
|
80
80
|
value: {
|
|
81
81
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
82
82
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -86,7 +86,7 @@ declare const _default: {
|
|
|
86
86
|
fontStyle: "normal";
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
xsmall: {
|
|
90
90
|
value: {
|
|
91
91
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
92
92
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -96,7 +96,7 @@ declare const _default: {
|
|
|
96
96
|
fontStyle: "normal";
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
-
|
|
99
|
+
xxlarge: {
|
|
100
100
|
value: {
|
|
101
101
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
102
102
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -106,7 +106,7 @@ declare const _default: {
|
|
|
106
106
|
fontStyle: "normal";
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
|
-
|
|
109
|
+
xxsmall: {
|
|
110
110
|
value: {
|
|
111
111
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
112
112
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -118,7 +118,7 @@ declare const _default: {
|
|
|
118
118
|
};
|
|
119
119
|
};
|
|
120
120
|
ui: {
|
|
121
|
-
|
|
121
|
+
small: {
|
|
122
122
|
value: {
|
|
123
123
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
124
124
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
@@ -128,7 +128,7 @@ declare const _default: {
|
|
|
128
128
|
fontStyle: "normal";
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
|
|
131
|
+
'[default]': {
|
|
132
132
|
value: {
|
|
133
133
|
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
134
134
|
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1022,22 +1022,22 @@ export interface TypographyTokenSchema<TPalette extends {
|
|
|
1022
1022
|
}> {
|
|
1023
1023
|
font: {
|
|
1024
1024
|
heading: {
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1025
|
+
xxlarge: TypographyToken<TPalette>;
|
|
1026
|
+
xlarge: TypographyToken<TPalette>;
|
|
1027
|
+
large: TypographyToken<TPalette>;
|
|
1028
|
+
medium: TypographyToken<TPalette>;
|
|
1029
|
+
small: TypographyToken<TPalette>;
|
|
1030
|
+
xsmall: TypographyToken<TPalette>;
|
|
1031
|
+
xxsmall: TypographyToken<TPalette>;
|
|
1032
1032
|
};
|
|
1033
1033
|
ui: {
|
|
1034
1034
|
'[default]': TypographyToken<TPalette>;
|
|
1035
|
-
|
|
1035
|
+
small: TypographyToken<TPalette>;
|
|
1036
1036
|
};
|
|
1037
1037
|
body: {
|
|
1038
1038
|
'[default]': TypographyToken<TPalette>;
|
|
1039
|
-
|
|
1040
|
-
|
|
1039
|
+
small: TypographyToken<TPalette>;
|
|
1040
|
+
large: TypographyToken<TPalette>;
|
|
1041
1041
|
};
|
|
1042
1042
|
code: {
|
|
1043
1043
|
'[default]': TypographyToken<TPalette>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::70935f0c6dc0ecb8df8e0eea44853fba>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::96cc62c830718e9d864db23c2575005d>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: normal 400 0.6875rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-large: normal 500 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 500 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 600 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 600 1.8125rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 600 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 500 2.1875rem/2.5rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: normal 600 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: -0.003em;\n --ds-font-letterSpacing-200: -0.006em;\n --ds-font-letterSpacing-300: -0.008em;\n --ds-font-letterSpacing-400: -0.01em;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-small: normal 400 0.6875rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n --ds-font-size-050: 0.6875rem;\n --ds-font-size-075: 0.75rem;\n --ds-font-size-100: 0.875rem;\n --ds-font-size-200: 1rem;\n --ds-font-size-300: 1.25rem;\n --ds-font-size-400: 1.5rem;\n --ds-font-size-500: 1.8125rem;\n --ds-font-size-600: 2.1875rem;\n --ds-font-weight-bold: 700;\n --ds-font-weight-medium: 500;\n --ds-font-weight-regular: 400;\n --ds-font-weight-semibold: 600;\n --ds-font-lineHeight-1: 1;\n --ds-font-lineHeight-100: 1rem;\n --ds-font-lineHeight-200: 1.25rem;\n --ds-font-lineHeight-300: 1.5rem;\n --ds-font-lineHeight-400: 1.75rem;\n --ds-font-lineHeight-500: 2rem;\n --ds-font-lineHeight-600: 2.5rem;\n}\n";
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b12a1413276d27bfa1f318002382d994>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-UNSAFE-textTransformUppercase: uppercase;\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: normal 400 0.75rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2rem/2.25rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::f49eba45b4716be1be41c0ca5a63069e>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-body);\n --ds-font-body-large: normal 400 1rem/1.5rem var(--ds-font-family-body);\n --ds-font-body-small: normal 400 0.75rem/1.25rem var(--ds-font-family-body);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-code);\n --ds-font-heading-large: normal 700 1.5rem/1.75rem var(--ds-font-family-heading);\n --ds-font-heading-medium: normal 700 1.25rem/1.5rem var(--ds-font-family-heading);\n --ds-font-heading-small: normal 700 1rem/1.25rem var(--ds-font-family-heading);\n --ds-font-heading-xlarge: normal 700 1.75rem/2rem var(--ds-font-family-heading);\n --ds-font-heading-xsmall: normal 700 0.875rem/1rem var(--ds-font-family-heading);\n --ds-font-heading-xxlarge: normal 700 2.25rem/2.5rem var(--ds-font-family-heading);\n --ds-font-heading-xxsmall: normal 700 0.75rem/1rem var(--ds-font-family-heading);\n --ds-font-letterSpacing-0: 0;\n --ds-font-letterSpacing-100: 0;\n --ds-font-letterSpacing-200: 0;\n --ds-font-letterSpacing-300: 0;\n --ds-font-letterSpacing-400: 0;\n --ds-font-ui: normal 400 0.875rem/1 var(--ds-font-family-body);\n --ds-font-ui-small: normal 400 0.75rem/1 var(--ds-font-family-body);\n --ds-font-family-body: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-heading: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
7
7
|
export default _default;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
8
8
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
9
9
|
*
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::8965acce3899385e9f1f61d70ac8e24e>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
declare const defaultTokenValues: {
|
|
@@ -435,26 +435,26 @@ declare const defaultTokenValues: {
|
|
|
435
435
|
readonly 'space.negative.300': "-1.5rem";
|
|
436
436
|
readonly 'space.negative.400': "-2rem";
|
|
437
437
|
readonly 'font.body': "normal 400 0.875rem/1.25rem var(--ds-font-family-body)";
|
|
438
|
-
readonly 'font.body.
|
|
439
|
-
readonly 'font.body.
|
|
438
|
+
readonly 'font.body.large': "normal 400 1rem/1.5rem var(--ds-font-family-body)";
|
|
439
|
+
readonly 'font.body.small': "normal 400 0.6875rem/1.25rem var(--ds-font-family-body)";
|
|
440
440
|
readonly 'font.code': "normal 400 0.875em/1 var(--ds-font-family-code)";
|
|
441
|
-
readonly 'font.heading.
|
|
442
|
-
readonly 'font.heading.
|
|
443
|
-
readonly 'font.heading.
|
|
444
|
-
readonly 'font.heading.
|
|
445
|
-
readonly 'font.heading.
|
|
446
|
-
readonly 'font.heading.
|
|
447
|
-
readonly 'font.heading.
|
|
441
|
+
readonly 'font.heading.large': "normal 500 1.5rem/1.75rem var(--ds-font-family-heading)";
|
|
442
|
+
readonly 'font.heading.medium': "normal 500 1.25rem/1.5rem var(--ds-font-family-heading)";
|
|
443
|
+
readonly 'font.heading.small': "normal 600 1rem/1.25rem var(--ds-font-family-heading)";
|
|
444
|
+
readonly 'font.heading.xlarge': "normal 600 1.8125rem/2rem var(--ds-font-family-heading)";
|
|
445
|
+
readonly 'font.heading.xsmall': "normal 600 0.875rem/1rem var(--ds-font-family-heading)";
|
|
446
|
+
readonly 'font.heading.xxlarge': "normal 500 2.1875rem/2.5rem var(--ds-font-family-heading)";
|
|
447
|
+
readonly 'font.heading.xxsmall': "normal 600 0.75rem/1rem var(--ds-font-family-heading)";
|
|
448
448
|
readonly 'font.letterSpacing.0': "0";
|
|
449
449
|
readonly 'font.letterSpacing.100': "-0.003em";
|
|
450
450
|
readonly 'font.letterSpacing.200': "-0.006em";
|
|
451
451
|
readonly 'font.letterSpacing.300': "-0.008em";
|
|
452
452
|
readonly 'font.letterSpacing.400': "-0.01em";
|
|
453
453
|
readonly 'font.ui': "normal 400 0.875rem/1 var(--ds-font-family-body)";
|
|
454
|
-
readonly 'font.ui.
|
|
455
|
-
readonly 'font.family.body': "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
454
|
+
readonly 'font.ui.small': "normal 400 0.6875rem/1 var(--ds-font-family-body)";
|
|
455
|
+
readonly 'font.family.body': "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
|
|
456
456
|
readonly 'font.family.code': "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
|
|
457
|
-
readonly 'font.family.heading': "ui-sans-serif, \"Segoe UI\", system-ui,
|
|
457
|
+
readonly 'font.family.heading': "ui-sans-serif, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif";
|
|
458
458
|
readonly 'font.family.monospace': "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
|
|
459
459
|
readonly 'font.family.sans': "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif";
|
|
460
460
|
readonly 'font.family.brand': "Charlie Sans";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::b8507162c70d82c2e8040cc31a142fdb>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: {
|
|
@@ -428,23 +428,23 @@ declare const tokens: {
|
|
|
428
428
|
readonly 'space.negative.300': "--ds-space-negative-300";
|
|
429
429
|
readonly 'space.negative.400': "--ds-space-negative-400";
|
|
430
430
|
readonly 'font.body': "--ds-font-body";
|
|
431
|
-
readonly 'font.body.
|
|
432
|
-
readonly 'font.body.
|
|
431
|
+
readonly 'font.body.large': "--ds-font-body-large";
|
|
432
|
+
readonly 'font.body.small': "--ds-font-body-small";
|
|
433
433
|
readonly 'font.code': "--ds-font-code";
|
|
434
|
-
readonly 'font.heading.
|
|
435
|
-
readonly 'font.heading.
|
|
436
|
-
readonly 'font.heading.
|
|
437
|
-
readonly 'font.heading.
|
|
438
|
-
readonly 'font.heading.
|
|
439
|
-
readonly 'font.heading.
|
|
440
|
-
readonly 'font.heading.
|
|
434
|
+
readonly 'font.heading.large': "--ds-font-heading-large";
|
|
435
|
+
readonly 'font.heading.medium': "--ds-font-heading-medium";
|
|
436
|
+
readonly 'font.heading.small': "--ds-font-heading-small";
|
|
437
|
+
readonly 'font.heading.xlarge': "--ds-font-heading-xlarge";
|
|
438
|
+
readonly 'font.heading.xsmall': "--ds-font-heading-xsmall";
|
|
439
|
+
readonly 'font.heading.xxlarge': "--ds-font-heading-xxlarge";
|
|
440
|
+
readonly 'font.heading.xxsmall': "--ds-font-heading-xxsmall";
|
|
441
441
|
readonly 'font.letterSpacing.0': "--ds-font-letterSpacing-0";
|
|
442
442
|
readonly 'font.letterSpacing.100': "--ds-font-letterSpacing-100";
|
|
443
443
|
readonly 'font.letterSpacing.200': "--ds-font-letterSpacing-200";
|
|
444
444
|
readonly 'font.letterSpacing.300': "--ds-font-letterSpacing-300";
|
|
445
445
|
readonly 'font.letterSpacing.400': "--ds-font-letterSpacing-400";
|
|
446
446
|
readonly 'font.ui': "--ds-font-ui";
|
|
447
|
-
readonly 'font.ui.
|
|
447
|
+
readonly 'font.ui.small': "--ds-font-ui-small";
|
|
448
448
|
readonly 'font.family.body': "--ds-font-family-body";
|
|
449
449
|
readonly 'font.family.code': "--ds-font-family-code";
|
|
450
450
|
readonly 'font.family.heading': "--ds-font-family-heading";
|
|
@@ -896,23 +896,23 @@ export type CSSTokenMap = {
|
|
|
896
896
|
'space.negative.300': 'var(--ds-space-negative-300)';
|
|
897
897
|
'space.negative.400': 'var(--ds-space-negative-400)';
|
|
898
898
|
'font.body': 'var(--ds-font-body)';
|
|
899
|
-
'font.body.
|
|
900
|
-
'font.body.
|
|
899
|
+
'font.body.large': 'var(--ds-font-body-large)';
|
|
900
|
+
'font.body.small': 'var(--ds-font-body-small)';
|
|
901
901
|
'font.code': 'var(--ds-font-code)';
|
|
902
|
-
'font.heading.
|
|
903
|
-
'font.heading.
|
|
904
|
-
'font.heading.
|
|
905
|
-
'font.heading.
|
|
906
|
-
'font.heading.
|
|
907
|
-
'font.heading.
|
|
908
|
-
'font.heading.
|
|
902
|
+
'font.heading.large': 'var(--ds-font-heading-large)';
|
|
903
|
+
'font.heading.medium': 'var(--ds-font-heading-medium)';
|
|
904
|
+
'font.heading.small': 'var(--ds-font-heading-small)';
|
|
905
|
+
'font.heading.xlarge': 'var(--ds-font-heading-xlarge)';
|
|
906
|
+
'font.heading.xsmall': 'var(--ds-font-heading-xsmall)';
|
|
907
|
+
'font.heading.xxlarge': 'var(--ds-font-heading-xxlarge)';
|
|
908
|
+
'font.heading.xxsmall': 'var(--ds-font-heading-xxsmall)';
|
|
909
909
|
'font.letterSpacing.0': 'var(--ds-font-letterSpacing-0)';
|
|
910
910
|
'font.letterSpacing.100': 'var(--ds-font-letterSpacing-100)';
|
|
911
911
|
'font.letterSpacing.200': 'var(--ds-font-letterSpacing-200)';
|
|
912
912
|
'font.letterSpacing.300': 'var(--ds-font-letterSpacing-300)';
|
|
913
913
|
'font.letterSpacing.400': 'var(--ds-font-letterSpacing-400)';
|
|
914
914
|
'font.ui': 'var(--ds-font-ui)';
|
|
915
|
-
'font.ui.
|
|
915
|
+
'font.ui.small': 'var(--ds-font-ui-small)';
|
|
916
916
|
'font.family.body': 'var(--ds-font-family-body)';
|
|
917
917
|
'font.family.code': 'var(--ds-font-family-code)';
|
|
918
918
|
'font.family.heading': 'var(--ds-font-family-heading)';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::385a83af4c578715d2776d3fe65ff10b>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::a2b2ba21b8b91fbc1e372aaed37f2619>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::87a8cb620b538e3524b5031d5a012ecd>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|