@atlaskit/tokens 0.4.1 → 0.6.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.
Files changed (179) hide show
  1. package/CHANGELOG.md +31 -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 +322 -2
  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 +322 -2
  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 +322 -2
  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/rename-mapping.d.ts +7 -3
  110. package/dist/types/artifacts/token-default-values.d.ts +196 -67
  111. package/dist/types/artifacts/token-names.d.ts +392 -134
  112. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +86 -0
  113. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +62 -0
  114. package/dist/types/artifacts/types-internal.d.ts +4 -0
  115. package/dist/types/artifacts/types.d.ts +1 -1
  116. package/dist/types/get-token.d.ts +2 -2
  117. package/dist/types/tokens/atlassian-dark/color/icon.d.ts +3 -0
  118. package/dist/types/tokens/atlassian-dark/color/interaction.d.ts +3 -0
  119. package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +3 -0
  120. package/dist/types/tokens/atlassian-dark/{shadow → elevation}/shadow.d.ts +0 -0
  121. package/dist/types/tokens/atlassian-dark/elevation/surface.d.ts +3 -0
  122. package/dist/types/tokens/atlassian-light/color/icon.d.ts +3 -0
  123. package/dist/types/tokens/atlassian-light/color/interaction.d.ts +3 -0
  124. package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +3 -0
  125. package/dist/types/tokens/atlassian-light/{shadow → elevation}/shadow.d.ts +0 -0
  126. package/dist/types/tokens/atlassian-light/elevation/surface.d.ts +3 -0
  127. package/dist/types/tokens/default/color/icon.d.ts +3 -0
  128. package/dist/types/tokens/default/color/interaction.d.ts +3 -0
  129. package/dist/types/tokens/default/deprecated/deprecated.d.ts +3 -0
  130. package/dist/types/tokens/default/{shadow → elevation}/shadow.d.ts +0 -0
  131. package/dist/types/tokens/default/elevation/surface.d.ts +3 -0
  132. package/dist/types/tokens/default/utility/utility.d.ts +72 -72
  133. package/dist/types/types.d.ts +294 -54
  134. package/package.json +18 -8
  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
  168. package/tokens-browser-extension/README.md +0 -28
  169. package/tokens-browser-extension/atlassian-theme.css +0 -449
  170. package/tokens-browser-extension/background.js +0 -75
  171. package/tokens-browser-extension/content-script.js +0 -75
  172. package/tokens-browser-extension/devtools.html +0 -1
  173. package/tokens-browser-extension/devtools.js +0 -14
  174. package/tokens-browser-extension/manifest.json +0 -36
  175. package/tokens-browser-extension/messageback-script.js +0 -10
  176. package/tokens-browser-extension/messaging.js +0 -36
  177. package/tokens-browser-extension/panel.html +0 -25
  178. package/tokens-browser-extension/panel.js +0 -46
  179. package/tokens-browser-extension/toast.png +0 -0
