@atlaskit/tokens 2.5.0 → 3.0.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 +26 -0
- package/dist/cjs/artifacts/palettes-raw/typography-palette.js +16 -1
- package/dist/cjs/artifacts/replacement-mapping.js +1 -67
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-modernized.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-refreshed.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +2 -24
- package/dist/cjs/artifacts/token-names.js +2 -24
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +1 -529
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-modernized.js +1 -169
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-refreshed.js +17 -185
- package/dist/es2019/artifacts/palettes-raw/typography-palette.js +16 -1
- package/dist/es2019/artifacts/replacement-mapping.js +1 -67
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +1 -23
- package/dist/es2019/artifacts/themes/atlassian-typography-modernized.js +1 -8
- package/dist/es2019/artifacts/themes/atlassian-typography-refreshed.js +9 -16
- package/dist/es2019/artifacts/token-default-values.js +2 -24
- package/dist/es2019/artifacts/token-names.js +2 -24
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +1 -529
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-modernized.js +1 -169
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-refreshed.js +17 -185
- package/dist/esm/artifacts/palettes-raw/typography-palette.js +16 -1
- package/dist/esm/artifacts/replacement-mapping.js +1 -67
- package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-modernized.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-refreshed.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +2 -24
- package/dist/esm/artifacts/token-names.js +2 -24
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +1 -529
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-modernized.js +1 -169
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-refreshed.js +17 -185
- package/dist/types/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-modernized.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-refreshed.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +1 -23
- package/dist/types/artifacts/token-names.d.ts +1 -45
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -29
- package/dist/types/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +1 -29
- package/dist/types/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +1 -29
- package/dist/types/entry-points/css-type-schema.codegen.d.ts +2 -2
- package/dist/types/types.d.ts +0 -56
- package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/replacement-mapping.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-modernized.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-refreshed.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +1 -23
- package/dist/types-ts4.5/artifacts/token-names.d.ts +1 -45
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +1 -29
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-modernized.d.ts +1 -29
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-refreshed.d.ts +1 -29
- package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +0 -56
- package/figma/atlassian-typography-refreshed.json +1 -1
- package/package.json +2 -2
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::38b6ba79bdb23bd72bf5db3990d1bfb2>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
export default `
|
|
7
7
|
html[data-theme~="typography:typography-modernized"] {
|
|
8
8
|
--ds-UNSAFE-textTransformUppercase: uppercase;
|
|
9
|
-
--ds-font-letterSpacing-0: 0;
|
|
10
|
-
--ds-font-letterSpacing-100: 0;
|
|
11
|
-
--ds-font-letterSpacing-200: 0;
|
|
12
|
-
--ds-font-letterSpacing-300: 0;
|
|
13
|
-
--ds-font-letterSpacing-400: 0;
|
|
14
9
|
--ds-font-heading-xxlarge: normal 700 2rem/2.25rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
15
10
|
--ds-font-heading-xlarge: normal 700 1.75rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
16
11
|
--ds-font-heading-large: normal 700 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
@@ -30,8 +25,6 @@ html[data-theme~="typography:typography-modernized"] {
|
|
|
30
25
|
--ds-font-family-heading: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
31
26
|
--ds-font-family-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
32
27
|
--ds-font-family-code: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
33
|
-
--ds-font-family-monospace: ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
34
|
-
--ds-font-family-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
35
28
|
--ds-font-family-brand-heading: "Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
36
29
|
--ds-font-family-brand-body: "Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
37
30
|
}
|
|
@@ -1,23 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
-
* @codegen <<SignedSource::
|
|
3
|
+
* @codegen <<SignedSource::3a02e93404c9c9524803d9df34cc862c>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
export default `
|
|
7
7
|
html[data-theme~="typography:typography-refreshed"] {
|
|
8
8
|
--ds-UNSAFE-textTransformUppercase: uppercase;
|
|
9
|
-
--ds-font-
|
|
10
|
-
--ds-font-
|
|
11
|
-
--ds-font-
|
|
12
|
-
--ds-font-
|
|
13
|
-
--ds-font-
|
|
14
|
-
--ds-font-heading-
|
|
15
|
-
--ds-font-heading-
|
|
16
|
-
--ds-font-heading-large: normal 700 1.5rem/1.75rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
17
|
-
--ds-font-heading-medium: normal 700 1.25rem/1.5rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
18
|
-
--ds-font-heading-small: normal 700 1rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
19
|
-
--ds-font-heading-xsmall: normal 700 0.875rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
20
|
-
--ds-font-heading-xxsmall: normal 700 0.75rem/1rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
9
|
+
--ds-font-heading-xxlarge: normal 653 2rem/2.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
10
|
+
--ds-font-heading-xlarge: normal 653 1.75rem/2rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
11
|
+
--ds-font-heading-large: normal 653 1.5rem/1.75rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
12
|
+
--ds-font-heading-medium: normal 653 1.25rem/1.5rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
13
|
+
--ds-font-heading-small: normal 653 1rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
14
|
+
--ds-font-heading-xsmall: normal 653 0.875rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
15
|
+
--ds-font-heading-xxsmall: normal 653 0.75rem/1rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
21
16
|
--ds-font-body-large: normal 400 1rem/1.5rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
22
17
|
--ds-font-body: normal 400 0.875rem/1.25rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
23
18
|
--ds-font-body-small: normal 400 0.75rem/1rem "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
@@ -26,12 +21,10 @@ html[data-theme~="typography:typography-refreshed"] {
|
|
|
26
21
|
--ds-font-weight-regular: 400;
|
|
27
22
|
--ds-font-weight-medium: 500;
|
|
28
23
|
--ds-font-weight-semibold: 600;
|
|
29
|
-
--ds-font-weight-bold:
|
|
24
|
+
--ds-font-weight-bold: 653;
|
|
30
25
|
--ds-font-family-heading: "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
31
26
|
--ds-font-family-body: "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
32
27
|
--ds-font-family-code: "Atlassian Mono", ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
33
|
-
--ds-font-family-monospace: "Atlassian Mono", ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace;
|
|
34
|
-
--ds-font-family-sans: "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
35
28
|
--ds-font-family-brand-heading: "Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
36
29
|
--ds-font-family-brand-body: "Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif;
|
|
37
30
|
}
|
|
@@ -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::d98211ddd81a0f8d0e1a644fd5f4394f>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
const defaultTokenValues = {
|
|
@@ -436,11 +436,6 @@ const defaultTokenValues = {
|
|
|
436
436
|
'space.negative.250': '-1.25rem',
|
|
437
437
|
'space.negative.300': '-1.5rem',
|
|
438
438
|
'space.negative.400': '-2rem',
|
|
439
|
-
'font.letterSpacing.0': '0',
|
|
440
|
-
'font.letterSpacing.100': '-0.003em',
|
|
441
|
-
'font.letterSpacing.200': '-0.006em',
|
|
442
|
-
'font.letterSpacing.300': '-0.008em',
|
|
443
|
-
'font.letterSpacing.400': '-0.01em',
|
|
444
439
|
'font.heading.xxlarge': 'normal 500 2.1875rem/2.5rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
445
440
|
'font.heading.xlarge': 'normal 600 1.8125rem/2rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
446
441
|
'font.heading.large': 'normal 500 1.5rem/1.75rem ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
@@ -460,24 +455,7 @@ const defaultTokenValues = {
|
|
|
460
455
|
'font.family.heading': 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
461
456
|
'font.family.body': 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
462
457
|
'font.family.code': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
463
|
-
'font.family.monospace': 'ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace',
|
|
464
|
-
'font.family.sans': '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
|
|
465
458
|
'font.family.brand.heading': '"Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
|
|
466
|
-
'font.family.brand.body': '"Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
|
|
467
|
-
'font.size.050': '0.6875rem',
|
|
468
|
-
'font.size.075': '0.75rem',
|
|
469
|
-
'font.size.100': '0.875rem',
|
|
470
|
-
'font.size.200': '1rem',
|
|
471
|
-
'font.size.300': '1.25rem',
|
|
472
|
-
'font.size.400': '1.5rem',
|
|
473
|
-
'font.size.500': '1.8125rem',
|
|
474
|
-
'font.size.600': '2.1875rem',
|
|
475
|
-
'font.lineHeight.1': '1',
|
|
476
|
-
'font.lineHeight.100': '1rem',
|
|
477
|
-
'font.lineHeight.200': '1.25rem',
|
|
478
|
-
'font.lineHeight.300': '1.5rem',
|
|
479
|
-
'font.lineHeight.400': '1.75rem',
|
|
480
|
-
'font.lineHeight.500': '2rem',
|
|
481
|
-
'font.lineHeight.600': '2.5rem'
|
|
459
|
+
'font.family.brand.body': '"Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif'
|
|
482
460
|
};
|
|
483
461
|
export default defaultTokenValues;
|
|
@@ -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::02412877f3dbfda4dbaee7a917f24b6c>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = {
|
|
@@ -429,11 +429,6 @@ const tokens = {
|
|
|
429
429
|
'space.negative.250': '--ds-space-negative-250',
|
|
430
430
|
'space.negative.300': '--ds-space-negative-300',
|
|
431
431
|
'space.negative.400': '--ds-space-negative-400',
|
|
432
|
-
'font.letterSpacing.0': '--ds-font-letterSpacing-0',
|
|
433
|
-
'font.letterSpacing.100': '--ds-font-letterSpacing-100',
|
|
434
|
-
'font.letterSpacing.200': '--ds-font-letterSpacing-200',
|
|
435
|
-
'font.letterSpacing.300': '--ds-font-letterSpacing-300',
|
|
436
|
-
'font.letterSpacing.400': '--ds-font-letterSpacing-400',
|
|
437
432
|
'font.heading.xxlarge': '--ds-font-heading-xxlarge',
|
|
438
433
|
'font.heading.xlarge': '--ds-font-heading-xlarge',
|
|
439
434
|
'font.heading.large': '--ds-font-heading-large',
|
|
@@ -453,24 +448,7 @@ const tokens = {
|
|
|
453
448
|
'font.family.heading': '--ds-font-family-heading',
|
|
454
449
|
'font.family.body': '--ds-font-family-body',
|
|
455
450
|
'font.family.code': '--ds-font-family-code',
|
|
456
|
-
'font.family.monospace': '--ds-font-family-monospace',
|
|
457
|
-
'font.family.sans': '--ds-font-family-sans',
|
|
458
451
|
'font.family.brand.heading': '--ds-font-family-brand-heading',
|
|
459
|
-
'font.family.brand.body': '--ds-font-family-brand-body'
|
|
460
|
-
'font.size.050': '--ds-font-size-050',
|
|
461
|
-
'font.size.075': '--ds-font-size-075',
|
|
462
|
-
'font.size.100': '--ds-font-size-100',
|
|
463
|
-
'font.size.200': '--ds-font-size-200',
|
|
464
|
-
'font.size.300': '--ds-font-size-300',
|
|
465
|
-
'font.size.400': '--ds-font-size-400',
|
|
466
|
-
'font.size.500': '--ds-font-size-500',
|
|
467
|
-
'font.size.600': '--ds-font-size-600',
|
|
468
|
-
'font.lineHeight.1': '--ds-font-lineHeight-1',
|
|
469
|
-
'font.lineHeight.100': '--ds-font-lineHeight-100',
|
|
470
|
-
'font.lineHeight.200': '--ds-font-lineHeight-200',
|
|
471
|
-
'font.lineHeight.300': '--ds-font-lineHeight-300',
|
|
472
|
-
'font.lineHeight.400': '--ds-font-lineHeight-400',
|
|
473
|
-
'font.lineHeight.500': '--ds-font-lineHeight-500',
|
|
474
|
-
'font.lineHeight.600': '--ds-font-lineHeight-600'
|
|
452
|
+
'font.family.brand.body': '--ds-font-family-brand-body'
|
|
475
453
|
};
|
|
476
454
|
export default tokens;
|