@atlaskit/tokens 0.10.12 → 0.10.15
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 +32 -0
- package/css/atlassian-dark.css +4 -4
- package/css/atlassian-light.css +4 -4
- package/dist/cjs/artifacts/palettes-raw/legacy-palette.js +1953 -0
- package/dist/cjs/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
- package/dist/cjs/artifacts/rename-mapping.js +3 -3
- package/dist/cjs/artifacts/token-default-values.js +4 -4
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +15 -11
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +15 -11
- package/dist/cjs/constants.js +3 -3
- package/dist/cjs/entry-points/palettes-raw.js +2 -2
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/palettes/legacy-palette.js +818 -0
- package/dist/cjs/{tokens → palettes}/palette.js +0 -0
- package/dist/cjs/tokens/atlassian-dark/color/background.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/icon.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/text.js +1 -1
- package/dist/cjs/tokens/atlassian-light/color/background.js +1 -1
- package/dist/cjs/tokens/atlassian-light/color/icon.js +1 -1
- package/dist/cjs/tokens/atlassian-light/color/text.js +1 -1
- package/dist/cjs/tokens/default/deprecated/deprecated.js +4 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw/legacy-palette.js +1945 -0
- package/dist/es2019/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
- package/dist/es2019/artifacts/rename-mapping.js +3 -3
- package/dist/es2019/artifacts/token-default-values.js +4 -4
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +15 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +15 -11
- package/dist/es2019/constants.js +1 -1
- package/dist/es2019/entry-points/palettes-raw.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/palettes/legacy-palette.js +810 -0
- package/dist/es2019/{tokens → palettes}/palette.js +0 -0
- package/dist/es2019/tokens/atlassian-dark/color/background.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/icon.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/text.js +1 -1
- package/dist/es2019/tokens/atlassian-light/color/background.js +1 -1
- package/dist/es2019/tokens/atlassian-light/color/icon.js +1 -1
- package/dist/es2019/tokens/atlassian-light/color/text.js +1 -1
- package/dist/es2019/tokens/default/deprecated/deprecated.js +4 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw/legacy-palette.js +1945 -0
- package/dist/esm/artifacts/{palettes-raw.js → palettes-raw/palette.js} +233 -233
- package/dist/esm/artifacts/rename-mapping.js +3 -3
- package/dist/esm/artifacts/token-default-values.js +4 -4
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +15 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +15 -11
- package/dist/esm/constants.js +1 -1
- package/dist/esm/entry-points/palettes-raw.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/palettes/legacy-palette.js +810 -0
- package/dist/esm/{tokens → palettes}/palette.js +0 -0
- package/dist/esm/tokens/atlassian-dark/color/background.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/icon.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/text.js +1 -1
- package/dist/esm/tokens/atlassian-light/color/background.js +1 -1
- package/dist/esm/tokens/atlassian-light/color/icon.js +1 -1
- package/dist/esm/tokens/atlassian-light/color/text.js +1 -1
- package/dist/esm/tokens/default/deprecated/deprecated.js +4 -2
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/{palettes-raw.d.ts → palettes-raw/legacy-palette.d.ts} +1 -1
- package/dist/types/artifacts/palettes-raw/palette.d.ts +24 -0
- package/dist/types/artifacts/rename-mapping.d.ts +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +4 -4
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -28
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -28
- package/dist/types/constants.d.ts +4 -1
- package/dist/types/entry-points/palettes-raw.d.ts +1 -1
- package/dist/types/palettes/legacy-palette.d.ts +10 -0
- package/dist/types/palettes/palette.d.ts +5 -0
- package/dist/types/tokens/atlassian-dark/color/accent.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/background.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/border.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/icon.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/interaction.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/skeleton.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/color/text.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/elevation/shadow.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/elevation/surface.d.ts +2 -1
- package/dist/types/tokens/atlassian-dark/utility/utility.d.ts +1 -1
- package/dist/types/tokens/atlassian-light/color/accent.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/background.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/border.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/icon.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/interaction.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/skeleton.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/color/text.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/elevation/shadow.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/elevation/surface.d.ts +2 -1
- package/dist/types/tokens/atlassian-light/utility/utility.d.ts +1 -1
- package/dist/types/tokens/default/color/accent.d.ts +2 -1
- package/dist/types/tokens/default/color/background.d.ts +2 -1
- package/dist/types/tokens/default/color/border.d.ts +2 -1
- package/dist/types/tokens/default/color/icon.d.ts +2 -1
- package/dist/types/tokens/default/color/interaction.d.ts +2 -1
- package/dist/types/tokens/default/color/skeleton.d.ts +2 -1
- package/dist/types/tokens/default/color/text.d.ts +2 -1
- package/dist/types/tokens/default/deprecated/deprecated.d.ts +2 -1
- package/dist/types/tokens/default/elevation/shadow.d.ts +2 -1
- package/dist/types/tokens/default/elevation/surface.d.ts +2 -1
- package/dist/types/tokens/default/utility/utility.d.ts +1 -1
- package/dist/types/types.d.ts +308 -426
- package/dist/types/utils/color-detection.d.ts +1 -1
- package/package.json +4 -4
- package/dist/types/tokens/palette.d.ts +0 -3
|
@@ -12,7 +12,7 @@
|
|
|
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::afc1ce63c4571109e333891b70af2ae8>>
|
|
16
16
|
* @codegenCommand yarn build tokens
|
|
17
17
|
*/
|
|
18
18
|
const renameMapper = [{
|
|
@@ -321,11 +321,11 @@ const renameMapper = [{
|
|
|
321
321
|
"replacement": "color.background.neutral.subtle.pressed"
|
|
322
322
|
}, {
|
|
323
323
|
"path": "color.interaction.inverse.hovered",
|
|
324
|
-
"state": "
|
|
324
|
+
"state": "deleted",
|
|
325
325
|
"replacement": "color.background.inverse.subtle.hovered"
|
|
326
326
|
}, {
|
|
327
327
|
"path": "color.interaction.inverse.pressed",
|
|
328
|
-
"state": "
|
|
328
|
+
"state": "deleted",
|
|
329
329
|
"replacement": "color.background.inverse.subtle.pressed"
|
|
330
330
|
}, {
|
|
331
331
|
"path": "color.accent.boldBlue",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Token names mapped to their value in the default Atlassian theme ('light')
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::bf85c12f621d58ae427a6fd99c62fd24>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
const defaultTokenValues = {
|
|
@@ -28,7 +28,7 @@ const defaultTokenValues = {
|
|
|
28
28
|
'color.text': '#172B4D',
|
|
29
29
|
'color.text.subtle': '#44546F',
|
|
30
30
|
'color.text.subtlest': '#626F86',
|
|
31
|
-
'color.text.disabled': '#
|
|
31
|
+
'color.text.disabled': '#091E424F',
|
|
32
32
|
'color.text.inverse': '#FFFFFF',
|
|
33
33
|
'color.text.brand': '#0C66E4',
|
|
34
34
|
'color.text.selected': '#0C66E4',
|
|
@@ -57,7 +57,7 @@ const defaultTokenValues = {
|
|
|
57
57
|
'color.icon': '#44546F',
|
|
58
58
|
'color.icon.subtle': '#626F86',
|
|
59
59
|
'color.icon.inverse': '#FFFFFF',
|
|
60
|
-
'color.icon.disabled': '#
|
|
60
|
+
'color.icon.disabled': '#091E424F',
|
|
61
61
|
'color.icon.brand': '#0C66E4',
|
|
62
62
|
'color.icon.selected': '#0C66E4',
|
|
63
63
|
'color.icon.danger': '#E34935',
|
|
@@ -142,7 +142,7 @@ const defaultTokenValues = {
|
|
|
142
142
|
'color.background.accent.gray.subtler': '#DCDFE4',
|
|
143
143
|
'color.background.accent.gray.subtle': '#8993A5',
|
|
144
144
|
'color.background.accent.gray.bolder': '#626F86',
|
|
145
|
-
'color.background.disabled': '#
|
|
145
|
+
'color.background.disabled': '#091E4208',
|
|
146
146
|
'color.background.inverse.subtle': '#00000029',
|
|
147
147
|
'color.background.inverse.subtle.hovered': '#0000003D',
|
|
148
148
|
'color.background.inverse.subtle.pressed': '#00000052',
|
|
@@ -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::3fef3c7e03c920ccf46adb8e5016f1f9>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -451,7 +451,7 @@ const tokens = [{
|
|
|
451
451
|
"introduced": "0.0.15",
|
|
452
452
|
"description": "Use for text in a disabled state."
|
|
453
453
|
},
|
|
454
|
-
"value": "#
|
|
454
|
+
"value": "#BFDBF847",
|
|
455
455
|
"filePath": "src/tokens/atlassian-dark/color/text.tsx",
|
|
456
456
|
"isSource": true,
|
|
457
457
|
"original": {
|
|
@@ -461,7 +461,7 @@ const tokens = [{
|
|
|
461
461
|
"introduced": "0.0.15",
|
|
462
462
|
"description": "Use for text in a disabled state."
|
|
463
463
|
},
|
|
464
|
-
"value": "
|
|
464
|
+
"value": "DN400A"
|
|
465
465
|
},
|
|
466
466
|
"name": "color.text.disabled",
|
|
467
467
|
"path": ["color", "text", "disabled"]
|
|
@@ -1102,7 +1102,7 @@ const tokens = [{
|
|
|
1102
1102
|
"introduced": "0.6.0",
|
|
1103
1103
|
"description": "Use for icons in a disabled state."
|
|
1104
1104
|
},
|
|
1105
|
-
"value": "#
|
|
1105
|
+
"value": "#BFDBF847",
|
|
1106
1106
|
"filePath": "src/tokens/atlassian-dark/color/icon.tsx",
|
|
1107
1107
|
"isSource": true,
|
|
1108
1108
|
"original": {
|
|
@@ -1112,7 +1112,7 @@ const tokens = [{
|
|
|
1112
1112
|
"introduced": "0.6.0",
|
|
1113
1113
|
"description": "Use for icons in a disabled state."
|
|
1114
1114
|
},
|
|
1115
|
-
"value": "
|
|
1115
|
+
"value": "DN400A"
|
|
1116
1116
|
},
|
|
1117
1117
|
"name": "color.icon.disabled",
|
|
1118
1118
|
"path": ["color", "icon", "disabled"]
|
|
@@ -2995,7 +2995,7 @@ const tokens = [{
|
|
|
2995
2995
|
"introduced": "0.0.15",
|
|
2996
2996
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
2997
2997
|
},
|
|
2998
|
-
"value": "#
|
|
2998
|
+
"value": "#BCD6F00A",
|
|
2999
2999
|
"filePath": "src/tokens/atlassian-dark/color/background.tsx",
|
|
3000
3000
|
"isSource": true,
|
|
3001
3001
|
"original": {
|
|
@@ -3005,7 +3005,7 @@ const tokens = [{
|
|
|
3005
3005
|
"introduced": "0.0.15",
|
|
3006
3006
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
3007
3007
|
},
|
|
3008
|
-
"value": "
|
|
3008
|
+
"value": "DN100A"
|
|
3009
3009
|
},
|
|
3010
3010
|
"name": "color.background.disabled",
|
|
3011
3011
|
"path": ["color", "background", "disabled"]
|
|
@@ -5628,9 +5628,10 @@ const tokens = [{
|
|
|
5628
5628
|
}, {
|
|
5629
5629
|
"attributes": {
|
|
5630
5630
|
"group": "paint",
|
|
5631
|
-
"state": "
|
|
5631
|
+
"state": "deleted",
|
|
5632
5632
|
"introduced": "0.6.0",
|
|
5633
5633
|
"deprecated": "0.10.8",
|
|
5634
|
+
"deleted": "0.10.13",
|
|
5634
5635
|
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5635
5636
|
"replacement": "color.background.inverse.subtle.hovered"
|
|
5636
5637
|
},
|
|
@@ -5640,9 +5641,10 @@ const tokens = [{
|
|
|
5640
5641
|
"original": {
|
|
5641
5642
|
"attributes": {
|
|
5642
5643
|
"group": "paint",
|
|
5643
|
-
"state": "
|
|
5644
|
+
"state": "deleted",
|
|
5644
5645
|
"introduced": "0.6.0",
|
|
5645
5646
|
"deprecated": "0.10.8",
|
|
5647
|
+
"deleted": "0.10.13",
|
|
5646
5648
|
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5647
5649
|
"replacement": "color.background.inverse.subtle.hovered"
|
|
5648
5650
|
},
|
|
@@ -5653,9 +5655,10 @@ const tokens = [{
|
|
|
5653
5655
|
}, {
|
|
5654
5656
|
"attributes": {
|
|
5655
5657
|
"group": "paint",
|
|
5656
|
-
"state": "
|
|
5658
|
+
"state": "deleted",
|
|
5657
5659
|
"introduced": "0.6.0",
|
|
5658
5660
|
"deprecated": "0.10.8 ",
|
|
5661
|
+
"deleted": "0.10.13",
|
|
5659
5662
|
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5660
5663
|
"replacement": "color.background.inverse.subtle.pressed"
|
|
5661
5664
|
},
|
|
@@ -5665,9 +5668,10 @@ const tokens = [{
|
|
|
5665
5668
|
"original": {
|
|
5666
5669
|
"attributes": {
|
|
5667
5670
|
"group": "paint",
|
|
5668
|
-
"state": "
|
|
5671
|
+
"state": "deleted",
|
|
5669
5672
|
"introduced": "0.6.0",
|
|
5670
5673
|
"deprecated": "0.10.8 ",
|
|
5674
|
+
"deleted": "0.10.13",
|
|
5671
5675
|
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5672
5676
|
"replacement": "color.background.inverse.subtle.pressed"
|
|
5673
5677
|
},
|
|
@@ -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::f6a9d19d9e568ee23ce24a7127ceb09c>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -451,7 +451,7 @@ const tokens = [{
|
|
|
451
451
|
"introduced": "0.0.15",
|
|
452
452
|
"description": "Use for text in a disabled state."
|
|
453
453
|
},
|
|
454
|
-
"value": "#
|
|
454
|
+
"value": "#091E424F",
|
|
455
455
|
"filePath": "src/tokens/atlassian-light/color/text.tsx",
|
|
456
456
|
"isSource": true,
|
|
457
457
|
"original": {
|
|
@@ -461,7 +461,7 @@ const tokens = [{
|
|
|
461
461
|
"introduced": "0.0.15",
|
|
462
462
|
"description": "Use for text in a disabled state."
|
|
463
463
|
},
|
|
464
|
-
"value": "
|
|
464
|
+
"value": "N400A"
|
|
465
465
|
},
|
|
466
466
|
"name": "color.text.disabled",
|
|
467
467
|
"path": ["color", "text", "disabled"]
|
|
@@ -1102,7 +1102,7 @@ const tokens = [{
|
|
|
1102
1102
|
"introduced": "0.6.0",
|
|
1103
1103
|
"description": "Use for icons in a disabled state."
|
|
1104
1104
|
},
|
|
1105
|
-
"value": "#
|
|
1105
|
+
"value": "#091E424F",
|
|
1106
1106
|
"filePath": "src/tokens/atlassian-light/color/icon.tsx",
|
|
1107
1107
|
"isSource": true,
|
|
1108
1108
|
"original": {
|
|
@@ -1112,7 +1112,7 @@ const tokens = [{
|
|
|
1112
1112
|
"introduced": "0.6.0",
|
|
1113
1113
|
"description": "Use for icons in a disabled state."
|
|
1114
1114
|
},
|
|
1115
|
-
"value": "
|
|
1115
|
+
"value": "N400A"
|
|
1116
1116
|
},
|
|
1117
1117
|
"name": "color.icon.disabled",
|
|
1118
1118
|
"path": ["color", "icon", "disabled"]
|
|
@@ -2995,7 +2995,7 @@ const tokens = [{
|
|
|
2995
2995
|
"introduced": "0.0.15",
|
|
2996
2996
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
2997
2997
|
},
|
|
2998
|
-
"value": "#
|
|
2998
|
+
"value": "#091E4208",
|
|
2999
2999
|
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
3000
3000
|
"isSource": true,
|
|
3001
3001
|
"original": {
|
|
@@ -3005,7 +3005,7 @@ const tokens = [{
|
|
|
3005
3005
|
"introduced": "0.0.15",
|
|
3006
3006
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
3007
3007
|
},
|
|
3008
|
-
"value": "
|
|
3008
|
+
"value": "N100A"
|
|
3009
3009
|
},
|
|
3010
3010
|
"name": "color.background.disabled",
|
|
3011
3011
|
"path": ["color", "background", "disabled"]
|
|
@@ -5628,9 +5628,10 @@ const tokens = [{
|
|
|
5628
5628
|
}, {
|
|
5629
5629
|
"attributes": {
|
|
5630
5630
|
"group": "paint",
|
|
5631
|
-
"state": "
|
|
5631
|
+
"state": "deleted",
|
|
5632
5632
|
"introduced": "0.6.0",
|
|
5633
5633
|
"deprecated": "0.10.8",
|
|
5634
|
+
"deleted": "0.10.13",
|
|
5634
5635
|
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5635
5636
|
"replacement": "color.background.inverse.subtle.hovered"
|
|
5636
5637
|
},
|
|
@@ -5640,9 +5641,10 @@ const tokens = [{
|
|
|
5640
5641
|
"original": {
|
|
5641
5642
|
"attributes": {
|
|
5642
5643
|
"group": "paint",
|
|
5643
|
-
"state": "
|
|
5644
|
+
"state": "deleted",
|
|
5644
5645
|
"introduced": "0.6.0",
|
|
5645
5646
|
"deprecated": "0.10.8",
|
|
5647
|
+
"deleted": "0.10.13",
|
|
5646
5648
|
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5647
5649
|
"replacement": "color.background.inverse.subtle.hovered"
|
|
5648
5650
|
},
|
|
@@ -5653,9 +5655,10 @@ const tokens = [{
|
|
|
5653
5655
|
}, {
|
|
5654
5656
|
"attributes": {
|
|
5655
5657
|
"group": "paint",
|
|
5656
|
-
"state": "
|
|
5658
|
+
"state": "deleted",
|
|
5657
5659
|
"introduced": "0.6.0",
|
|
5658
5660
|
"deprecated": "0.10.8 ",
|
|
5661
|
+
"deleted": "0.10.13",
|
|
5659
5662
|
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5660
5663
|
"replacement": "color.background.inverse.subtle.pressed"
|
|
5661
5664
|
},
|
|
@@ -5665,9 +5668,10 @@ const tokens = [{
|
|
|
5665
5668
|
"original": {
|
|
5666
5669
|
"attributes": {
|
|
5667
5670
|
"group": "paint",
|
|
5668
|
-
"state": "
|
|
5671
|
+
"state": "deleted",
|
|
5669
5672
|
"introduced": "0.6.0",
|
|
5670
5673
|
"deprecated": "0.10.8 ",
|
|
5674
|
+
"deleted": "0.10.13",
|
|
5671
5675
|
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5672
5676
|
"replacement": "color.background.inverse.subtle.pressed"
|
|
5673
5677
|
},
|
package/dist/es2019/constants.js
CHANGED
|
@@ -3,7 +3,7 @@ export const THEME_DATA_ATTRIBUTE = 'data-theme';
|
|
|
3
3
|
export const DEFAULT_THEME = 'light';
|
|
4
4
|
export const CSS_PREFIX = 'ds'; // Maps the longer theme name to a shorthand used in css/code
|
|
5
5
|
|
|
6
|
-
export const
|
|
6
|
+
export const THEME_NAME_MAP = {
|
|
7
7
|
'atlassian-light': 'light',
|
|
8
8
|
'atlassian-dark': 'dark'
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '../artifacts/palettes-raw';
|
|
1
|
+
export { default } from '../artifacts/palettes-raw/palette';
|
package/dist/es2019/get-token.js
CHANGED
|
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
|
|
4
4
|
const name = "@atlaskit/tokens";
|
|
5
|
-
const version = "0.10.
|
|
5
|
+
const version = "0.10.15";
|
|
6
6
|
|
|
7
7
|
function token(path, fallback) {
|
|
8
8
|
let token = tokens[path];
|