@atlaskit/tokens 0.5.0 → 0.6.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.
Files changed (167) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/css/atlassian-dark.css +196 -67
  3. package/css/atlassian-light.css +196 -67
  4. package/dist/cjs/artifacts/rename-mapping.js +321 -1
  5. package/dist/cjs/artifacts/token-default-values.js +196 -67
  6. package/dist/cjs/artifacts/token-names.js +196 -67
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +3311 -616
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +3296 -621
  9. package/dist/cjs/artifacts/types-internal.js +5 -0
  10. package/dist/cjs/get-token.js +10 -3
  11. package/dist/cjs/tokens/atlassian-dark/color/accent.js +150 -39
  12. package/dist/cjs/tokens/atlassian-dark/color/background.js +178 -154
  13. package/dist/cjs/tokens/atlassian-dark/color/border.js +26 -2
  14. package/dist/cjs/tokens/atlassian-dark/color/icon.js +49 -0
  15. package/dist/cjs/tokens/atlassian-dark/color/interaction.js +32 -0
  16. package/dist/cjs/tokens/atlassian-dark/color/text.js +25 -23
  17. package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +344 -0
  18. package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +66 -0
  19. package/dist/cjs/tokens/atlassian-dark/elevation/surface.js +26 -0
  20. package/dist/cjs/tokens/atlassian-light/color/accent.js +150 -39
  21. package/dist/cjs/tokens/atlassian-light/color/background.js +178 -154
  22. package/dist/cjs/tokens/atlassian-light/color/border.js +26 -2
  23. package/dist/cjs/tokens/atlassian-light/color/icon.js +49 -0
  24. package/dist/cjs/tokens/atlassian-light/color/interaction.js +32 -0
  25. package/dist/cjs/tokens/atlassian-light/color/text.js +25 -23
  26. package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +330 -0
  27. package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +52 -0
  28. package/dist/cjs/tokens/atlassian-light/elevation/surface.js +26 -0
  29. package/dist/cjs/tokens/default/color/accent.js +306 -87
  30. package/dist/cjs/tokens/default/color/background.js +339 -309
  31. package/dist/cjs/tokens/default/color/border.js +60 -4
  32. package/dist/cjs/tokens/default/color/icon.js +93 -0
  33. package/dist/cjs/tokens/default/color/interaction.js +44 -0
  34. package/dist/cjs/tokens/default/color/text.js +37 -35
  35. package/dist/cjs/tokens/default/deprecated/deprecated.js +698 -0
  36. package/dist/cjs/tokens/default/elevation/shadow.js +28 -0
  37. package/dist/cjs/tokens/default/elevation/surface.js +42 -0
  38. package/dist/cjs/version.json +1 -1
  39. package/dist/es2019/artifacts/rename-mapping.js +321 -1
  40. package/dist/es2019/artifacts/token-default-values.js +196 -67
  41. package/dist/es2019/artifacts/token-names.js +196 -67
  42. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +3311 -616
  43. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +3296 -621
  44. package/dist/es2019/artifacts/types-internal.js +1 -0
  45. package/dist/es2019/get-token.js +8 -3
  46. package/dist/es2019/tokens/atlassian-dark/color/accent.js +150 -39
  47. package/dist/es2019/tokens/atlassian-dark/color/background.js +178 -154
  48. package/dist/es2019/tokens/atlassian-dark/color/border.js +26 -2
  49. package/dist/es2019/tokens/atlassian-dark/color/icon.js +42 -0
  50. package/dist/es2019/tokens/atlassian-dark/color/interaction.js +25 -0
  51. package/dist/es2019/tokens/atlassian-dark/color/text.js +25 -23
  52. package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +337 -0
  53. package/dist/es2019/tokens/atlassian-dark/elevation/shadow.js +59 -0
  54. package/dist/es2019/tokens/atlassian-dark/elevation/surface.js +19 -0
  55. package/dist/es2019/tokens/atlassian-light/color/accent.js +150 -39
  56. package/dist/es2019/tokens/atlassian-light/color/background.js +178 -154
  57. package/dist/es2019/tokens/atlassian-light/color/border.js +26 -2
  58. package/dist/es2019/tokens/atlassian-light/color/icon.js +42 -0
  59. package/dist/es2019/tokens/atlassian-light/color/interaction.js +25 -0
  60. package/dist/es2019/tokens/atlassian-light/color/text.js +25 -23
  61. package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +323 -0
  62. package/dist/es2019/tokens/atlassian-light/elevation/shadow.js +45 -0
  63. package/dist/es2019/tokens/atlassian-light/elevation/surface.js +19 -0
  64. package/dist/es2019/tokens/default/color/accent.js +306 -87
  65. package/dist/es2019/tokens/default/color/background.js +339 -314
  66. package/dist/es2019/tokens/default/color/border.js +60 -4
  67. package/dist/es2019/tokens/default/color/icon.js +86 -0
  68. package/dist/es2019/tokens/default/color/interaction.js +37 -0
  69. package/dist/es2019/tokens/default/color/text.js +37 -42
  70. package/dist/es2019/tokens/default/deprecated/deprecated.js +729 -0
  71. package/dist/es2019/tokens/default/elevation/shadow.js +23 -0
  72. package/dist/es2019/tokens/default/elevation/surface.js +37 -0
  73. package/dist/es2019/version.json +1 -1
  74. package/dist/esm/artifacts/rename-mapping.js +321 -1
  75. package/dist/esm/artifacts/token-default-values.js +196 -67
  76. package/dist/esm/artifacts/token-names.js +196 -67
  77. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +3311 -616
  78. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +3296 -621
  79. package/dist/esm/artifacts/types-internal.js +1 -0
  80. package/dist/esm/get-token.js +8 -3
  81. package/dist/esm/tokens/atlassian-dark/color/accent.js +150 -39
  82. package/dist/esm/tokens/atlassian-dark/color/background.js +178 -154
  83. package/dist/esm/tokens/atlassian-dark/color/border.js +26 -2
  84. package/dist/esm/tokens/atlassian-dark/color/icon.js +42 -0
  85. package/dist/esm/tokens/atlassian-dark/color/interaction.js +25 -0
  86. package/dist/esm/tokens/atlassian-dark/color/text.js +25 -23
  87. package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +337 -0
  88. package/dist/esm/tokens/atlassian-dark/elevation/shadow.js +59 -0
  89. package/dist/esm/tokens/atlassian-dark/elevation/surface.js +19 -0
  90. package/dist/esm/tokens/atlassian-light/color/accent.js +150 -39
  91. package/dist/esm/tokens/atlassian-light/color/background.js +178 -154
  92. package/dist/esm/tokens/atlassian-light/color/border.js +26 -2
  93. package/dist/esm/tokens/atlassian-light/color/icon.js +42 -0
  94. package/dist/esm/tokens/atlassian-light/color/interaction.js +25 -0
  95. package/dist/esm/tokens/atlassian-light/color/text.js +25 -23
  96. package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +323 -0
  97. package/dist/esm/tokens/atlassian-light/elevation/shadow.js +45 -0
  98. package/dist/esm/tokens/atlassian-light/elevation/surface.js +19 -0
  99. package/dist/esm/tokens/default/color/accent.js +306 -87
  100. package/dist/esm/tokens/default/color/background.js +339 -309
  101. package/dist/esm/tokens/default/color/border.js +60 -4
  102. package/dist/esm/tokens/default/color/icon.js +86 -0
  103. package/dist/esm/tokens/default/color/interaction.js +37 -0
  104. package/dist/esm/tokens/default/color/text.js +37 -35
  105. package/dist/esm/tokens/default/deprecated/deprecated.js +691 -0
  106. package/dist/esm/tokens/default/elevation/shadow.js +21 -0
  107. package/dist/esm/tokens/default/elevation/surface.js +35 -0
  108. package/dist/esm/version.json +1 -1
  109. package/dist/types/artifacts/token-default-values.d.ts +196 -67
  110. package/dist/types/artifacts/token-names.d.ts +392 -134
  111. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +86 -0
  112. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +62 -0
  113. package/dist/types/artifacts/types-internal.d.ts +4 -0
  114. package/dist/types/artifacts/types.d.ts +1 -1
  115. package/dist/types/get-token.d.ts +2 -2
  116. package/dist/types/tokens/atlassian-dark/color/icon.d.ts +3 -0
  117. package/dist/types/tokens/atlassian-dark/color/interaction.d.ts +3 -0
  118. package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +3 -0
  119. package/dist/types/tokens/atlassian-dark/{shadow → elevation}/shadow.d.ts +0 -0
  120. package/dist/types/tokens/atlassian-dark/elevation/surface.d.ts +3 -0
  121. package/dist/types/tokens/atlassian-light/color/icon.d.ts +3 -0
  122. package/dist/types/tokens/atlassian-light/color/interaction.d.ts +3 -0
  123. package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +3 -0
  124. package/dist/types/tokens/atlassian-light/{shadow → elevation}/shadow.d.ts +0 -0
  125. package/dist/types/tokens/atlassian-light/elevation/surface.d.ts +3 -0
  126. package/dist/types/tokens/default/color/icon.d.ts +3 -0
  127. package/dist/types/tokens/default/color/interaction.d.ts +3 -0
  128. package/dist/types/tokens/default/deprecated/deprecated.d.ts +3 -0
  129. package/dist/types/tokens/default/{shadow → elevation}/shadow.d.ts +0 -0
  130. package/dist/types/tokens/default/elevation/surface.d.ts +3 -0
  131. package/dist/types/tokens/default/utility/utility.d.ts +72 -72
  132. package/dist/types/types.d.ts +294 -54
  133. package/package.json +2 -1
  134. package/tokens-browser-extension/manifest.json +1 -2
  135. package/dist/cjs/tokens/atlassian-dark/color/icon-border.js +0 -29
  136. package/dist/cjs/tokens/atlassian-dark/color/overlay.js +0 -20
  137. package/dist/cjs/tokens/atlassian-dark/shadow/shadow.js +0 -64
  138. package/dist/cjs/tokens/atlassian-light/color/icon-border.js +0 -29
  139. package/dist/cjs/tokens/atlassian-light/color/overlay.js +0 -20
  140. package/dist/cjs/tokens/atlassian-light/shadow/shadow.js +0 -50
  141. package/dist/cjs/tokens/default/color/icon-border.js +0 -49
  142. package/dist/cjs/tokens/default/color/overlay.js +0 -28
  143. package/dist/cjs/tokens/default/shadow/shadow.js +0 -26
  144. package/dist/es2019/tokens/atlassian-dark/color/icon-border.js +0 -22
  145. package/dist/es2019/tokens/atlassian-dark/color/overlay.js +0 -13
  146. package/dist/es2019/tokens/atlassian-dark/shadow/shadow.js +0 -57
  147. package/dist/es2019/tokens/atlassian-light/color/icon-border.js +0 -22
  148. package/dist/es2019/tokens/atlassian-light/color/overlay.js +0 -13
  149. package/dist/es2019/tokens/atlassian-light/shadow/shadow.js +0 -43
  150. package/dist/es2019/tokens/default/color/icon-border.js +0 -60
  151. package/dist/es2019/tokens/default/color/overlay.js +0 -21
  152. package/dist/es2019/tokens/default/shadow/shadow.js +0 -27
  153. package/dist/esm/tokens/atlassian-dark/color/icon-border.js +0 -22
  154. package/dist/esm/tokens/atlassian-dark/color/overlay.js +0 -13
  155. package/dist/esm/tokens/atlassian-dark/shadow/shadow.js +0 -57
  156. package/dist/esm/tokens/atlassian-light/color/icon-border.js +0 -22
  157. package/dist/esm/tokens/atlassian-light/color/overlay.js +0 -13
  158. package/dist/esm/tokens/atlassian-light/shadow/shadow.js +0 -43
  159. package/dist/esm/tokens/default/color/icon-border.js +0 -42
  160. package/dist/esm/tokens/default/color/overlay.js +0 -21
  161. package/dist/esm/tokens/default/shadow/shadow.js +0 -19
  162. package/dist/types/tokens/atlassian-dark/color/icon-border.d.ts +0 -3
  163. package/dist/types/tokens/atlassian-dark/color/overlay.d.ts +0 -3
  164. package/dist/types/tokens/atlassian-light/color/icon-border.d.ts +0 -3
  165. package/dist/types/tokens/atlassian-light/color/overlay.d.ts +0 -3
  166. package/dist/types/tokens/default/color/icon-border.d.ts +0 -3
  167. package/dist/types/tokens/default/color/overlay.d.ts +0 -3
