@atlaskit/tokens 0.10.35 → 0.11.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 +15 -0
- package/css/atlassian-spacing.css +2 -2
- package/css/atlassian-typography.css +27 -0
- package/dist/cjs/artifacts/palettes-raw/font-size-scale.js +135 -0
- package/dist/cjs/artifacts/palettes-raw/font-weight-scale.js +75 -0
- package/dist/cjs/artifacts/palettes-raw/line-height-scale.js +105 -0
- package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-legacy-dark.d.ts → cjs/artifacts/rename-mapping/atlassian-typography.js} +11 -10
- package/dist/cjs/artifacts/rename-mapping.js +3 -1
- package/dist/cjs/artifacts/token-default-values.js +3 -1
- package/dist/cjs/artifacts/token-names.js +3 -1
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +435 -0
- package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +2 -2
- package/dist/cjs/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
- package/dist/cjs/artifacts/typescript/atlassian-typography-token-default-values.js +40 -0
- package/dist/cjs/artifacts/typescript/atlassian-typography-token-names.js +36 -0
- package/dist/cjs/artifacts/typescript/atlassian-typography-types-internal.js +5 -0
- package/dist/cjs/artifacts/typescript/atlassian-typography-types.js +5 -0
- package/dist/cjs/constants.js +2 -2
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/typography/font-family.js +24 -0
- package/dist/cjs/palettes/typography/font-size-scale.js +60 -0
- package/dist/cjs/palettes/typography/font-weight-scale.js +36 -0
- package/dist/cjs/palettes/typography/index.js +28 -0
- package/dist/cjs/palettes/typography/line-height-scale.js +48 -0
- package/dist/cjs/theme-config.js +8 -0
- package/dist/cjs/tokens/atlassian-typography/font-family.js +20 -0
- package/dist/cjs/tokens/atlassian-typography/font-size.js +38 -0
- package/dist/cjs/tokens/atlassian-typography/font-weight.js +26 -0
- package/dist/cjs/tokens/atlassian-typography/line-height.js +32 -0
- package/dist/cjs/tokens/default/elevation/surface.js +2 -2
- package/dist/cjs/tokens/default/typography/font-family.js +30 -0
- package/dist/cjs/tokens/default/typography/font-size.js +78 -0
- package/dist/cjs/tokens/default/typography/font-weight.js +46 -0
- package/dist/cjs/tokens/default/typography/line-height.js +62 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/font-size-scale.js +127 -0
- package/dist/es2019/artifacts/palettes-raw/font-weight-scale.js +67 -0
- package/dist/es2019/artifacts/palettes-raw/line-height-scale.js +97 -0
- package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-light.d.ts → es2019/artifacts/rename-mapping/atlassian-typography.js} +3 -10
- package/dist/es2019/artifacts/rename-mapping.js +2 -1
- package/dist/es2019/artifacts/token-default-values.js +3 -1
- package/dist/es2019/artifacts/token-names.js +3 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +427 -0
- package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +2 -2
- package/dist/es2019/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
- package/dist/es2019/artifacts/typescript/atlassian-typography-token-default-values.js +32 -0
- package/dist/es2019/artifacts/typescript/atlassian-typography-token-names.js +28 -0
- package/dist/es2019/artifacts/typescript/atlassian-typography-types-internal.js +1 -0
- package/dist/es2019/artifacts/typescript/atlassian-typography-types.js +1 -0
- package/dist/es2019/constants.js +2 -2
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/typography/font-family.js +17 -0
- package/dist/es2019/palettes/typography/font-size-scale.js +53 -0
- package/dist/es2019/palettes/typography/font-weight-scale.js +29 -0
- package/dist/es2019/palettes/typography/index.js +12 -0
- package/dist/es2019/palettes/typography/line-height-scale.js +41 -0
- package/dist/es2019/theme-config.js +8 -0
- package/dist/es2019/tokens/atlassian-typography/font-family.js +13 -0
- package/dist/es2019/tokens/atlassian-typography/font-size.js +31 -0
- package/dist/es2019/tokens/atlassian-typography/font-weight.js +19 -0
- package/dist/es2019/tokens/atlassian-typography/line-height.js +25 -0
- package/dist/es2019/tokens/default/elevation/surface.js +2 -2
- package/dist/es2019/tokens/default/typography/font-family.js +23 -0
- package/dist/es2019/tokens/default/typography/font-size.js +71 -0
- package/dist/es2019/tokens/default/typography/font-weight.js +39 -0
- package/dist/es2019/tokens/default/typography/line-height.js +55 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/font-size-scale.js +127 -0
- package/dist/esm/artifacts/palettes-raw/font-weight-scale.js +67 -0
- package/dist/esm/artifacts/palettes-raw/line-height-scale.js +97 -0
- package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-dark.d.ts → esm/artifacts/rename-mapping/atlassian-typography.js} +3 -10
- package/dist/esm/artifacts/rename-mapping.js +2 -1
- package/dist/esm/artifacts/token-default-values.js +2 -1
- package/dist/esm/artifacts/token-names.js +2 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +427 -0
- package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +2 -2
- package/dist/esm/artifacts/typescript/atlassian-spacing-token-default-values.js +2 -2
- package/dist/esm/artifacts/typescript/atlassian-typography-token-default-values.js +32 -0
- package/dist/esm/artifacts/typescript/atlassian-typography-token-names.js +28 -0
- package/dist/esm/artifacts/typescript/atlassian-typography-types-internal.js +1 -0
- package/dist/esm/artifacts/typescript/atlassian-typography-types.js +1 -0
- package/dist/esm/constants.js +2 -2
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/typography/font-family.js +17 -0
- package/dist/esm/palettes/typography/font-size-scale.js +53 -0
- package/dist/esm/palettes/typography/font-weight-scale.js +29 -0
- package/dist/esm/palettes/typography/index.js +14 -0
- package/dist/esm/palettes/typography/line-height-scale.js +41 -0
- package/dist/esm/theme-config.js +8 -0
- package/dist/esm/tokens/atlassian-typography/font-family.js +13 -0
- package/dist/esm/tokens/atlassian-typography/font-size.js +31 -0
- package/dist/esm/tokens/atlassian-typography/font-weight.js +19 -0
- package/dist/esm/tokens/atlassian-typography/line-height.js +25 -0
- package/dist/esm/tokens/default/elevation/surface.js +2 -2
- package/dist/esm/tokens/default/typography/font-family.js +23 -0
- package/dist/esm/tokens/default/typography/font-size.js +71 -0
- package/dist/esm/tokens/default/typography/font-weight.js +39 -0
- package/dist/esm/tokens/default/typography/line-height.js +55 -0
- package/dist/esm/version.json +1 -1
- package/dist/{types-ts4.0/artifacts/palettes-raw/spacing-scale.d.ts → types/artifacts/palettes-raw/font-size-scale.d.ts} +1 -1
- package/dist/types/artifacts/palettes-raw/font-weight-scale.d.ts +22 -0
- package/dist/types/artifacts/palettes-raw/line-height-scale.d.ts +22 -0
- package/dist/{types-ts4.0/artifacts/rename-mapping/atlassian-legacy-light.d.ts → types/artifacts/rename-mapping/atlassian-typography.d.ts} +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +20 -0
- package/dist/types/artifacts/token-names.d.ts +22 -1
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +28 -0
- package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-typography-token-default-values.d.ts +32 -0
- package/dist/types/artifacts/typescript/atlassian-typography-token-names.d.ts +50 -0
- package/dist/types/artifacts/typescript/atlassian-typography-types-internal.d.ts +6 -0
- package/dist/types/artifacts/typescript/atlassian-typography-types.d.ts +6 -0
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/palettes/typography/font-family.d.ts +5 -0
- package/dist/types/palettes/typography/font-size-scale.d.ts +5 -0
- package/dist/types/palettes/typography/font-weight-scale.d.ts +5 -0
- package/dist/types/palettes/typography/index.d.ts +10 -0
- package/dist/types/palettes/typography/line-height-scale.d.ts +5 -0
- package/dist/types/theme-config.d.ts +5 -3
- package/dist/types/tokens/atlassian-typography/font-family.d.ts +4 -0
- package/dist/types/tokens/atlassian-typography/font-size.d.ts +4 -0
- package/dist/types/tokens/atlassian-typography/font-weight.d.ts +4 -0
- package/dist/types/tokens/atlassian-typography/line-height.d.ts +4 -0
- package/dist/types/tokens/default/elevation/surface.d.ts +2 -2
- package/dist/types/tokens/default/typography/font-family.d.ts +4 -0
- package/dist/types/tokens/default/typography/font-size.d.ts +4 -0
- package/dist/types/tokens/default/typography/font-weight.d.ts +4 -0
- package/dist/types/tokens/default/typography/line-height.d.ts +4 -0
- package/dist/types/types.d.ts +62 -1
- package/package.json +5 -5
- package/report.api.md +57 -4
- package/tmp/api-report-tmp.d.ts +50 -4
- package/dist/types-ts4.0/artifacts/palettes-raw/legacy-palette.d.ts +0 -41
- package/dist/types-ts4.0/artifacts/palettes-raw/palette.d.ts +0 -41
- package/dist/types-ts4.0/artifacts/rename-mapping/atlassian-spacing.d.ts +0 -26
- package/dist/types-ts4.0/artifacts/rename-mapping.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/token-default-values.d.ts +0 -372
- package/dist/types-ts4.0/artifacts/token-names.d.ts +0 -376
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-dark.d.ts +0 -222
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +0 -222
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-light.d.ts +0 -174
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-light.d.ts +0 -174
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-spacing.d.ts +0 -82
- package/dist/types-ts4.0/artifacts/types-internal.d.ts +0 -2
- package/dist/types-ts4.0/artifacts/types.d.ts +0 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-token-names.d.ts +0 -596
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types-internal.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +0 -596
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +0 -596
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-default-values.d.ts +0 -305
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-names.d.ts +0 -596
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types-internal.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-token-default-values.d.ts +0 -88
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-token-names.d.ts +0 -162
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-types-internal.d.ts +0 -6
- package/dist/types-ts4.0/artifacts/typescript/atlassian-spacing-types.d.ts +0 -6
- package/dist/types-ts4.0/babel-plugin/index.d.ts +0 -1
- package/dist/types-ts4.0/babel-plugin/plugin.d.ts +0 -14
- package/dist/types-ts4.0/constants.d.ts +0 -6
- package/dist/types-ts4.0/entry-points/babel-plugin.d.ts +0 -1
- package/dist/types-ts4.0/entry-points/palettes-raw.d.ts +0 -1
- package/dist/types-ts4.0/entry-points/rename-mapping.d.ts +0 -1
- package/dist/types-ts4.0/entry-points/spacing-raw.d.ts +0 -1
- package/dist/types-ts4.0/entry-points/token-ids.d.ts +0 -1
- package/dist/types-ts4.0/entry-points/token-names.d.ts +0 -2
- package/dist/types-ts4.0/entry-points/tokens-raw.d.ts +0 -2
- package/dist/types-ts4.0/figma/synchronize-figma-tokens.d.ts +0 -24
- package/dist/types-ts4.0/figma/types.d.ts +0 -40
- package/dist/types-ts4.0/get-token.d.ts +0 -25
- package/dist/types-ts4.0/index.d.ts +0 -6
- package/dist/types-ts4.0/palettes/legacy-palette.d.ts +0 -10
- package/dist/types-ts4.0/palettes/palette.d.ts +0 -5
- package/dist/types-ts4.0/palettes/spacing-scale.d.ts +0 -5
- package/dist/types-ts4.0/set-global-theme.d.ts +0 -15
- package/dist/types-ts4.0/theme-change-observer.d.ts +0 -36
- package/dist/types-ts4.0/theme-config.d.ts +0 -53
- package/dist/types-ts4.0/tokens/atlassian-dark/color/accent.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/background.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/border.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/icon.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/interaction.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/color/text.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/deprecated/deprecated.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/elevation/shadow.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/elevation/surface.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-dark/opacity/opacity.d.ts +0 -3
- package/dist/types-ts4.0/tokens/atlassian-dark/utility/utility.d.ts +0 -5
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/accent.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/background.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/border.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/icon.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/interaction.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/color/text.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/deprecated/deprecated.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/elevation/shadow.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/elevation/surface.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/opacity/opacity.d.ts +0 -3
- package/dist/types-ts4.0/tokens/atlassian-legacy-dark/utility/utility.d.ts +0 -5
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/accent.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/background.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/border.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/icon.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/interaction.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/color/text.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/deprecated/deprecated.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/elevation/shadow.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/elevation/surface.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/opacity/opacity.d.ts +0 -3
- package/dist/types-ts4.0/tokens/atlassian-legacy-light/utility/utility.d.ts +0 -5
- package/dist/types-ts4.0/tokens/atlassian-light/color/accent.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/background.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/border.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/icon.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/interaction.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/color/text.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/deprecated/deprecated.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/elevation/shadow.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/elevation/surface.d.ts +0 -4
- package/dist/types-ts4.0/tokens/atlassian-light/opacity/opacity.d.ts +0 -3
- package/dist/types-ts4.0/tokens/atlassian-light/utility/utility.d.ts +0 -5
- package/dist/types-ts4.0/tokens/atlassian-spacing/spacing.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/accent.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/background.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/border.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/icon.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/interaction.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/skeleton.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/color/text.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/deprecated/deprecated.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/elevation/shadow.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/elevation/surface.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/opacity/opacity.d.ts +0 -3
- package/dist/types-ts4.0/tokens/default/spacing/spacing.d.ts +0 -4
- package/dist/types-ts4.0/tokens/default/utility/utility.d.ts +0 -5
- package/dist/types-ts4.0/types.d.ts +0 -798
- package/dist/types-ts4.0/utils/color-detection.d.ts +0 -38
- package/dist/types-ts4.0/utils/token-ids.d.ts +0 -41
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::918426e4e1a8d46689a9af31434ac590>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
6
|
+
var tokens = [{
|
|
7
|
+
"value": "16px",
|
|
8
|
+
"attributes": {
|
|
9
|
+
"group": "scale"
|
|
10
|
+
},
|
|
11
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
12
|
+
"isSource": true,
|
|
13
|
+
"original": {
|
|
14
|
+
"value": "16px",
|
|
15
|
+
"attributes": {
|
|
16
|
+
"group": "scale"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"name": "lineHeight.scale.LineHeight100",
|
|
20
|
+
"path": ["lineHeight", "scale", "LineHeight100"]
|
|
21
|
+
}, {
|
|
22
|
+
"value": "20px",
|
|
23
|
+
"attributes": {
|
|
24
|
+
"group": "scale"
|
|
25
|
+
},
|
|
26
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
27
|
+
"isSource": true,
|
|
28
|
+
"original": {
|
|
29
|
+
"value": "20px",
|
|
30
|
+
"attributes": {
|
|
31
|
+
"group": "scale"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"name": "lineHeight.scale.LineHeight200",
|
|
35
|
+
"path": ["lineHeight", "scale", "LineHeight200"]
|
|
36
|
+
}, {
|
|
37
|
+
"value": "24px",
|
|
38
|
+
"attributes": {
|
|
39
|
+
"group": "scale"
|
|
40
|
+
},
|
|
41
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
42
|
+
"isSource": true,
|
|
43
|
+
"original": {
|
|
44
|
+
"value": "24px",
|
|
45
|
+
"attributes": {
|
|
46
|
+
"group": "scale"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"name": "lineHeight.scale.LineHeight300",
|
|
50
|
+
"path": ["lineHeight", "scale", "LineHeight300"]
|
|
51
|
+
}, {
|
|
52
|
+
"value": "28px",
|
|
53
|
+
"attributes": {
|
|
54
|
+
"group": "scale"
|
|
55
|
+
},
|
|
56
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
57
|
+
"isSource": true,
|
|
58
|
+
"original": {
|
|
59
|
+
"value": "28px",
|
|
60
|
+
"attributes": {
|
|
61
|
+
"group": "scale"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"name": "lineHeight.scale.LineHeight400",
|
|
65
|
+
"path": ["lineHeight", "scale", "LineHeight400"]
|
|
66
|
+
}, {
|
|
67
|
+
"value": "32px",
|
|
68
|
+
"attributes": {
|
|
69
|
+
"group": "scale"
|
|
70
|
+
},
|
|
71
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
72
|
+
"isSource": true,
|
|
73
|
+
"original": {
|
|
74
|
+
"value": "32px",
|
|
75
|
+
"attributes": {
|
|
76
|
+
"group": "scale"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"name": "lineHeight.scale.LineHeight500",
|
|
80
|
+
"path": ["lineHeight", "scale", "LineHeight500"]
|
|
81
|
+
}, {
|
|
82
|
+
"value": "40px",
|
|
83
|
+
"attributes": {
|
|
84
|
+
"group": "scale"
|
|
85
|
+
},
|
|
86
|
+
"filePath": "src/palettes/line-height-scale.tsx",
|
|
87
|
+
"isSource": true,
|
|
88
|
+
"original": {
|
|
89
|
+
"value": "40px",
|
|
90
|
+
"attributes": {
|
|
91
|
+
"group": "scale"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"name": "lineHeight.scale.LineHeight600",
|
|
95
|
+
"path": ["lineHeight", "scale", "LineHeight600"]
|
|
96
|
+
}];
|
|
97
|
+
export default tokens;
|
|
@@ -12,15 +12,8 @@
|
|
|
12
12
|
* These changes will then be picked up by our tooling which will attempt to
|
|
13
13
|
* migrate as many of these renames as possible.
|
|
14
14
|
*
|
|
15
|
-
* @codegen <<SignedSource::
|
|
15
|
+
* @codegen <<SignedSource::83ffd10a8ba807f2e4f905994e628e9c>>
|
|
16
16
|
* @codegenCommand yarn build tokens
|
|
17
17
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
declare type RenameMap = {
|
|
21
|
-
path: string;
|
|
22
|
-
state: 'experimental' | 'deprecated' | 'deleted';
|
|
23
|
-
replacement: Token;
|
|
24
|
-
};
|
|
25
|
-
declare const renameMapper: RenameMap[];
|
|
26
|
-
export default renameMapper;
|
|
18
|
+
var renameMapper = [];
|
|
19
|
+
export default renameMapper;
|
|
@@ -4,5 +4,6 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
|
4
4
|
// We're only importing AtlassianLight as both Light and Dark share the same schema
|
|
5
5
|
import { default as atlassianLightRenameMapper } from './rename-mapping/atlassian-light';
|
|
6
6
|
import { default as atlassianSpacingRenameMapper } from './rename-mapping/atlassian-spacing';
|
|
7
|
-
|
|
7
|
+
import { default as atlassianTypographyRenameMapper } from './rename-mapping/atlassian-typography';
|
|
8
|
+
var renameMapper = [].concat(_toConsumableArray(atlassianLightRenameMapper), _toConsumableArray(atlassianSpacingRenameMapper), _toConsumableArray(atlassianTypographyRenameMapper));
|
|
8
9
|
export default renameMapper;
|
|
@@ -8,7 +8,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
8
8
|
// We're only importing AtlassianLight as light is the default theme
|
|
9
9
|
import { default as atlassianLightDefaultTokenValues } from './typescript/atlassian-light-token-default-values';
|
|
10
10
|
import { default as atlassianSpacingDefaultTokenValues } from './typescript/atlassian-spacing-token-default-values';
|
|
11
|
+
import { default as atlassianTypographyDefaultTokenValues } from './typescript/atlassian-typography-token-default-values';
|
|
11
12
|
|
|
12
|
-
var defaultTokens = _objectSpread(_objectSpread({}, atlassianLightDefaultTokenValues), atlassianSpacingDefaultTokenValues);
|
|
13
|
+
var defaultTokens = _objectSpread(_objectSpread(_objectSpread({}, atlassianLightDefaultTokenValues), atlassianSpacingDefaultTokenValues), atlassianTypographyDefaultTokenValues);
|
|
13
14
|
|
|
14
15
|
export default defaultTokens;
|
|
@@ -8,7 +8,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
8
8
|
// We're only importing AtlassianLight as both Light and Dark share the same schema
|
|
9
9
|
import { default as atlassianLightTokenNames } from './typescript/atlassian-light-token-names';
|
|
10
10
|
import { default as atlassianSpacingTokenNames } from './typescript/atlassian-spacing-token-names';
|
|
11
|
+
import { default as atlassianTypographyTokenNames } from './typescript/atlassian-typography-token-names';
|
|
11
12
|
|
|
12
|
-
var tokens = _objectSpread(_objectSpread({}, atlassianLightTokenNames), atlassianSpacingTokenNames);
|
|
13
|
+
var tokens = _objectSpread(_objectSpread(_objectSpread({}, atlassianLightTokenNames), atlassianSpacingTokenNames), atlassianTypographyTokenNames);
|
|
13
14
|
|
|
14
15
|
export default tokens;
|
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::7237ae542acbfbf81d98127d8003c2dd>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
6
|
+
var tokens = [{
|
|
7
|
+
"attributes": {
|
|
8
|
+
"group": "fontFamily",
|
|
9
|
+
"state": "active",
|
|
10
|
+
"introduced": "0.10.33",
|
|
11
|
+
"description": "Helpful guidance goes here"
|
|
12
|
+
},
|
|
13
|
+
"value": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif",
|
|
14
|
+
"filePath": "src/tokens/atlassian-typography/font-family.tsx",
|
|
15
|
+
"isSource": true,
|
|
16
|
+
"original": {
|
|
17
|
+
"attributes": {
|
|
18
|
+
"group": "fontFamily",
|
|
19
|
+
"state": "active",
|
|
20
|
+
"introduced": "0.10.33",
|
|
21
|
+
"description": "Helpful guidance goes here"
|
|
22
|
+
},
|
|
23
|
+
"value": "FontFamilySans"
|
|
24
|
+
},
|
|
25
|
+
"name": "font.family.sans",
|
|
26
|
+
"path": ["font", "family", "sans"]
|
|
27
|
+
}, {
|
|
28
|
+
"attributes": {
|
|
29
|
+
"group": "fontFamily",
|
|
30
|
+
"state": "active",
|
|
31
|
+
"introduced": "0.10.33",
|
|
32
|
+
"description": "Helpful guidance goes here"
|
|
33
|
+
},
|
|
34
|
+
"value": "\"SFMono-Medium\", \"SF Mono\", \"Segoe UI Mono\", \"Roboto Mono\", \"Ubuntu Mono\", Menlo, Consolas, Courier, monospace",
|
|
35
|
+
"filePath": "src/tokens/atlassian-typography/font-family.tsx",
|
|
36
|
+
"isSource": true,
|
|
37
|
+
"original": {
|
|
38
|
+
"attributes": {
|
|
39
|
+
"group": "fontFamily",
|
|
40
|
+
"state": "active",
|
|
41
|
+
"introduced": "0.10.33",
|
|
42
|
+
"description": "Helpful guidance goes here"
|
|
43
|
+
},
|
|
44
|
+
"value": "FontFamilyMonospace"
|
|
45
|
+
},
|
|
46
|
+
"name": "font.family.monospace",
|
|
47
|
+
"path": ["font", "family", "monospace"]
|
|
48
|
+
}, {
|
|
49
|
+
"attributes": {
|
|
50
|
+
"group": "fontSize",
|
|
51
|
+
"state": "active",
|
|
52
|
+
"introduced": "0.10.33",
|
|
53
|
+
"description": "Helpful guidance goes here"
|
|
54
|
+
},
|
|
55
|
+
"value": "14px",
|
|
56
|
+
"filePath": "src/tokens/atlassian-typography/font-size.tsx",
|
|
57
|
+
"isSource": true,
|
|
58
|
+
"original": {
|
|
59
|
+
"attributes": {
|
|
60
|
+
"group": "fontSize",
|
|
61
|
+
"state": "active",
|
|
62
|
+
"introduced": "0.10.33",
|
|
63
|
+
"description": "Helpful guidance goes here"
|
|
64
|
+
},
|
|
65
|
+
"value": "FontSize100"
|
|
66
|
+
},
|
|
67
|
+
"name": "font.size.100",
|
|
68
|
+
"path": ["font", "size", "100"]
|
|
69
|
+
}, {
|
|
70
|
+
"attributes": {
|
|
71
|
+
"group": "fontSize",
|
|
72
|
+
"state": "active",
|
|
73
|
+
"introduced": "0.10.33",
|
|
74
|
+
"description": "Helpful guidance goes here"
|
|
75
|
+
},
|
|
76
|
+
"value": "16px",
|
|
77
|
+
"filePath": "src/tokens/atlassian-typography/font-size.tsx",
|
|
78
|
+
"isSource": true,
|
|
79
|
+
"original": {
|
|
80
|
+
"attributes": {
|
|
81
|
+
"group": "fontSize",
|
|
82
|
+
"state": "active",
|
|
83
|
+
"introduced": "0.10.33",
|
|
84
|
+
"description": "Helpful guidance goes here"
|
|
85
|
+
},
|
|
86
|
+
"value": "FontSize200"
|
|
87
|
+
},
|
|
88
|
+
"name": "font.size.200",
|
|
89
|
+
"path": ["font", "size", "200"]
|
|
90
|
+
}, {
|
|
91
|
+
"attributes": {
|
|
92
|
+
"group": "fontSize",
|
|
93
|
+
"state": "active",
|
|
94
|
+
"introduced": "0.10.33",
|
|
95
|
+
"description": "Helpful guidance goes here"
|
|
96
|
+
},
|
|
97
|
+
"value": "20px",
|
|
98
|
+
"filePath": "src/tokens/atlassian-typography/font-size.tsx",
|
|
99
|
+
"isSource": true,
|
|
100
|
+
"original": {
|
|
101
|
+
"attributes": {
|
|
102
|
+
"group": "fontSize",
|
|
103
|
+
"state": "active",
|
|
104
|
+
"introduced": "0.10.33",
|
|
105
|
+
"description": "Helpful guidance goes here"
|
|
106
|
+
},
|
|
107
|
+
"value": "FontSize300"
|
|
108
|
+
},
|
|
109
|
+
"name": "font.size.300",
|
|
110
|
+
"path": ["font", "size", "300"]
|
|
111
|
+
}, {
|
|
112
|
+
"attributes": {
|
|
113
|
+
"group": "fontSize",
|
|
114
|
+
"state": "active",
|
|
115
|
+
"introduced": "0.10.33",
|
|
116
|
+
"description": "Helpful guidance goes here"
|
|
117
|
+
},
|
|
118
|
+
"value": "24px",
|
|
119
|
+
"filePath": "src/tokens/atlassian-typography/font-size.tsx",
|
|
120
|
+
"isSource": true,
|
|
121
|
+
"original": {
|
|
122
|
+
"attributes": {
|
|
123
|
+
"group": "fontSize",
|
|
124
|
+
"state": "active",
|
|
125
|
+
"introduced": "0.10.33",
|
|
126
|
+
"description": "Helpful guidance goes here"
|
|
127
|
+
},
|
|
128
|
+
"value": "FontSize400"
|
|
129
|
+
},
|
|
130
|
+
"name": "font.size.400",
|
|
131
|
+
"path": ["font", "size", "400"]
|
|
132
|
+
}, {
|
|
133
|
+
"attributes": {
|
|
134
|
+
"group": "fontSize",
|
|
135
|
+
"state": "active",
|
|
136
|
+
"introduced": "0.10.33",
|
|
137
|
+
"description": "Helpful guidance goes here"
|
|
138
|
+
},
|
|
139
|
+
"value": "29px",
|
|
140
|
+
"filePath": "src/tokens/atlassian-typography/font-size.tsx",
|
|
141
|
+
"isSource": true,
|
|
142
|
+
"original": {
|
|
143
|
+
"attributes": {
|
|
144
|
+
"group": "fontSize",
|
|
145
|
+
"state": "active",
|
|
146
|
+
"introduced": "0.10.33",
|
|
147
|
+
"description": "Helpful guidance goes here"
|
|
148
|
+
},
|
|
149
|
+
"value": "FontSize500"
|
|
150
|
+
},
|
|
151
|
+
"name": "font.size.500",
|
|
152
|
+
"path": ["font", "size", "500"]
|
|
153
|
+
}, {
|
|
154
|
+
"attributes": {
|
|
155
|
+
"group": "fontSize",
|
|
156
|
+
"state": "active",
|
|
157
|
+
"introduced": "0.10.33",
|
|
158
|
+
"description": "Helpful guidance goes here"
|
|
159
|
+
},
|
|
160
|
+
"value": "35px",
|
|
161
|
+
"filePath": "src/tokens/atlassian-typography/font-size.tsx",
|
|
162
|
+
"isSource": true,
|
|
163
|
+
"original": {
|
|
164
|
+
"attributes": {
|
|
165
|
+
"group": "fontSize",
|
|
166
|
+
"state": "active",
|
|
167
|
+
"introduced": "0.10.33",
|
|
168
|
+
"description": "Helpful guidance goes here"
|
|
169
|
+
},
|
|
170
|
+
"value": "FontSize600"
|
|
171
|
+
},
|
|
172
|
+
"name": "font.size.600",
|
|
173
|
+
"path": ["font", "size", "600"]
|
|
174
|
+
}, {
|
|
175
|
+
"attributes": {
|
|
176
|
+
"group": "fontSize",
|
|
177
|
+
"state": "active",
|
|
178
|
+
"introduced": "0.10.33",
|
|
179
|
+
"description": "Helpful guidance goes here"
|
|
180
|
+
},
|
|
181
|
+
"value": "11px",
|
|
182
|
+
"filePath": "src/tokens/atlassian-typography/font-size.tsx",
|
|
183
|
+
"isSource": true,
|
|
184
|
+
"original": {
|
|
185
|
+
"attributes": {
|
|
186
|
+
"group": "fontSize",
|
|
187
|
+
"state": "active",
|
|
188
|
+
"introduced": "0.10.33",
|
|
189
|
+
"description": "Helpful guidance goes here"
|
|
190
|
+
},
|
|
191
|
+
"value": "FontSize050"
|
|
192
|
+
},
|
|
193
|
+
"name": "font.size.050",
|
|
194
|
+
"path": ["font", "size", "050"]
|
|
195
|
+
}, {
|
|
196
|
+
"attributes": {
|
|
197
|
+
"group": "fontSize",
|
|
198
|
+
"state": "active",
|
|
199
|
+
"introduced": "0.10.33",
|
|
200
|
+
"description": "Helpful guidance goes here"
|
|
201
|
+
},
|
|
202
|
+
"value": "12px",
|
|
203
|
+
"filePath": "src/tokens/atlassian-typography/font-size.tsx",
|
|
204
|
+
"isSource": true,
|
|
205
|
+
"original": {
|
|
206
|
+
"attributes": {
|
|
207
|
+
"group": "fontSize",
|
|
208
|
+
"state": "active",
|
|
209
|
+
"introduced": "0.10.33",
|
|
210
|
+
"description": "Helpful guidance goes here"
|
|
211
|
+
},
|
|
212
|
+
"value": "FontSize075"
|
|
213
|
+
},
|
|
214
|
+
"name": "font.size.075",
|
|
215
|
+
"path": ["font", "size", "075"]
|
|
216
|
+
}, {
|
|
217
|
+
"attributes": {
|
|
218
|
+
"group": "fontWeight",
|
|
219
|
+
"state": "active",
|
|
220
|
+
"introduced": "0.10.33",
|
|
221
|
+
"description": "Helpful guidance goes here"
|
|
222
|
+
},
|
|
223
|
+
"value": "400",
|
|
224
|
+
"filePath": "src/tokens/atlassian-typography/font-weight.tsx",
|
|
225
|
+
"isSource": true,
|
|
226
|
+
"original": {
|
|
227
|
+
"attributes": {
|
|
228
|
+
"group": "fontWeight",
|
|
229
|
+
"state": "active",
|
|
230
|
+
"introduced": "0.10.33",
|
|
231
|
+
"description": "Helpful guidance goes here"
|
|
232
|
+
},
|
|
233
|
+
"value": "FontWeightRegular"
|
|
234
|
+
},
|
|
235
|
+
"name": "font.weight.regular",
|
|
236
|
+
"path": ["font", "weight", "regular"]
|
|
237
|
+
}, {
|
|
238
|
+
"attributes": {
|
|
239
|
+
"group": "fontWeight",
|
|
240
|
+
"state": "active",
|
|
241
|
+
"introduced": "0.10.33",
|
|
242
|
+
"description": "Helpful guidance goes here"
|
|
243
|
+
},
|
|
244
|
+
"value": "500",
|
|
245
|
+
"filePath": "src/tokens/atlassian-typography/font-weight.tsx",
|
|
246
|
+
"isSource": true,
|
|
247
|
+
"original": {
|
|
248
|
+
"attributes": {
|
|
249
|
+
"group": "fontWeight",
|
|
250
|
+
"state": "active",
|
|
251
|
+
"introduced": "0.10.33",
|
|
252
|
+
"description": "Helpful guidance goes here"
|
|
253
|
+
},
|
|
254
|
+
"value": "FontWeightMedium"
|
|
255
|
+
},
|
|
256
|
+
"name": "font.weight.medium",
|
|
257
|
+
"path": ["font", "weight", "medium"]
|
|
258
|
+
}, {
|
|
259
|
+
"attributes": {
|
|
260
|
+
"group": "fontWeight",
|
|
261
|
+
"state": "active",
|
|
262
|
+
"introduced": "0.10.33",
|
|
263
|
+
"description": "Helpful guidance goes here"
|
|
264
|
+
},
|
|
265
|
+
"value": "600",
|
|
266
|
+
"filePath": "src/tokens/atlassian-typography/font-weight.tsx",
|
|
267
|
+
"isSource": true,
|
|
268
|
+
"original": {
|
|
269
|
+
"attributes": {
|
|
270
|
+
"group": "fontWeight",
|
|
271
|
+
"state": "active",
|
|
272
|
+
"introduced": "0.10.33",
|
|
273
|
+
"description": "Helpful guidance goes here"
|
|
274
|
+
},
|
|
275
|
+
"value": "FontWeightSemiBold"
|
|
276
|
+
},
|
|
277
|
+
"name": "font.weight.semibold",
|
|
278
|
+
"path": ["font", "weight", "semibold"]
|
|
279
|
+
}, {
|
|
280
|
+
"attributes": {
|
|
281
|
+
"group": "fontWeight",
|
|
282
|
+
"state": "active",
|
|
283
|
+
"introduced": "0.10.33",
|
|
284
|
+
"description": "Helpful guidance goes here"
|
|
285
|
+
},
|
|
286
|
+
"value": "700",
|
|
287
|
+
"filePath": "src/tokens/atlassian-typography/font-weight.tsx",
|
|
288
|
+
"isSource": true,
|
|
289
|
+
"original": {
|
|
290
|
+
"attributes": {
|
|
291
|
+
"group": "fontWeight",
|
|
292
|
+
"state": "active",
|
|
293
|
+
"introduced": "0.10.33",
|
|
294
|
+
"description": "Helpful guidance goes here"
|
|
295
|
+
},
|
|
296
|
+
"value": "FontWeightBold"
|
|
297
|
+
},
|
|
298
|
+
"name": "font.weight.bold",
|
|
299
|
+
"path": ["font", "weight", "bold"]
|
|
300
|
+
}, {
|
|
301
|
+
"attributes": {
|
|
302
|
+
"group": "lineHeight",
|
|
303
|
+
"state": "active",
|
|
304
|
+
"introduced": "0.10.33",
|
|
305
|
+
"description": "Helpful guidance goes here"
|
|
306
|
+
},
|
|
307
|
+
"value": "16px",
|
|
308
|
+
"filePath": "src/tokens/atlassian-typography/line-height.tsx",
|
|
309
|
+
"isSource": true,
|
|
310
|
+
"original": {
|
|
311
|
+
"attributes": {
|
|
312
|
+
"group": "lineHeight",
|
|
313
|
+
"state": "active",
|
|
314
|
+
"introduced": "0.10.33",
|
|
315
|
+
"description": "Helpful guidance goes here"
|
|
316
|
+
},
|
|
317
|
+
"value": "LineHeight100"
|
|
318
|
+
},
|
|
319
|
+
"name": "font.lineHeight.100",
|
|
320
|
+
"path": ["font", "lineHeight", "100"]
|
|
321
|
+
}, {
|
|
322
|
+
"attributes": {
|
|
323
|
+
"group": "lineHeight",
|
|
324
|
+
"state": "active",
|
|
325
|
+
"introduced": "0.10.33",
|
|
326
|
+
"description": "Helpful guidance goes here"
|
|
327
|
+
},
|
|
328
|
+
"value": "20px",
|
|
329
|
+
"filePath": "src/tokens/atlassian-typography/line-height.tsx",
|
|
330
|
+
"isSource": true,
|
|
331
|
+
"original": {
|
|
332
|
+
"attributes": {
|
|
333
|
+
"group": "lineHeight",
|
|
334
|
+
"state": "active",
|
|
335
|
+
"introduced": "0.10.33",
|
|
336
|
+
"description": "Helpful guidance goes here"
|
|
337
|
+
},
|
|
338
|
+
"value": "LineHeight200"
|
|
339
|
+
},
|
|
340
|
+
"name": "font.lineHeight.200",
|
|
341
|
+
"path": ["font", "lineHeight", "200"]
|
|
342
|
+
}, {
|
|
343
|
+
"attributes": {
|
|
344
|
+
"group": "lineHeight",
|
|
345
|
+
"state": "active",
|
|
346
|
+
"introduced": "0.10.33",
|
|
347
|
+
"description": "Helpful guidance goes here"
|
|
348
|
+
},
|
|
349
|
+
"value": "24px",
|
|
350
|
+
"filePath": "src/tokens/atlassian-typography/line-height.tsx",
|
|
351
|
+
"isSource": true,
|
|
352
|
+
"original": {
|
|
353
|
+
"attributes": {
|
|
354
|
+
"group": "lineHeight",
|
|
355
|
+
"state": "active",
|
|
356
|
+
"introduced": "0.10.33",
|
|
357
|
+
"description": "Helpful guidance goes here"
|
|
358
|
+
},
|
|
359
|
+
"value": "LineHeight300"
|
|
360
|
+
},
|
|
361
|
+
"name": "font.lineHeight.300",
|
|
362
|
+
"path": ["font", "lineHeight", "300"]
|
|
363
|
+
}, {
|
|
364
|
+
"attributes": {
|
|
365
|
+
"group": "lineHeight",
|
|
366
|
+
"state": "active",
|
|
367
|
+
"introduced": "0.10.33",
|
|
368
|
+
"description": "Helpful guidance goes here"
|
|
369
|
+
},
|
|
370
|
+
"value": "28px",
|
|
371
|
+
"filePath": "src/tokens/atlassian-typography/line-height.tsx",
|
|
372
|
+
"isSource": true,
|
|
373
|
+
"original": {
|
|
374
|
+
"attributes": {
|
|
375
|
+
"group": "lineHeight",
|
|
376
|
+
"state": "active",
|
|
377
|
+
"introduced": "0.10.33",
|
|
378
|
+
"description": "Helpful guidance goes here"
|
|
379
|
+
},
|
|
380
|
+
"value": "LineHeight400"
|
|
381
|
+
},
|
|
382
|
+
"name": "font.lineHeight.400",
|
|
383
|
+
"path": ["font", "lineHeight", "400"]
|
|
384
|
+
}, {
|
|
385
|
+
"attributes": {
|
|
386
|
+
"group": "lineHeight",
|
|
387
|
+
"state": "active",
|
|
388
|
+
"introduced": "0.10.33",
|
|
389
|
+
"description": "Helpful guidance goes here"
|
|
390
|
+
},
|
|
391
|
+
"value": "32px",
|
|
392
|
+
"filePath": "src/tokens/atlassian-typography/line-height.tsx",
|
|
393
|
+
"isSource": true,
|
|
394
|
+
"original": {
|
|
395
|
+
"attributes": {
|
|
396
|
+
"group": "lineHeight",
|
|
397
|
+
"state": "active",
|
|
398
|
+
"introduced": "0.10.33",
|
|
399
|
+
"description": "Helpful guidance goes here"
|
|
400
|
+
},
|
|
401
|
+
"value": "LineHeight500"
|
|
402
|
+
},
|
|
403
|
+
"name": "font.lineHeight.500",
|
|
404
|
+
"path": ["font", "lineHeight", "500"]
|
|
405
|
+
}, {
|
|
406
|
+
"attributes": {
|
|
407
|
+
"group": "lineHeight",
|
|
408
|
+
"state": "active",
|
|
409
|
+
"introduced": "0.10.33",
|
|
410
|
+
"description": "Helpful guidance goes here"
|
|
411
|
+
},
|
|
412
|
+
"value": "40px",
|
|
413
|
+
"filePath": "src/tokens/atlassian-typography/line-height.tsx",
|
|
414
|
+
"isSource": true,
|
|
415
|
+
"original": {
|
|
416
|
+
"attributes": {
|
|
417
|
+
"group": "lineHeight",
|
|
418
|
+
"state": "active",
|
|
419
|
+
"introduced": "0.10.33",
|
|
420
|
+
"description": "Helpful guidance goes here"
|
|
421
|
+
},
|
|
422
|
+
"value": "LineHeight600"
|
|
423
|
+
},
|
|
424
|
+
"name": "font.lineHeight.600",
|
|
425
|
+
"path": ["font", "lineHeight", "600"]
|
|
426
|
+
}];
|
|
427
|
+
export default tokens;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Token names mapped to their value in the default Atlassian themes ('light
|
|
4
|
+
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
5
5
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
6
6
|
*
|
|
7
|
-
* @codegen <<SignedSource::
|
|
7
|
+
* @codegen <<SignedSource::59114010c9c11270dd28c9a285bed33a>>
|
|
8
8
|
* @codegenCommand yarn build tokens
|
|
9
9
|
*/
|
|
10
10
|
var defaultTokenValues = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
3
|
*
|
|
4
|
-
* Token names mapped to their value in the default Atlassian themes ('light
|
|
4
|
+
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
5
5
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
6
6
|
*
|
|
7
|
-
* @codegen <<SignedSource::
|
|
7
|
+
* @codegen <<SignedSource::6774c0c721b46e66ada20e02efc078c0>>
|
|
8
8
|
* @codegenCommand yarn build tokens
|
|
9
9
|
*/
|
|
10
10
|
var defaultTokenValues = {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
*
|
|
4
|
+
* Token names mapped to their value in the default Atlassian themes ('light').
|
|
5
|
+
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
6
|
+
*
|
|
7
|
+
* @codegen <<SignedSource::c3cd2758c83d1514a33fbaec6ceb0a8d>>
|
|
8
|
+
* @codegenCommand yarn build tokens
|
|
9
|
+
*/
|
|
10
|
+
var defaultTokenValues = {
|
|
11
|
+
'font.family.sans': '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
|
|
12
|
+
'font.family.monospace': '"SFMono-Medium", "SF Mono", "Segoe UI Mono", "Roboto Mono", "Ubuntu Mono", Menlo, Consolas, Courier, monospace',
|
|
13
|
+
'font.size.100': '14px',
|
|
14
|
+
'font.size.200': '16px',
|
|
15
|
+
'font.size.300': '20px',
|
|
16
|
+
'font.size.400': '24px',
|
|
17
|
+
'font.size.500': '29px',
|
|
18
|
+
'font.size.600': '35px',
|
|
19
|
+
'font.size.050': '11px',
|
|
20
|
+
'font.size.075': '12px',
|
|
21
|
+
'font.weight.regular': '400',
|
|
22
|
+
'font.weight.medium': '500',
|
|
23
|
+
'font.weight.semibold': '600',
|
|
24
|
+
'font.weight.bold': '700',
|
|
25
|
+
'font.lineHeight.100': '16px',
|
|
26
|
+
'font.lineHeight.200': '20px',
|
|
27
|
+
'font.lineHeight.300': '24px',
|
|
28
|
+
'font.lineHeight.400': '28px',
|
|
29
|
+
'font.lineHeight.500': '32px',
|
|
30
|
+
'font.lineHeight.600': '40px'
|
|
31
|
+
};
|
|
32
|
+
export default defaultTokenValues;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
3
|
+
* @codegen <<SignedSource::552924bc6add2fabb3af5b1ac93a9721>>
|
|
4
|
+
* @codegenCommand yarn build tokens
|
|
5
|
+
*/
|
|
6
|
+
var tokens = {
|
|
7
|
+
'font.family.sans': '--ds-font-family-sans',
|
|
8
|
+
'font.family.monospace': '--ds-font-family-monospace',
|
|
9
|
+
'font.size.100': '--ds-font-size-100',
|
|
10
|
+
'font.size.200': '--ds-font-size-200',
|
|
11
|
+
'font.size.300': '--ds-font-size-300',
|
|
12
|
+
'font.size.400': '--ds-font-size-400',
|
|
13
|
+
'font.size.500': '--ds-font-size-500',
|
|
14
|
+
'font.size.600': '--ds-font-size-600',
|
|
15
|
+
'font.size.050': '--ds-font-size-050',
|
|
16
|
+
'font.size.075': '--ds-font-size-075',
|
|
17
|
+
'font.weight.regular': '--ds-font-weight-regular',
|
|
18
|
+
'font.weight.medium': '--ds-font-weight-medium',
|
|
19
|
+
'font.weight.semibold': '--ds-font-weight-semibold',
|
|
20
|
+
'font.weight.bold': '--ds-font-weight-bold',
|
|
21
|
+
'font.lineHeight.100': '--ds-font-lineHeight-100',
|
|
22
|
+
'font.lineHeight.200': '--ds-font-lineHeight-200',
|
|
23
|
+
'font.lineHeight.300': '--ds-font-lineHeight-300',
|
|
24
|
+
'font.lineHeight.400': '--ds-font-lineHeight-400',
|
|
25
|
+
'font.lineHeight.500': '--ds-font-lineHeight-500',
|
|
26
|
+
'font.lineHeight.600': '--ds-font-lineHeight-600'
|
|
27
|
+
};
|
|
28
|
+
export default tokens;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|