@atlaskit/tokens 1.17.1 → 1.18.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/CHANGELOG.md +6 -0
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +92 -77
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +4 -3
- package/dist/cjs/artifacts/token-names.js +2 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +44 -99
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +42 -97
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +42 -97
- package/dist/cjs/babel-plugin/plugin.js +2 -2
- package/dist/cjs/get-global-theme.js +2 -2
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/typography-palette.js +46 -40
- package/dist/cjs/tokens/atlassian-typography/theme.js +10 -0
- package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +12 -2
- package/dist/cjs/tokens/atlassian-typography-minor3/theme.js +10 -0
- package/dist/cjs/tokens/default/typography/font.js +8 -0
- package/dist/cjs/utils/generate-custom-color-ramp.js +2 -2
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +92 -77
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +4 -3
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +2 -1
- package/dist/es2019/artifacts/themes/atlassian-typography.js +2 -1
- package/dist/es2019/artifacts/token-default-values.js +4 -3
- package/dist/es2019/artifacts/token-names.js +2 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +44 -99
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +42 -97
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +42 -97
- package/dist/es2019/get-theme-styles.js +1 -2
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/typography-palette.js +44 -38
- package/dist/es2019/tokens/atlassian-typography/theme.js +10 -0
- package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +12 -2
- package/dist/es2019/tokens/atlassian-typography-minor3/theme.js +10 -0
- package/dist/es2019/tokens/default/typography/font.js +8 -0
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +92 -77
- 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 +4 -3
- package/dist/esm/artifacts/token-names.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +44 -99
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +42 -97
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +42 -97
- package/dist/esm/babel-plugin/plugin.js +2 -2
- package/dist/esm/get-global-theme.js +2 -2
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/typography-palette.js +46 -40
- package/dist/esm/tokens/atlassian-typography/theme.js +10 -0
- package/dist/esm/tokens/atlassian-typography-adg3/theme.js +12 -2
- package/dist/esm/tokens/atlassian-typography-minor3/theme.js +10 -0
- package/dist/esm/tokens/default/typography/font.js +8 -0
- package/dist/esm/utils/generate-custom-color-ramp.js +2 -2
- 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 +4 -3
- package/dist/types/artifacts/token-names.d.ts +3 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +2 -45
- package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +2 -81
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +2 -81
- package/dist/types/palettes/typography-palette.d.ts +1 -1
- package/dist/types/types.d.ts +6 -6
- 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 +4 -3
- package/dist/types-ts4.5/artifacts/token-names.d.ts +3 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +2 -45
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +2 -81
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +2 -81
- package/dist/types-ts4.5/palettes/typography-palette.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +6 -6
- package/package.json +1 -1
- package/report.api.md +2 -0
- package/tmp/api-report-tmp.d.ts +2 -0
|
@@ -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::fb8c64dc20041c62b562be8da8152e46>>
|
|
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::40ab79b49a385a9644c0830bb643054e>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-product);\n --ds-font-body-sm: normal 400 0.6875rem/1.25rem var(--ds-font-family-product);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 500 1.5rem/1.75rem var(--ds-font-family-product);\n --ds-font-heading-md: normal 500 1.25rem/1.5rem var(--ds-font-family-product);\n --ds-font-heading-sm: normal 600 1rem/1.25rem var(--ds-font-family-product);\n --ds-font-heading-xl: normal 600 1.8125rem/2rem var(--ds-font-family-product);\n --ds-font-heading-xs: normal 600 0.875rem/1rem var(--ds-font-family-product);\n --ds-font-heading-xxl: normal 500 2.1875rem/2.5rem var(--ds-font-family-product);\n --ds-font-heading-xxs: normal 600 0.75rem/1rem var(--ds-font-family-product);\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/
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-product);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-product);\n --ds-font-body-sm: normal 400 0.6875rem/1.25rem var(--ds-font-family-product);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 500 1.5rem/1.75rem var(--ds-font-family-product);\n --ds-font-heading-md: normal 500 1.25rem/1.5rem var(--ds-font-family-product);\n --ds-font-heading-sm: normal 600 1rem/1.25rem var(--ds-font-family-product);\n --ds-font-heading-xl: normal 600 1.8125rem/2rem var(--ds-font-family-product);\n --ds-font-heading-xs: normal 600 0.875rem/1rem var(--ds-font-family-product);\n --ds-font-heading-xxl: normal 500 2.1875rem/2.5rem var(--ds-font-family-product);\n --ds-font-heading-xxs: normal 600 0.75rem/1rem var(--ds-font-family-product);\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-product);\n --ds-font-ui-sm: normal 400 0.6875rem/1 var(--ds-font-family-product);\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-product: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\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::d807664672d6fd88e3f6e4054ec56bc9>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-sans);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);\n --ds-font-heading-xxl: normal 700 2rem/2.25rem var(--ds-font-family-sans);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);\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-sans);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-product: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-sans);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-sans);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);\n --ds-font-heading-xxl: normal 700 2rem/2.25rem var(--ds-font-family-sans);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);\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-sans);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-product: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"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::4523ed1ede9eb6edfe0926fd28d32efc>>
|
|
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-sans);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);\n --ds-font-heading-xxl: normal 700 2.25rem/2.5rem var(--ds-font-family-sans);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);\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-sans);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-product: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-sans);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-sans);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);\n --ds-font-heading-xxl: normal 700 2.25rem/2.5rem var(--ds-font-family-sans);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);\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-sans);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-product: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"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::2502bf5f723d604cd04596897e52d47f>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
declare const defaultTokenValues: {
|
|
@@ -344,6 +344,7 @@ declare const defaultTokenValues: {
|
|
|
344
344
|
readonly 'space.800': "4rem";
|
|
345
345
|
readonly 'space.1000': "5rem";
|
|
346
346
|
readonly 'font.body': "normal 400 0.875rem/1.25rem ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
347
|
+
readonly 'font.body.lg': "normal 400 1rem/1.5rem ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
347
348
|
readonly 'font.body.sm': "normal 400 0.6875rem/1.25rem ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
348
349
|
readonly 'font.code': "normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
|
|
349
350
|
readonly 'font.heading.lg': "normal 500 1.5rem/1.75rem ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
@@ -358,8 +359,8 @@ declare const defaultTokenValues: {
|
|
|
358
359
|
readonly 'font.letterSpacing.200': "-0.006em";
|
|
359
360
|
readonly 'font.letterSpacing.300': "-0.008em";
|
|
360
361
|
readonly 'font.letterSpacing.400': "-0.01em";
|
|
361
|
-
readonly 'font.ui': "normal 400 0.875rem/
|
|
362
|
-
readonly 'font.ui.sm': "normal 400 0.6875rem/
|
|
362
|
+
readonly 'font.ui': "normal 400 0.875rem/1 ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
363
|
+
readonly 'font.ui.sm': "normal 400 0.6875rem/1 ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
363
364
|
readonly 'font.family.code': "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
|
|
364
365
|
readonly 'font.family.monospace': "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
|
|
365
366
|
readonly 'font.family.product': "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
@@ -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::d529715bd079c269a29aaf75bad507ea>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: {
|
|
@@ -337,6 +337,7 @@ declare const tokens: {
|
|
|
337
337
|
readonly 'space.800': "--ds-space-800";
|
|
338
338
|
readonly 'space.1000': "--ds-space-1000";
|
|
339
339
|
readonly 'font.body': "--ds-font-body";
|
|
340
|
+
readonly 'font.body.lg': "--ds-font-body-lg";
|
|
340
341
|
readonly 'font.body.sm': "--ds-font-body-sm";
|
|
341
342
|
readonly 'font.code': "--ds-font-code";
|
|
342
343
|
readonly 'font.heading.lg': "--ds-font-heading-lg";
|
|
@@ -712,6 +713,7 @@ export type CSSTokenMap = {
|
|
|
712
713
|
'space.800': 'var(--ds-space-800)';
|
|
713
714
|
'space.1000': 'var(--ds-space-1000)';
|
|
714
715
|
'font.body': 'var(--ds-font-body)';
|
|
716
|
+
'font.body.lg': 'var(--ds-font-body-lg)';
|
|
715
717
|
'font.body.sm': 'var(--ds-font-body-sm)';
|
|
716
718
|
'font.code': 'var(--ds-font-code)';
|
|
717
719
|
'font.heading.lg': 'var(--ds-font-heading-lg)';
|
|
@@ -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::56d6ec09c58b78a37bdca311bfaa73ea>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -10,50 +10,7 @@ declare const tokens: ({
|
|
|
10
10
|
introduced: string;
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
|
-
value:
|
|
14
|
-
fontSize: number;
|
|
15
|
-
fontStyle: string;
|
|
16
|
-
fontWeight: string;
|
|
17
|
-
lineHeight: number;
|
|
18
|
-
fontFamily: string;
|
|
19
|
-
letterSpacing: string;
|
|
20
|
-
};
|
|
21
|
-
filePath: string;
|
|
22
|
-
isSource: boolean;
|
|
23
|
-
original: {
|
|
24
|
-
attributes: {
|
|
25
|
-
group: string;
|
|
26
|
-
state: string;
|
|
27
|
-
introduced: string;
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
30
|
-
value: {
|
|
31
|
-
fontWeight: string;
|
|
32
|
-
fontSize: string;
|
|
33
|
-
lineHeight: string;
|
|
34
|
-
fontFamily: string;
|
|
35
|
-
fontStyle: string;
|
|
36
|
-
letterSpacing: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
name: string;
|
|
40
|
-
path: string[];
|
|
41
|
-
cleanName: string;
|
|
42
|
-
} | {
|
|
43
|
-
attributes: {
|
|
44
|
-
group: string;
|
|
45
|
-
state: string;
|
|
46
|
-
introduced: string;
|
|
47
|
-
description: string;
|
|
48
|
-
};
|
|
49
|
-
value: {
|
|
50
|
-
fontSize: string;
|
|
51
|
-
fontStyle: string;
|
|
52
|
-
fontWeight: string;
|
|
53
|
-
lineHeight: string;
|
|
54
|
-
fontFamily: string;
|
|
55
|
-
letterSpacing: string;
|
|
56
|
-
};
|
|
13
|
+
value: string;
|
|
57
14
|
filePath: string;
|
|
58
15
|
isSource: boolean;
|
|
59
16
|
original: {
|
|
@@ -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::7b7d53e8ee9563ef170026c46b344165>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -10,50 +10,7 @@ declare const tokens: ({
|
|
|
10
10
|
introduced: string;
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
|
-
value:
|
|
14
|
-
fontSize: number;
|
|
15
|
-
fontStyle: string;
|
|
16
|
-
fontWeight: string;
|
|
17
|
-
lineHeight: number;
|
|
18
|
-
fontFamily: string;
|
|
19
|
-
letterSpacing: string;
|
|
20
|
-
};
|
|
21
|
-
filePath: string;
|
|
22
|
-
isSource: boolean;
|
|
23
|
-
original: {
|
|
24
|
-
attributes: {
|
|
25
|
-
group: string;
|
|
26
|
-
state: string;
|
|
27
|
-
introduced: string;
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
30
|
-
value: {
|
|
31
|
-
fontWeight: string;
|
|
32
|
-
fontSize: string;
|
|
33
|
-
lineHeight: string;
|
|
34
|
-
fontFamily: string;
|
|
35
|
-
fontStyle: string;
|
|
36
|
-
letterSpacing: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
name: string;
|
|
40
|
-
path: string[];
|
|
41
|
-
cleanName: string;
|
|
42
|
-
} | {
|
|
43
|
-
attributes: {
|
|
44
|
-
group: string;
|
|
45
|
-
state: string;
|
|
46
|
-
introduced: string;
|
|
47
|
-
description: string;
|
|
48
|
-
};
|
|
49
|
-
value: {
|
|
50
|
-
fontSize: string;
|
|
51
|
-
fontStyle: string;
|
|
52
|
-
fontWeight: string;
|
|
53
|
-
lineHeight: string;
|
|
54
|
-
fontFamily: string;
|
|
55
|
-
letterSpacing: string;
|
|
56
|
-
};
|
|
13
|
+
value: string;
|
|
57
14
|
filePath: string;
|
|
58
15
|
isSource: boolean;
|
|
59
16
|
original: {
|
|
@@ -97,41 +54,5 @@ declare const tokens: ({
|
|
|
97
54
|
name: string;
|
|
98
55
|
path: string[];
|
|
99
56
|
cleanName: string;
|
|
100
|
-
} | {
|
|
101
|
-
attributes: {
|
|
102
|
-
group: string;
|
|
103
|
-
state: string;
|
|
104
|
-
introduced: string;
|
|
105
|
-
description: string;
|
|
106
|
-
};
|
|
107
|
-
value: {
|
|
108
|
-
fontSize: number;
|
|
109
|
-
fontStyle: string;
|
|
110
|
-
fontWeight: string;
|
|
111
|
-
lineHeight: string;
|
|
112
|
-
fontFamily: string;
|
|
113
|
-
letterSpacing: string;
|
|
114
|
-
};
|
|
115
|
-
filePath: string;
|
|
116
|
-
isSource: boolean;
|
|
117
|
-
original: {
|
|
118
|
-
attributes: {
|
|
119
|
-
group: string;
|
|
120
|
-
state: string;
|
|
121
|
-
introduced: string;
|
|
122
|
-
description: string;
|
|
123
|
-
};
|
|
124
|
-
value: {
|
|
125
|
-
fontWeight: string;
|
|
126
|
-
fontSize: string;
|
|
127
|
-
lineHeight: string;
|
|
128
|
-
fontFamily: string;
|
|
129
|
-
fontStyle: string;
|
|
130
|
-
letterSpacing: string;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
name: string;
|
|
134
|
-
path: string[];
|
|
135
|
-
cleanName: string;
|
|
136
57
|
})[];
|
|
137
58
|
export default 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::eaaa970ce079ba5e26ef6b1bd1440d6c>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -10,50 +10,7 @@ declare const tokens: ({
|
|
|
10
10
|
introduced: string;
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
|
-
value:
|
|
14
|
-
fontSize: number;
|
|
15
|
-
fontStyle: string;
|
|
16
|
-
fontWeight: string;
|
|
17
|
-
lineHeight: number;
|
|
18
|
-
fontFamily: string;
|
|
19
|
-
letterSpacing: string;
|
|
20
|
-
};
|
|
21
|
-
filePath: string;
|
|
22
|
-
isSource: boolean;
|
|
23
|
-
original: {
|
|
24
|
-
attributes: {
|
|
25
|
-
group: string;
|
|
26
|
-
state: string;
|
|
27
|
-
introduced: string;
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
30
|
-
value: {
|
|
31
|
-
fontWeight: string;
|
|
32
|
-
fontSize: string;
|
|
33
|
-
lineHeight: string;
|
|
34
|
-
fontFamily: string;
|
|
35
|
-
fontStyle: string;
|
|
36
|
-
letterSpacing: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
name: string;
|
|
40
|
-
path: string[];
|
|
41
|
-
cleanName: string;
|
|
42
|
-
} | {
|
|
43
|
-
attributes: {
|
|
44
|
-
group: string;
|
|
45
|
-
state: string;
|
|
46
|
-
introduced: string;
|
|
47
|
-
description: string;
|
|
48
|
-
};
|
|
49
|
-
value: {
|
|
50
|
-
fontSize: string;
|
|
51
|
-
fontStyle: string;
|
|
52
|
-
fontWeight: string;
|
|
53
|
-
lineHeight: string;
|
|
54
|
-
fontFamily: string;
|
|
55
|
-
letterSpacing: string;
|
|
56
|
-
};
|
|
13
|
+
value: string;
|
|
57
14
|
filePath: string;
|
|
58
15
|
isSource: boolean;
|
|
59
16
|
original: {
|
|
@@ -97,41 +54,5 @@ declare const tokens: ({
|
|
|
97
54
|
name: string;
|
|
98
55
|
path: string[];
|
|
99
56
|
cleanName: string;
|
|
100
|
-
} | {
|
|
101
|
-
attributes: {
|
|
102
|
-
group: string;
|
|
103
|
-
state: string;
|
|
104
|
-
introduced: string;
|
|
105
|
-
description: string;
|
|
106
|
-
};
|
|
107
|
-
value: {
|
|
108
|
-
fontSize: number;
|
|
109
|
-
fontStyle: string;
|
|
110
|
-
fontWeight: string;
|
|
111
|
-
lineHeight: string;
|
|
112
|
-
fontFamily: string;
|
|
113
|
-
letterSpacing: string;
|
|
114
|
-
};
|
|
115
|
-
filePath: string;
|
|
116
|
-
isSource: boolean;
|
|
117
|
-
original: {
|
|
118
|
-
attributes: {
|
|
119
|
-
group: string;
|
|
120
|
-
state: string;
|
|
121
|
-
introduced: string;
|
|
122
|
-
description: string;
|
|
123
|
-
};
|
|
124
|
-
value: {
|
|
125
|
-
fontWeight: string;
|
|
126
|
-
fontSize: string;
|
|
127
|
-
lineHeight: string;
|
|
128
|
-
fontFamily: string;
|
|
129
|
-
fontStyle: string;
|
|
130
|
-
letterSpacing: string;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
name: string;
|
|
134
|
-
path: string[];
|
|
135
|
-
cleanName: string;
|
|
136
57
|
})[];
|
|
137
58
|
export default tokens;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FontFamilyPaletteTokenSchema, FontSizeScaleTokenSchema, FontWeightScaleTokenSchema, LetterSpacingScaleTokenSchema, LineHeightScaleTokenSchema } from '../types';
|
|
2
2
|
export type FontSizeScaleValues = 'FontSizeCode' | 'LegacyFontSize11' | 'FontSize12' | 'FontSize14' | 'FontSize16' | 'FontSize20' | 'FontSize24' | 'FontSize28' | 'LegacyFontSize29' | 'FontSize32' | 'LegacyFontSize35' | 'FontSize36' | 'FontSize48';
|
|
3
|
-
export type LineHeightScaleValues = 'LineHeight1' | 'LineHeight100' | 'LineHeight200' | 'LineHeight300' | 'LineHeight400' | 'LineHeight500' | 'LineHeight600' | 'LineHeight700';
|
|
3
|
+
export type LineHeightScaleValues = 'LineHeight1' | 'LineHeight050' | 'LineHeight100' | 'LineHeight200' | 'LineHeight300' | 'LineHeight400' | 'LineHeight500' | 'LineHeight600' | 'LineHeight700';
|
|
4
4
|
export type FontWeightScaleValues = 'FontWeight400' | 'FontWeight500' | 'FontWeight600' | 'FontWeight700';
|
|
5
5
|
export type FontFamilyPaletteValues = 'FontFamilyCharlie' | 'FontFamilyWebSans' | 'LegacyFontFamilyWebSans' | 'FontFamilyiOSSans' | 'FontFamilyAndroidSans' | 'FontFamilyWebMono' | 'FontFamilyiOSMono' | 'FontFamilyAndroidMono';
|
|
6
6
|
export type LetterSpacingScaleValues = 'LetterSpacing0' | 'LetterSpacing100' | 'LetterSpacing200' | 'LetterSpacing300' | 'LetterSpacing400';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -123,7 +123,6 @@ export interface PaletteColorTokenSchema<PaletteValues extends string> {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
type SpacingSchemaValue = BaseToken<number, 'spacing'>;
|
|
126
|
-
type TypographySchemaValue = BaseToken<number | string, 'typography'>;
|
|
127
126
|
type ShapeSchemaValue = BaseToken<number | string, 'shape'>;
|
|
128
127
|
export interface SpacingScaleTokenSchema<ScaleValues extends string> {
|
|
129
128
|
space: Record<ScaleValues, SpacingSchemaValue>;
|
|
@@ -135,19 +134,19 @@ export interface ShapeScaleTokenSchema<RadiusScaleValues extends string, SizeSca
|
|
|
135
134
|
};
|
|
136
135
|
}
|
|
137
136
|
export interface FontSizeScaleTokenSchema<ScaleValues extends string> {
|
|
138
|
-
fontSize: Record<ScaleValues,
|
|
137
|
+
fontSize: Record<ScaleValues, BaseToken<string | number, 'fontSize'>>;
|
|
139
138
|
}
|
|
140
139
|
export interface FontWeightScaleTokenSchema<ScaleValues extends string> {
|
|
141
|
-
fontWeight: Record<ScaleValues,
|
|
140
|
+
fontWeight: Record<ScaleValues, BaseToken<string, 'fontWeight'>>;
|
|
142
141
|
}
|
|
143
142
|
export interface FontFamilyPaletteTokenSchema<ScaleValues extends string> {
|
|
144
|
-
fontFamily: Record<ScaleValues,
|
|
143
|
+
fontFamily: Record<ScaleValues, BaseToken<string, 'fontFamily'>>;
|
|
145
144
|
}
|
|
146
145
|
export interface LineHeightScaleTokenSchema<ScaleValues extends string> {
|
|
147
|
-
lineHeight: Record<ScaleValues,
|
|
146
|
+
lineHeight: Record<ScaleValues, BaseToken<string | number, 'lineHeight'>>;
|
|
148
147
|
}
|
|
149
148
|
export interface LetterSpacingScaleTokenSchema<ScaleValues extends string> {
|
|
150
|
-
letterSpacing: Record<ScaleValues,
|
|
149
|
+
letterSpacing: Record<ScaleValues, BaseToken<string, 'letterSpacing'>>;
|
|
151
150
|
}
|
|
152
151
|
export interface BackgroundColorTokenSchema<BaseToken> {
|
|
153
152
|
color: {
|
|
@@ -853,6 +852,7 @@ export interface TypographyTokenSchema<TPalette extends {
|
|
|
853
852
|
body: {
|
|
854
853
|
'[default]': TypographyToken<TPalette>;
|
|
855
854
|
sm: TypographyToken<TPalette>;
|
|
855
|
+
lg: TypographyToken<TPalette>;
|
|
856
856
|
};
|
|
857
857
|
code: {
|
|
858
858
|
'[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::fb8c64dc20041c62b562be8da8152e46>>
|
|
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::40ab79b49a385a9644c0830bb643054e>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-product);\n --ds-font-body-sm: normal 400 0.6875rem/1.25rem var(--ds-font-family-product);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 500 1.5rem/1.75rem var(--ds-font-family-product);\n --ds-font-heading-md: normal 500 1.25rem/1.5rem var(--ds-font-family-product);\n --ds-font-heading-sm: normal 600 1rem/1.25rem var(--ds-font-family-product);\n --ds-font-heading-xl: normal 600 1.8125rem/2rem var(--ds-font-family-product);\n --ds-font-heading-xs: normal 600 0.875rem/1rem var(--ds-font-family-product);\n --ds-font-heading-xxl: normal 500 2.1875rem/2.5rem var(--ds-font-family-product);\n --ds-font-heading-xxs: normal 600 0.75rem/1rem var(--ds-font-family-product);\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/
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography-adg3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-product);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-product);\n --ds-font-body-sm: normal 400 0.6875rem/1.25rem var(--ds-font-family-product);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 500 1.5rem/1.75rem var(--ds-font-family-product);\n --ds-font-heading-md: normal 500 1.25rem/1.5rem var(--ds-font-family-product);\n --ds-font-heading-sm: normal 600 1rem/1.25rem var(--ds-font-family-product);\n --ds-font-heading-xl: normal 600 1.8125rem/2rem var(--ds-font-family-product);\n --ds-font-heading-xs: normal 600 0.875rem/1rem var(--ds-font-family-product);\n --ds-font-heading-xxl: normal 500 2.1875rem/2.5rem var(--ds-font-family-product);\n --ds-font-heading-xxs: normal 600 0.75rem/1rem var(--ds-font-family-product);\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-product);\n --ds-font-ui-sm: normal 400 0.6875rem/1 var(--ds-font-family-product);\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-product: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\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::d807664672d6fd88e3f6e4054ec56bc9>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-sans);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);\n --ds-font-heading-xxl: normal 700 2rem/2.25rem var(--ds-font-family-sans);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);\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-sans);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-product: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography-minor3\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-sans);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-sans);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);\n --ds-font-heading-xxl: normal 700 2rem/2.25rem var(--ds-font-family-sans);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);\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-sans);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-product: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"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::4523ed1ede9eb6edfe0926fd28d32efc>>
|
|
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-sans);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);\n --ds-font-heading-xxl: normal 700 2.25rem/2.5rem var(--ds-font-family-sans);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);\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-sans);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-product: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-brand: Charlie Sans;\n}\n";
|
|
6
|
+
declare const _default: "\nhtml[data-theme~=\"typography:typography\"] {\n --ds-font-body: normal 400 0.875rem/1.25rem var(--ds-font-family-sans);\n --ds-font-body-lg: normal 400 1rem/1.5rem var(--ds-font-family-sans);\n --ds-font-body-sm: normal 400 0.75rem/1.25rem var(--ds-font-family-sans);\n --ds-font-code: normal 400 0.875em/1 var(--ds-font-family-monospace);\n --ds-font-heading-lg: normal 700 1.5rem/1.75rem var(--ds-font-family-sans);\n --ds-font-heading-md: normal 700 1.25rem/1.5rem var(--ds-font-family-sans);\n --ds-font-heading-sm: normal 700 1rem/1.25rem var(--ds-font-family-sans);\n --ds-font-heading-xl: normal 700 1.75rem/2rem var(--ds-font-family-sans);\n --ds-font-heading-xs: normal 700 0.875rem/1rem var(--ds-font-family-sans);\n --ds-font-heading-xxl: normal 700 2.25rem/2.5rem var(--ds-font-family-sans);\n --ds-font-heading-xxs: normal 700 0.75rem/1rem var(--ds-font-family-sans);\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-sans);\n --ds-font-ui-sm: normal 400 0.75rem/1 var(--ds-font-family-sans);\n --ds-font-family-code: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-monospace: ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace;\n --ds-font-family-product: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif;\n --ds-font-family-sans: ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"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::2502bf5f723d604cd04596897e52d47f>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
declare const defaultTokenValues: {
|
|
@@ -344,6 +344,7 @@ declare const defaultTokenValues: {
|
|
|
344
344
|
readonly 'space.800': "4rem";
|
|
345
345
|
readonly 'space.1000': "5rem";
|
|
346
346
|
readonly 'font.body': "normal 400 0.875rem/1.25rem ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
347
|
+
readonly 'font.body.lg': "normal 400 1rem/1.5rem ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
347
348
|
readonly 'font.body.sm': "normal 400 0.6875rem/1.25rem ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
348
349
|
readonly 'font.code': "normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
|
|
349
350
|
readonly 'font.heading.lg': "normal 500 1.5rem/1.75rem ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
@@ -358,8 +359,8 @@ declare const defaultTokenValues: {
|
|
|
358
359
|
readonly 'font.letterSpacing.200': "-0.006em";
|
|
359
360
|
readonly 'font.letterSpacing.300': "-0.008em";
|
|
360
361
|
readonly 'font.letterSpacing.400': "-0.01em";
|
|
361
|
-
readonly 'font.ui': "normal 400 0.875rem/
|
|
362
|
-
readonly 'font.ui.sm': "normal 400 0.6875rem/
|
|
362
|
+
readonly 'font.ui': "normal 400 0.875rem/1 ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
363
|
+
readonly 'font.ui.sm': "normal 400 0.6875rem/1 ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
363
364
|
readonly 'font.family.code': "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
|
|
364
365
|
readonly 'font.family.monospace': "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace";
|
|
365
366
|
readonly 'font.family.product': "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif";
|
|
@@ -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::d529715bd079c269a29aaf75bad507ea>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: {
|
|
@@ -337,6 +337,7 @@ declare const tokens: {
|
|
|
337
337
|
readonly 'space.800': "--ds-space-800";
|
|
338
338
|
readonly 'space.1000': "--ds-space-1000";
|
|
339
339
|
readonly 'font.body': "--ds-font-body";
|
|
340
|
+
readonly 'font.body.lg': "--ds-font-body-lg";
|
|
340
341
|
readonly 'font.body.sm': "--ds-font-body-sm";
|
|
341
342
|
readonly 'font.code': "--ds-font-code";
|
|
342
343
|
readonly 'font.heading.lg': "--ds-font-heading-lg";
|
|
@@ -712,6 +713,7 @@ export type CSSTokenMap = {
|
|
|
712
713
|
'space.800': 'var(--ds-space-800)';
|
|
713
714
|
'space.1000': 'var(--ds-space-1000)';
|
|
714
715
|
'font.body': 'var(--ds-font-body)';
|
|
716
|
+
'font.body.lg': 'var(--ds-font-body-lg)';
|
|
715
717
|
'font.body.sm': 'var(--ds-font-body-sm)';
|
|
716
718
|
'font.code': 'var(--ds-font-code)';
|
|
717
719
|
'font.heading.lg': 'var(--ds-font-heading-lg)';
|
|
@@ -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::56d6ec09c58b78a37bdca311bfaa73ea>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
declare const tokens: ({
|
|
@@ -10,50 +10,7 @@ declare const tokens: ({
|
|
|
10
10
|
introduced: string;
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
|
-
value:
|
|
14
|
-
fontSize: number;
|
|
15
|
-
fontStyle: string;
|
|
16
|
-
fontWeight: string;
|
|
17
|
-
lineHeight: number;
|
|
18
|
-
fontFamily: string;
|
|
19
|
-
letterSpacing: string;
|
|
20
|
-
};
|
|
21
|
-
filePath: string;
|
|
22
|
-
isSource: boolean;
|
|
23
|
-
original: {
|
|
24
|
-
attributes: {
|
|
25
|
-
group: string;
|
|
26
|
-
state: string;
|
|
27
|
-
introduced: string;
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
30
|
-
value: {
|
|
31
|
-
fontWeight: string;
|
|
32
|
-
fontSize: string;
|
|
33
|
-
lineHeight: string;
|
|
34
|
-
fontFamily: string;
|
|
35
|
-
fontStyle: string;
|
|
36
|
-
letterSpacing: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
name: string;
|
|
40
|
-
path: string[];
|
|
41
|
-
cleanName: string;
|
|
42
|
-
} | {
|
|
43
|
-
attributes: {
|
|
44
|
-
group: string;
|
|
45
|
-
state: string;
|
|
46
|
-
introduced: string;
|
|
47
|
-
description: string;
|
|
48
|
-
};
|
|
49
|
-
value: {
|
|
50
|
-
fontSize: string;
|
|
51
|
-
fontStyle: string;
|
|
52
|
-
fontWeight: string;
|
|
53
|
-
lineHeight: string;
|
|
54
|
-
fontFamily: string;
|
|
55
|
-
letterSpacing: string;
|
|
56
|
-
};
|
|
13
|
+
value: string;
|
|
57
14
|
filePath: string;
|
|
58
15
|
isSource: boolean;
|
|
59
16
|
original: {
|