@@ -1,28 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var color = {
8
- color: {
9
- overlay: {
10
- hover: {
11
- attributes: {
12
- group: 'paint',
13
- state: 'active',
14
- description: 'Use as a background overlay for elements in a hover state when their background color cannot change, such as avatars.'
15
- }
16
- },
17
- pressed: {
18
- attributes: {
19
- group: 'paint',
20
- state: 'active',
21
- description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
22
- }
23
- }
24
- }
25
- }
26
- };
27
- var _default = color;
28
- exports.default = _default;
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var shadow = {
8
- shadow: {
9
- card: {
10
- attributes: {
11
- group: 'shadow',
12
- state: 'active',
13
- description: "\nUse for the box shadow of raised card elements, such as Jira cards on a Kanban board.\n\nCombine with background.overlay"
14
- }
15
- },
16
- overlay: {
17
- attributes: {
18
- group: 'shadow',
19
- state: 'active',
20
- description: "\nUse for the box shadow of overlay elements, such as modals, dropdown menus, flags, and inline dialogs (i.e. elements that sit on top of the UI).\n\nAlso use for the box shadow of raised cards in a dragged state.\n\nCombine with background.overlay"
21
- }
22
- }
23
- }
24
- };
25
- var _default = shadow;
26
- exports.default = _default;
@@ -1,22 +0,0 @@
1
- const color = {
2
- color: {
3
- iconBorder: {
4
- brand: {
5
- value: 'B500'
6
- },
7
- danger: {
8
- value: 'R500'
9
- },
10
- warning: {
11
- value: 'Y500'
12
- },
13
- success: {
14
- value: 'G500'
15
- },
16
- discovery: {
17
- value: 'P500'
18
- }
19
- }
20
- }
21
- };
22
- export default color;
@@ -1,13 +0,0 @@
1
- const color = {
2
- color: {
3
- overlay: {
4
- hover: {
5
- value: 'DN400A'
6
- },
7
- pressed: {
8
- value: 'DN500A'
9
- }
10
- }
11
- }
12
- };
13
- export default color;
@@ -1,57 +0,0 @@
1
- const shadow = {
2
- shadow: {
3
- card: {
4
- value: [{
5
- radius: 1,
6
- offset: {
7
- x: 0,
8
- y: 1
9
- },
10
- color: 'DN-100A',
11
- // This opacity overrides the color alpha.
12
- opacity: 0.5
13
- }, {
14
- radius: 1,
15
- offset: {
16
- x: 0,
17
- y: 0
18
- },
19
- color: 'DN-100A',
20
- // This opacity overrides the color alpha.
21
- opacity: 0.5
22
- }]
23
- },
24
- overlay: {
25
- value: [{
26
- radius: 0,
27
- spread: 1,
28
- color: 'DN100A',
29
- offset: {
30
- x: 0,
31
- y: 0
32
- },
33
- opacity: 0.04,
34
- inset: true
35
- }, {
36
- radius: 12,
37
- offset: {
38
- x: 0,
39
- y: 8
40
- },
41
- color: 'DN-100A',
42
- // This opacity overrides the color alpha.
43
- opacity: 0.36
44
- }, {
45
- radius: 1,
46
- offset: {
47
- x: 0,
48
- y: 0
49
- },
50
- color: 'DN-100A',
51
- // This opacity overrides the color alpha.
52
- opacity: 0.5
53
- }]
54
- }
55
- }
56
- };
57
- export default shadow;
@@ -1,22 +0,0 @@
1
- const color = {
2
- color: {
3
- iconBorder: {
4
- brand: {
5
- value: 'B600'
6
- },
7
- danger: {
8
- value: 'R600'
9
- },
10
- warning: {
11
- value: 'O600'
12
- },
13
- success: {
14
- value: 'G600'
15
- },
16
- discovery: {
17
- value: 'P600'
18
- }
19
- }
20
- }
21
- };
22
- export default color;
@@ -1,13 +0,0 @@
1
- const color = {
2
- color: {
3
- overlay: {
4
- hover: {
5
- value: 'N400A'
6
- },
7
- pressed: {
8
- value: 'N500A'
9
- }
10
- }
11
- }
12
- };
13
- export default color;
@@ -1,43 +0,0 @@
1
- const shadow = {
2
- shadow: {
3
- card: {
4
- value: [{
5
- radius: 1,
6
- offset: {
7
- x: 0,
8
- y: 1
9
- },
10
- color: 'N1100',
11
- opacity: 0.25
12
- }, {
13
- radius: 1,
14
- offset: {
15
- x: 0,
16
- y: 0
17
- },
18
- color: 'N1100',
19
- opacity: 0.31
20
- }]
21
- },
22
- overlay: {
23
- value: [{
24
- radius: 12,
25
- offset: {
26
- x: 0,
27
- y: 8
28
- },
29
- color: 'N1100',
30
- opacity: 0.15
31
- }, {
32
- radius: 1,
33
- offset: {
34
- x: 0,
35
- y: 0
36
- },
37
- color: 'N1100',
38
- opacity: 0.31
39
- }]
40
- }
41
- }
42
- };
43
- export default shadow;
@@ -1,60 +0,0 @@
1
- const color = {
2
- color: {
3
- iconBorder: {
4
- brand: {
5
- attributes: {
6
- group: 'paint',
7
- state: 'active',
8
- description: `
9
- Use rarely for icons or borders representing brand, in-progress, or information, such as the icons in information sections messages.
10
-
11
- Also use for blue icons or borders when there is no meaning tied to the color, such as file type icons.`
12
- }
13
- },
14
- danger: {
15
- attributes: {
16
- group: 'paint',
17
- state: 'active',
18
- description: `
19
- Use rarely for icons and borders representing critical information, such the icons in error section messages or the borders on invalid text fields.
20
-
21
- Also use for red icons or borders when there is no meaning tied to the color, such as file type icons.`
22
- }
23
- },
24
- warning: {
25
- attributes: {
26
- group: 'paint',
27
- state: 'active',
28
- description: `
29
- Use rarely for icons and borders representing semi-urgent information, such as the icons in warning section messages.
30
-
31
- Also use for yellow icons or borders when there is no meaning tied to the color, such as file type icons.
32
- `
33
- }
34
- },
35
- success: {
36
- attributes: {
37
- group: 'paint',
38
- state: 'active',
39
- description: `
40
- Use rarely for icons and borders representing positive information, such as the icons in success section messages or the borders on validated text fields.
41
-
42
- Also use for green icons or borders when there is no meaning tied to the color, such as file type icons.
43
- `
44
- }
45
- },
46
- discovery: {
47
- attributes: {
48
- group: 'paint',
49
- state: 'active',
50
- description: `
51
- Use rarely for icons and borders representing new information, such as the icons in discovery section mesages or the borders in onboarding spotlights.
52
-
53
- Also use for purple icons or borders when there is no meaning tied to the color, such as file type icons.
54
- `
55
- }
56
- }
57
- }
58
- }
59
- };
60
- export default color;
@@ -1,21 +0,0 @@
1
- const color = {
2
- color: {
3
- overlay: {
4
- hover: {
5
- attributes: {
6
- group: 'paint',
7
- state: 'active',
8
- description: 'Use as a background overlay for elements in a hover state when their background color cannot change, such as avatars.'
9
- }
10
- },
11
- pressed: {
12
- attributes: {
13
- group: 'paint',
14
- state: 'active',
15
- description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
16
- }
17
- }
18
- }
19
- }
20
- };
21
- export default color;
@@ -1,27 +0,0 @@
1
- const shadow = {
2
- shadow: {
3
- card: {
4
- attributes: {
5
- group: 'shadow',
6
- state: 'active',
7
- description: `
8
- Use for the box shadow of raised card elements, such as Jira cards on a Kanban board.
9
-
10
- Combine with background.overlay`
11
- }
12
- },
13
- overlay: {
14
- attributes: {
15
- group: 'shadow',
16
- state: 'active',
17
- description: `
18
- Use for the box shadow of overlay elements, such as modals, dropdown menus, flags, and inline dialogs (i.e. elements that sit on top of the UI).
19
-
20
- Also use for the box shadow of raised cards in a dragged state.
21
-
22
- Combine with background.overlay`
23
- }
24
- }
25
- }
26
- };
27
- export default shadow;
@@ -1,22 +0,0 @@
1
- var color = {
2
- color: {
3
- iconBorder: {
4
- brand: {
5
- value: 'B500'
6
- },
7
- danger: {
8
- value: 'R500'
9
- },
10
- warning: {
11
- value: 'Y500'
12
- },
13
- success: {
14
- value: 'G500'
15
- },
16
- discovery: {
17
- value: 'P500'
18
- }
19
- }
20
- }
21
- };
22
- export default color;
@@ -1,13 +0,0 @@
1
- var color = {
2
- color: {
3
- overlay: {
4
- hover: {
5
- value: 'DN400A'
6
- },
7
- pressed: {
8
- value: 'DN500A'
9
- }
10
- }
11
- }
12
- };
13
- export default color;
@@ -1,57 +0,0 @@
1
- var shadow = {
2
- shadow: {
3
- card: {
4
- value: [{
5
- radius: 1,
6
- offset: {
7
- x: 0,
8
- y: 1
9
- },
10
- color: 'DN-100A',
11
- // This opacity overrides the color alpha.
12
- opacity: 0.5
13
- }, {
14
- radius: 1,
15
- offset: {
16
- x: 0,
17
- y: 0
18
- },
19
- color: 'DN-100A',
20
- // This opacity overrides the color alpha.
21
- opacity: 0.5
22
- }]
23
- },
24
- overlay: {
25
- value: [{
26
- radius: 0,
27
- spread: 1,
28
- color: 'DN100A',
29
- offset: {
30
- x: 0,
31
- y: 0
32
- },
33
- opacity: 0.04,
34
- inset: true
35
- }, {
36
- radius: 12,
37
- offset: {
38
- x: 0,
39
- y: 8
40
- },
41
- color: 'DN-100A',
42
- // This opacity overrides the color alpha.
43
- opacity: 0.36
44
- }, {
45
- radius: 1,
46
- offset: {
47
- x: 0,
48
- y: 0
49
- },
50
- color: 'DN-100A',
51
- // This opacity overrides the color alpha.
52
- opacity: 0.5
53
- }]
54
- }
55
- }
56
- };
57
- export default shadow;
@@ -1,22 +0,0 @@
1
- var color = {
2
- color: {
3
- iconBorder: {
4
- brand: {
5
- value: 'B600'
6
- },
7
- danger: {
8
- value: 'R600'
9
- },
10
- warning: {
11
- value: 'O600'
12
- },
13
- success: {
14
- value: 'G600'
15
- },
16
- discovery: {
17
- value: 'P600'
18
- }
19
- }
20
- }
21
- };
22
- export default color;
@@ -1,13 +0,0 @@
1
- var color = {
2
- color: {
3
- overlay: {
4
- hover: {
5
- value: 'N400A'
6
- },
7
- pressed: {
8
- value: 'N500A'
9
- }
10
- }
11
- }
12
- };
13
- export default color;
@@ -1,43 +0,0 @@
1
- var shadow = {
2
- shadow: {
3
- card: {
4
- value: [{
5
- radius: 1,
6
- offset: {
7
- x: 0,
8
- y: 1
9
- },
10
- color: 'N1100',
11
- opacity: 0.25
12
- }, {
13
- radius: 1,
14
- offset: {
15
- x: 0,
16
- y: 0
17
- },
18
- color: 'N1100',
19
- opacity: 0.31
20
- }]
21
- },
22
- overlay: {
23
- value: [{
24
- radius: 12,
25
- offset: {
26
- x: 0,
27
- y: 8
28
- },
29
- color: 'N1100',
30
- opacity: 0.15
31
- }, {
32
- radius: 1,
33
- offset: {
34
- x: 0,
35
- y: 0
36
- },
37
- color: 'N1100',
38
- opacity: 0.31
39
- }]
40
- }
41
- }
42
- };
43
- export default shadow;
@@ -1,42 +0,0 @@
1
- var color = {
2
- color: {
3
- iconBorder: {
4
- brand: {
5
- attributes: {
6
- group: 'paint',
7
- state: 'active',
8
- description: "\nUse rarely for icons or borders representing brand, in-progress, or information, such as the icons in information sections messages.\n\nAlso use for blue icons or borders when there is no meaning tied to the color, such as file type icons."
9
- }
10
- },
11
- danger: {
12
- attributes: {
13
- group: 'paint',
14
- state: 'active',
15
- description: "\nUse rarely for icons and borders representing critical information, such the icons in error section messages or the borders on invalid text fields.\n\nAlso use for red icons or borders when there is no meaning tied to the color, such as file type icons."
16
- }
17
- },
18
- warning: {
19
- attributes: {
20
- group: 'paint',
21
- state: 'active',
22
- description: "\nUse rarely for icons and borders representing semi-urgent information, such as the icons in warning section messages.\n\nAlso use for yellow icons or borders when there is no meaning tied to the color, such as file type icons.\n"
23
- }
24
- },
25
- success: {
26
- attributes: {
27
- group: 'paint',
28
- state: 'active',
29
- description: "\nUse rarely for icons and borders representing positive information, such as the icons in success section messages or the borders on validated text fields.\n\nAlso use for green icons or borders when there is no meaning tied to the color, such as file type icons.\n"
30
- }
31
- },
32
- discovery: {
33
- attributes: {
34
- group: 'paint',
35
- state: 'active',
36
- description: "\nUse rarely for icons and borders representing new information, such as the icons in discovery section mesages or the borders in onboarding spotlights.\n\nAlso use for purple icons or borders when there is no meaning tied to the color, such as file type icons.\n"
37
- }
38
- }
39
- }
40
- }
41
- };
42
- export default color;
@@ -1,21 +0,0 @@
1
- var color = {
2
- color: {
3
- overlay: {
4
- hover: {
5
- attributes: {
6
- group: 'paint',
7
- state: 'active',
8
- description: 'Use as a background overlay for elements in a hover state when their background color cannot change, such as avatars.'
9
- }
10
- },
11
- pressed: {
12
- attributes: {
13
- group: 'paint',
14
- state: 'active',
15
- description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
16
- }
17
- }
18
- }
19
- }
20
- };
21
- export default color;
@@ -1,19 +0,0 @@
1
- var shadow = {
2
- shadow: {
3
- card: {
4
- attributes: {
5
- group: 'shadow',
6
- state: 'active',
7
- description: "\nUse for the box shadow of raised card elements, such as Jira cards on a Kanban board.\n\nCombine with background.overlay"
8
- }
9
- },
10
- overlay: {
11
- attributes: {
12
- group: 'shadow',
13
- state: 'active',
14
- description: "\nUse for the box shadow of overlay elements, such as modals, dropdown menus, flags, and inline dialogs (i.e. elements that sit on top of the UI).\n\nAlso use for the box shadow of raised cards in a dragged state.\n\nCombine with background.overlay"
15
- }
16
- }
17
- }
18
- };
19
- export default shadow;
@@ -1,3 +0,0 @@
1
- import type { IconBorderColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<IconBorderColorTokenSchema>;
3
- export default color;
@@ -1,3 +0,0 @@
1
- import type { OverlayColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<OverlayColorTokenSchema>;
3
- export default color;
@@ -1,3 +0,0 @@
1
- import type { IconBorderColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<IconBorderColorTokenSchema>;
3
- export default color;
@@ -1,3 +0,0 @@
1
- import type { OverlayColorTokenSchema, ValueSchema } from '../../../types';
2
- declare const color: ValueSchema<OverlayColorTokenSchema>;
3
- export default color;
@@ -1,3 +0,0 @@
1
- import type { AttributeSchema, IconBorderColorTokenSchema } from '../../../types';
2
- declare const color: AttributeSchema<IconBorderColorTokenSchema>;
3
- export default color;
@@ -1,3 +0,0 @@
1
- import type { AttributeSchema, OverlayColorTokenSchema } from '../../../types';
2
- declare const color: AttributeSchema<OverlayColorTokenSchema>;
3
- export default color;