@@ -1,18 +1,74 @@
1
1
  const color = {
2
2
  color: {
3
3
  border: {
4
- focus: {
4
+ '[default]': {
5
5
  attributes: {
6
6
  group: 'paint',
7
7
  state: 'active',
8
- description: 'Use for focus rings of elements in a focus state'
8
+ description: 'Use to visually group or separate UI elements, such as flat cards or side panel dividers.'
9
9
  }
10
10
  },
11
- neutral: {
11
+ focused: {
12
12
  attributes: {
13
13
  group: 'paint',
14
14
  state: 'active',
15
- description: 'Use to create borders around UI elements such as text fields, checkboxes, and radio buttons, or to visually group or separate UI elements, such as flat cards or side panel dividers'
15
+ description: 'Use for focus rings of elements in a focus state.'
16
+ }
17
+ },
18
+ input: {
19
+ attributes: {
20
+ group: 'paint',
21
+ state: 'active',
22
+ description: 'Use for borders of form UI elements, such as text fields, checkboxes, and radio buttons.'
23
+ }
24
+ },
25
+ disabled: {
26
+ attributes: {
27
+ group: 'paint',
28
+ state: 'active',
29
+ description: 'Use for borders of elements in a disabled state.'
30
+ }
31
+ },
32
+ brand: {
33
+ attributes: {
34
+ group: 'paint',
35
+ state: 'active',
36
+ description: 'Use for borders or visual indicators of elements in a selected or opened state, such as in tabs or menu items.'
37
+ }
38
+ },
39
+ danger: {
40
+ attributes: {
41
+ group: 'paint',
42
+ state: 'active',
43
+ description: 'Use for borders communicating critical information, such as the borders on invalid text fields.'
44
+ }
45
+ },
46
+ warning: {
47
+ attributes: {
48
+ group: 'paint',
49
+ state: 'active',
50
+ description: 'Use for borders communicating caution.'
51
+ }
52
+ },
53
+ success: {
54
+ attributes: {
55
+ group: 'paint',
56
+ state: 'active',
57
+ description: 'Use for borders communicating a favourable outcome, such as the borders on validated text fields.'
58
+ }
59
+ },
60
+ discovery: {
61
+ attributes: {
62
+ group: 'paint',
63
+ state: 'active',
64
+ description: 'Use for borders communicating change or something new, such as the borders in onboarding spotlights.'
65
+ }
66
+ },
67
+ information: {
68
+ attributes: {
69
+ group: 'paint',
70
+ state: 'active',
71
+ description: 'Use for borders communicating information or something in-progress.'
16
72
  }
17
73
  }
18
74
  }
@@ -0,0 +1,86 @@
1
+ const color = {
2
+ color: {
3
+ icon: {
4
+ '[default]': {
5
+ attributes: {
6
+ group: 'paint',
7
+ state: 'active',
8
+ description: 'Use for icon-only buttons, or icons paired with color.text'
9
+ }
10
+ },
11
+ subtle: {
12
+ attributes: {
13
+ group: 'paint',
14
+ state: 'active',
15
+ description: 'Use for icons paired with color.text.subtle'
16
+ }
17
+ },
18
+ inverse: {
19
+ attributes: {
20
+ group: 'paint',
21
+ state: 'active',
22
+ description: 'Use for icons on bold backgrounds.'
23
+ }
24
+ },
25
+ disabled: {
26
+ attributes: {
27
+ group: 'paint',
28
+ state: 'active',
29
+ description: 'Use for icons in a disabled state.'
30
+ }
31
+ },
32
+ brand: {
33
+ attributes: {
34
+ group: 'paint',
35
+ state: 'active',
36
+ description: 'Use for icons in selected or opened states, such as those used in dropdown buttons.'
37
+ }
38
+ },
39
+ danger: {
40
+ attributes: {
41
+ group: 'paint',
42
+ state: 'active',
43
+ description: 'Use for icons communicating critical informaton, such as those used in error handing.'
44
+ }
45
+ },
46
+ warning: {
47
+ '[default]': {
48
+ attributes: {
49
+ group: 'paint',
50
+ state: 'active',
51
+ description: 'Use for icons communicating caution, such as those used in warning section messages.'
52
+ }
53
+ },
54
+ inverse: {
55
+ attributes: {
56
+ group: 'paint',
57
+ state: 'active',
58
+ description: 'Use for icons when on bold warning backgrounds.'
59
+ }
60
+ }
61
+ },
62
+ success: {
63
+ attributes: {
64
+ group: 'paint',
65
+ state: 'active',
66
+ description: 'Use for icons communicating a favourable outcome, such as those used in success section messaged.'
67
+ }
68
+ },
69
+ discovery: {
70
+ attributes: {
71
+ group: 'paint',
72
+ state: 'active',
73
+ description: 'Use for icons communicating change or something new, such as discovery section messages.'
74
+ }
75
+ },
76
+ information: {
77
+ attributes: {
78
+ group: 'paint',
79
+ state: 'active',
80
+ description: 'Use for icons communicating information or something in-progress, such as information section messages.'
81
+ }
82
+ }
83
+ }
84
+ }
85
+ };
86
+ export default color;
@@ -0,0 +1,37 @@
1
+ const color = {
2
+ color: {
3
+ interaction: {
4
+ hovered: {
5
+ attributes: {
6
+ group: 'paint',
7
+ state: 'active',
8
+ description: 'Use as a background overlay for elements in a hovered 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
+ inverse: {
19
+ hovered: {
20
+ attributes: {
21
+ group: 'paint',
22
+ state: 'active',
23
+ description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.'
24
+ }
25
+ },
26
+ pressed: {
27
+ attributes: {
28
+ group: 'paint',
29
+ state: 'active',
30
+ description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.'
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
36
+ };
37
+ export default color;
@@ -1,111 +1,106 @@
1
1
  const color = {
2
2
  color: {
3
3
  text: {
4
- selected: {
4
+ '[default]': {
5
5
  attributes: {
6
6
  group: 'paint',
7
7
  state: 'active',
8
- description: 'Use for text, icons, borders, or other visual indicators in selected states'
8
+ description: 'Use for primary text, such as body copy, sentence case headers, and buttons.'
9
9
  }
10
10
  },
11
- highEmphasis: {
11
+ subtle: {
12
12
  attributes: {
13
13
  group: 'paint',
14
14
  state: 'active',
15
- description: 'Use for primary text, such as body copy, sentence case headers, and buttons'
15
+ description: 'Use for secondary text, such as navigation, subtle button links, input field labels, and all caps subheadings.'
16
16
  }
17
17
  },
18
- mediumEmphasis: {
18
+ subtlest: {
19
19
  attributes: {
20
20
  group: 'paint',
21
21
  state: 'active',
22
- description: `
23
- Use for secondary text, such navigation, subtle button links, input field labels, and all caps subheadings.
24
-
25
- Use for icon-only buttons, or icons paired with text.highEmphasis text
26
- `
22
+ description: 'Use for tertiary text, such as meta-data, breadcrumbs, input field placeholder and helper text.'
27
23
  }
28
24
  },
29
- lowEmphasis: {
25
+ disabled: {
26
+ attributes: {
27
+ group: 'paint',
28
+ state: 'active',
29
+ description: 'Use for text in a disabled state.'
30
+ }
31
+ },
32
+ inverse: {
30
33
  attributes: {
31
34
  group: 'paint',
32
35
  state: 'active',
33
- description: `
34
- Use for tertiary text, such as meta-data, breadcrumbs, input field placeholder and helper text.
35
-
36
- Use for icons that are paired with text.medEmphasis text`
36
+ description: 'Use for text on bold backgrounds.'
37
37
  }
38
38
  },
39
- onBold: {
39
+ brand: {
40
40
  attributes: {
41
41
  group: 'paint',
42
42
  state: 'active',
43
- description: 'Use for text and icons when on bold backgrounds'
43
+ description: 'Use for text in selected or opened states, such as tabs and dropdown buttons.'
44
44
  }
45
45
  },
46
- onBoldWarning: {
46
+ danger: {
47
47
  attributes: {
48
48
  group: 'paint',
49
49
  state: 'active',
50
- description: 'Use for text and icons when on bold warning backgrounds'
50
+ description: 'Use for critical text, such as input field error messaging.'
51
51
  }
52
52
  },
53
- link: {
54
- resting: {
53
+ warning: {
54
+ '[default]': {
55
55
  attributes: {
56
56
  group: 'paint',
57
57
  state: 'active',
58
- description: 'Use for links in a resting or hover state. Add an underline for hover states'
58
+ description: 'Use for text to emphasize caution, such as in moved lozenges.'
59
59
  }
60
60
  },
61
- pressed: {
61
+ inverse: {
62
62
  attributes: {
63
63
  group: 'paint',
64
64
  state: 'active',
65
- description: 'Use for links in a pressed state'
65
+ description: 'Use for text when on bold warning backgrounds.'
66
66
  }
67
67
  }
68
68
  },
69
- brand: {
70
- attributes: {
71
- group: 'paint',
72
- state: 'active',
73
- description: 'Use rarely for text on subtle brand backgrounds, such as in progress lozenges, or on subtle blue accent backgrounds, such as colored tags.'
74
- }
75
- },
76
- warning: {
69
+ success: {
77
70
  attributes: {
78
71
  group: 'paint',
79
72
  state: 'active',
80
- description: 'Use rarely for text on subtle warning backgrounds, such as in lozenges, or text on subtle warning backgrounds, such as in moved lozenges'
73
+ description: 'Use for text to communicate a favourable outcome, such as input field success messaging.'
81
74
  }
82
75
  },
83
- danger: {
76
+ discovery: {
84
77
  attributes: {
85
78
  group: 'paint',
86
79
  state: 'active',
87
- description: 'Use rarely for critical text, such as input field error messaging, or text on subtle danger backgrounds, such as in removed lozenges, or text on subtle red accent backgrounds, such as colored tags.'
80
+ description: 'Use for text to emphasize change or something new, such as in new lozenges.'
88
81
  }
89
82
  },
90
- success: {
83
+ information: {
91
84
  attributes: {
92
85
  group: 'paint',
93
86
  state: 'active',
94
- description: 'Use rarely for positive text, such as input field success messaging, or text on subtle success backgrounds, such as in success lozenges, or text on subtle green accent backgrounds, such as colored tags.'
87
+ description: 'Use for informative text or to communicate something is in progress, such as in-progress lozenges.'
95
88
  }
96
- },
97
- discovery: {
89
+ }
90
+ },
91
+ link: {
92
+ '[default]': {
98
93
  attributes: {
99
94
  group: 'paint',
100
95
  state: 'active',
101
- description: 'Use rarely for text on subtle discovery backgrounds, such as in new lozenges, or text on subtle purple accent backgrounds, such as colored tags.'
96
+ description: 'Use for links in a default or hovered state. Add an underline for hovered states.'
102
97
  }
103
98
  },
104
- disabled: {
99
+ pressed: {
105
100
  attributes: {
106
101
  group: 'paint',
107
102
  state: 'active',
108
- description: 'Use for text and icons in disabled states'
103
+ description: 'Use for links in a pressed state.'
109
104
  }
110
105
  }
111
106
  }