@openedx/paragon 23.0.0-alpha.3 → 23.0.0-alpha.5

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 (258) hide show
  1. package/bin/paragon-scripts.js +10 -0
  2. package/dist/Annotation/index.scss +16 -0
  3. package/dist/Card/CardDeck.js +0 -2
  4. package/dist/Card/CardDeck.js.map +1 -1
  5. package/dist/Card/index.scss +8 -6
  6. package/dist/Carousel/index.scss +24 -1
  7. package/dist/Chip/ChipIcon.d.ts +1 -1
  8. package/dist/CloseButton/index.scss +8 -0
  9. package/dist/ColorPicker/index.scss +1 -1
  10. package/dist/Container/index.d.ts +16 -0
  11. package/dist/Container/index.js +15 -13
  12. package/dist/Container/index.js.map +1 -1
  13. package/dist/DataTable/index.scss +12 -0
  14. package/dist/Dropdown/dropdown-bootstrap.scss +6 -0
  15. package/dist/Dropzone/index.scss +34 -0
  16. package/dist/Form/_FormText.scss +1 -1
  17. package/dist/Form/_bootstrap-custom-forms.scss +40 -0
  18. package/dist/Form/_index.scss +9 -0
  19. package/dist/Form/_mixins.scss +22 -0
  20. package/dist/IconButton/index.d.ts +1 -1
  21. package/dist/IconButton/index.js +1 -1
  22. package/dist/IconButton/index.js.map +1 -1
  23. package/dist/IconButton/index.scss +146 -0
  24. package/dist/Menu/SelectMenu.js +9 -4
  25. package/dist/Menu/SelectMenu.js.map +1 -1
  26. package/dist/Menu/index.scss +8 -0
  27. package/dist/Modal/ModalContext.d.ts +15 -0
  28. package/dist/Modal/ModalContext.js +7 -14
  29. package/dist/Modal/ModalContext.js.map +1 -1
  30. package/dist/Modal/ModalDialog.d.ts +110 -0
  31. package/dist/Modal/ModalDialog.js +30 -24
  32. package/dist/Modal/ModalDialog.js.map +1 -1
  33. package/dist/Modal/ModalDialogHeader.d.ts +10 -0
  34. package/dist/Modal/ModalDialogHeader.js +6 -7
  35. package/dist/Modal/ModalDialogHeader.js.map +1 -1
  36. package/dist/Modal/ModalLayer.d.ts +53 -0
  37. package/dist/Modal/ModalLayer.js +5 -14
  38. package/dist/Modal/ModalLayer.js.map +1 -1
  39. package/dist/Modal/Portal.d.ts +11 -0
  40. package/dist/Modal/Portal.js +5 -6
  41. package/dist/Modal/Portal.js.map +1 -1
  42. package/dist/Modal/_ModalDialog.scss +22 -2
  43. package/dist/Nav/index.scss +8 -0
  44. package/dist/Overlay/index.d.ts +2 -2
  45. package/dist/PageBanner/index.scss +2 -2
  46. package/dist/Pagination/pagination-bootstrap.scss +9 -0
  47. package/dist/Popover/index.scss +1 -1
  48. package/dist/ProductTour/Checkpoint.scss +1 -1
  49. package/dist/ProgressBar/bootstrap-progress.scss +20 -5
  50. package/dist/ProgressBar/index.scss +3 -3
  51. package/dist/Stepper/index.scss +1 -1
  52. package/dist/Sticky/index.scss +12 -0
  53. package/dist/Toast/index.scss +13 -1
  54. package/dist/Tooltip/index.scss +16 -0
  55. package/dist/core.css +913 -470
  56. package/dist/core.css.map +1 -1
  57. package/dist/core.min.css +1 -1
  58. package/dist/hooks/useArrowKeyNavigation.js +2 -3
  59. package/dist/hooks/useArrowKeyNavigation.js.map +1 -1
  60. package/dist/index.d.ts +19 -5
  61. package/dist/index.js +5 -5
  62. package/dist/light.css +2035 -1315
  63. package/dist/light.css.map +1 -1
  64. package/dist/light.min.css +1 -1
  65. package/icons/es5/Newsstand.js +15 -0
  66. package/icons/es5/index.js +1 -0
  67. package/icons/es5/index.ts +1 -0
  68. package/icons/jsx/Newsstand.jsx +17 -0
  69. package/icons/jsx/index.jsx +1 -0
  70. package/icons/svg/newsstand.svg +1 -0
  71. package/lib/build-tokens.js +67 -31
  72. package/package.json +8 -5
  73. package/src/Annotation/index.scss +16 -0
  74. package/src/Card/CardDeck.jsx +0 -3
  75. package/src/Card/README.md +0 -31
  76. package/src/Card/index.scss +8 -6
  77. package/src/Carousel/index.scss +24 -1
  78. package/src/CloseButton/index.scss +8 -0
  79. package/src/ColorPicker/index.scss +1 -1
  80. package/src/Container/{Container.test.jsx → Container.test.tsx} +14 -8
  81. package/src/Container/README.md +4 -0
  82. package/src/Container/index.tsx +64 -0
  83. package/src/DataTable/index.scss +12 -0
  84. package/src/DataTable/selection/tests/ControlledSelectHeader.test.jsx +7 -7
  85. package/src/Dropdown/dropdown-bootstrap.scss +6 -0
  86. package/src/Dropzone/index.scss +34 -0
  87. package/src/Form/_FormText.scss +1 -1
  88. package/src/Form/_bootstrap-custom-forms.scss +40 -0
  89. package/src/Form/_index.scss +9 -0
  90. package/src/Form/_mixins.scss +22 -0
  91. package/src/IconButton/index.scss +146 -0
  92. package/src/IconButton/index.tsx +1 -1
  93. package/src/Menu/SelectMenu.jsx +5 -0
  94. package/src/Menu/SelectMenu.test.jsx +6 -0
  95. package/src/Menu/index.scss +8 -0
  96. package/src/Menu/select-menu.md +8 -0
  97. package/src/Modal/{ModalContext.jsx → ModalContext.tsx} +19 -16
  98. package/src/Modal/{ModalDialog.jsx → ModalDialog.tsx} +57 -26
  99. package/src/Modal/{ModalDialogHeader.jsx → ModalDialogHeader.tsx} +17 -11
  100. package/src/Modal/{ModalLayer.jsx → ModalLayer.tsx} +17 -17
  101. package/src/Modal/{Portal.jsx → Portal.tsx} +10 -7
  102. package/src/Modal/_ModalDialog.scss +22 -2
  103. package/src/Modal/modal-dialog.mdx +95 -6
  104. package/src/Modal/tests/{ModalDialog.test.jsx → ModalDialog.test.tsx} +18 -10
  105. package/src/Modal/tests/{ModalLayer.test.jsx → ModalLayer.test.tsx} +5 -5
  106. package/src/Modal/tests/{Portal.test.jsx → Portal.test.tsx} +3 -3
  107. package/src/Nav/index.scss +8 -0
  108. package/src/PageBanner/index.scss +2 -2
  109. package/src/Pagination/pagination-bootstrap.scss +9 -0
  110. package/src/Popover/index.scss +1 -1
  111. package/src/ProductTour/Checkpoint.scss +1 -1
  112. package/src/ProgressBar/bootstrap-progress.scss +20 -5
  113. package/src/ProgressBar/index.scss +3 -3
  114. package/src/Stepper/index.scss +1 -1
  115. package/src/Sticky/index.scss +12 -0
  116. package/src/Toast/index.scss +13 -1
  117. package/src/Tooltip/index.scss +16 -0
  118. package/src/hooks/useArrowKeyNavigation.jsx +1 -2
  119. package/src/index.d.ts +19 -5
  120. package/src/index.js +5 -5
  121. package/styles/css/core/abstraction-variables.css +44 -0
  122. package/styles/css/core/custom-media-breakpoints.css +3 -4
  123. package/styles/css/core/index.css +2 -1
  124. package/styles/css/core/variables.css +494 -430
  125. package/styles/css/themes/light/abstraction-variables.css +304 -0
  126. package/styles/css/themes/light/index.css +1 -0
  127. package/styles/css/themes/light/utility-classes.css +2 -3
  128. package/styles/css/themes/light/variables.css +1753 -1334
  129. package/styles/scss/core/_typography.scss +16 -4
  130. package/styles/scss/core/_utilities.scss +7 -3
  131. package/styles/scss/core/_variables.scss +43 -30
  132. package/styles/scss/core/core.scss +1 -0
  133. package/tokens/src/core/alias/size.json +6 -5
  134. package/tokens/src/core/components/ActionRow.json +3 -2
  135. package/tokens/src/core/components/Alert.json +12 -10
  136. package/tokens/src/core/components/Annotation.json +9 -7
  137. package/tokens/src/core/components/Avatar.json +9 -9
  138. package/tokens/src/core/components/AvatarButton.json +4 -3
  139. package/tokens/src/core/components/Badge.json +12 -9
  140. package/tokens/src/core/components/Breadcrumb.json +7 -5
  141. package/tokens/src/core/components/Bubble.json +4 -3
  142. package/tokens/src/core/components/Button/core.json +35 -59
  143. package/tokens/src/core/components/Card.json +33 -44
  144. package/tokens/src/core/components/Carousel.json +39 -13
  145. package/tokens/src/core/components/Chip.json +13 -21
  146. package/tokens/src/core/components/ChipCarousel.json +4 -5
  147. package/tokens/src/core/components/CloseButton.json +2 -6
  148. package/tokens/src/core/components/Code.json +9 -8
  149. package/tokens/src/core/components/Collapsible.json +10 -13
  150. package/tokens/src/core/components/ColorPicker.json +3 -2
  151. package/tokens/src/core/components/Container.json +6 -5
  152. package/tokens/src/core/components/DataTable.json +17 -9
  153. package/tokens/src/core/components/Dropdown.json +24 -29
  154. package/tokens/src/core/components/Dropzone.json +5 -7
  155. package/tokens/src/core/components/Form/other.json +5 -4
  156. package/tokens/src/core/components/Form/size.json +72 -119
  157. package/tokens/src/core/components/Form/spacing.json +39 -83
  158. package/tokens/src/core/components/Form/transition.json +43 -7
  159. package/tokens/src/core/components/Form/typography.json +24 -88
  160. package/tokens/src/core/components/Icon.json +6 -5
  161. package/tokens/src/core/components/IconButton.json +4 -7
  162. package/tokens/src/core/components/Image.json +7 -6
  163. package/tokens/src/core/components/Menu.json +14 -12
  164. package/tokens/src/core/components/Modal.json +26 -21
  165. package/tokens/src/core/components/Nav.json +14 -16
  166. package/tokens/src/core/components/Navbar.json +15 -30
  167. package/tokens/src/core/components/Pagination.json +23 -24
  168. package/tokens/src/core/components/Popover.json +18 -14
  169. package/tokens/src/core/components/ProductTour.json +8 -14
  170. package/tokens/src/core/components/ProgressBar.json +29 -14
  171. package/tokens/src/core/components/SearchField.json +7 -9
  172. package/tokens/src/core/components/SelectableBox.json +4 -3
  173. package/tokens/src/core/components/Sheet.json +3 -2
  174. package/tokens/src/core/components/Spinner.json +9 -7
  175. package/tokens/src/core/components/Stack.json +2 -1
  176. package/tokens/src/core/components/Stepper.json +12 -14
  177. package/tokens/src/core/components/Sticky.json +2 -1
  178. package/tokens/src/core/components/Tab.json +8 -7
  179. package/tokens/src/core/components/Tabs.json +5 -5
  180. package/tokens/src/core/components/Toast.json +11 -8
  181. package/tokens/src/core/components/Tooltip.json +13 -11
  182. package/tokens/src/core/components/general/caret.json +5 -3
  183. package/tokens/src/core/components/general/headings.json +5 -4
  184. package/tokens/src/core/components/general/hr.json +3 -2
  185. package/tokens/src/core/components/general/input.json +19 -19
  186. package/tokens/src/core/components/general/link.json +13 -12
  187. package/tokens/src/core/components/general/list.json +9 -6
  188. package/tokens/src/core/components/general/text.json +6 -12
  189. package/tokens/src/core/global/breakpoints.json +25 -6
  190. package/tokens/src/core/global/elevation.json +55 -13
  191. package/tokens/src/core/global/other.json +5 -1
  192. package/tokens/src/core/global/spacing.json +70 -17
  193. package/tokens/src/core/global/transition.json +41 -4
  194. package/tokens/src/core/global/typography.json +248 -53
  195. package/tokens/src/core/utilities/color.json +35 -4
  196. package/tokens/src/themes/light/alias/color.json +276 -75
  197. package/tokens/src/themes/light/components/Alert.json +15 -26
  198. package/tokens/src/themes/light/components/Annotation.json +27 -13
  199. package/tokens/src/themes/light/components/Avatar.json +2 -1
  200. package/tokens/src/themes/light/components/Badge.json +57 -122
  201. package/tokens/src/themes/light/components/Breadcrumb.json +6 -5
  202. package/tokens/src/themes/light/components/Bubble.json +9 -8
  203. package/tokens/src/themes/light/components/Button/brand.json +171 -119
  204. package/tokens/src/themes/light/components/Button/core.json +8 -9
  205. package/tokens/src/themes/light/components/Button/danger.json +171 -112
  206. package/tokens/src/themes/light/components/Button/dark.json +188 -106
  207. package/tokens/src/themes/light/components/Button/info.json +186 -112
  208. package/tokens/src/themes/light/components/Button/light.json +186 -110
  209. package/tokens/src/themes/light/components/Button/primary.json +178 -116
  210. package/tokens/src/themes/light/components/Button/secondary.json +166 -132
  211. package/tokens/src/themes/light/components/Button/success.json +176 -117
  212. package/tokens/src/themes/light/components/Button/tertiary.json +34 -60
  213. package/tokens/src/themes/light/components/Button/warning.json +164 -128
  214. package/tokens/src/themes/light/components/Card.json +10 -21
  215. package/tokens/src/themes/light/components/Carousel.json +12 -11
  216. package/tokens/src/themes/light/components/Chip.json +14 -26
  217. package/tokens/src/themes/light/components/CloseButton.json +12 -2
  218. package/tokens/src/themes/light/components/Code.json +7 -9
  219. package/tokens/src/themes/light/components/DataTable.json +7 -11
  220. package/tokens/src/themes/light/components/Dropdown.json +17 -20
  221. package/tokens/src/themes/light/components/Dropzone.json +49 -11
  222. package/tokens/src/themes/light/components/Form/color.json +101 -155
  223. package/tokens/src/themes/light/components/Form/elevation.json +38 -42
  224. package/tokens/src/themes/light/components/Form/other.json +44 -41
  225. package/tokens/src/themes/light/components/IconButton.json +408 -256
  226. package/tokens/src/themes/light/components/Image.json +7 -4
  227. package/tokens/src/themes/light/components/Menu.json +12 -10
  228. package/tokens/src/themes/light/components/Modal.json +22 -12
  229. package/tokens/src/themes/light/components/Nav.json +82 -94
  230. package/tokens/src/themes/light/components/Navbar.json +32 -76
  231. package/tokens/src/themes/light/components/OverflowScroll.json +3 -1
  232. package/tokens/src/themes/light/components/PageBanner.json +11 -10
  233. package/tokens/src/themes/light/components/Pagination.json +19 -23
  234. package/tokens/src/themes/light/components/Popover.json +22 -27
  235. package/tokens/src/themes/light/components/ProductTour.json +9 -20
  236. package/tokens/src/themes/light/components/ProgressBar.json +12 -10
  237. package/tokens/src/themes/light/components/Scrollable.json +3 -3
  238. package/tokens/src/themes/light/components/SearchField.json +9 -9
  239. package/tokens/src/themes/light/components/Sheet.json +6 -7
  240. package/tokens/src/themes/light/components/Stepper.json +12 -17
  241. package/tokens/src/themes/light/components/Sticky.json +31 -6
  242. package/tokens/src/themes/light/components/Tab.json +47 -24
  243. package/tokens/src/themes/light/components/Toast.json +26 -14
  244. package/tokens/src/themes/light/components/Tooltip.json +25 -10
  245. package/tokens/src/themes/light/components/general/body.json +3 -2
  246. package/tokens/src/themes/light/components/general/headings.json +2 -1
  247. package/tokens/src/themes/light/components/general/hr.json +3 -6
  248. package/tokens/src/themes/light/components/general/input.json +11 -4
  249. package/tokens/src/themes/light/components/general/link.json +34 -43
  250. package/tokens/src/themes/light/components/general/list.json +15 -19
  251. package/tokens/src/themes/light/components/general/text.json +5 -6
  252. package/tokens/src/themes/light/global/color.json +1592 -867
  253. package/tokens/src/themes/light/global/elevation.json +481 -93
  254. package/tokens/style-dictionary.js +342 -144
  255. package/tokens/utils.js +176 -6
  256. package/src/Container/index.jsx +0 -49
  257. package/tokens/src/core/global/display.json +0 -22
  258. /package/src/Truncate/{Truncate.test.js → utils.test.js} +0 -0
@@ -1,183 +1,118 @@
1
1
  {
2
2
  "color": {
3
+ "$type": "color",
3
4
  "badge": {
4
5
  "text": {
5
- "primary": {
6
- "value": "{color.primary.base}",
7
- "type": "color",
8
- "source": "$badge-primary-color",
9
- "modify": [{ "type": "color-yiq" }]
10
- },
11
- "secondary": {
12
- "value": "{color.secondary.base}",
13
- "type": "color",
14
- "source": "$badge-secondary-color",
15
- "modify": [{ "type": "color-yiq" }]
16
- },
17
- "success": {
18
- "value": "{color.success.base}",
19
- "type": "color",
20
- "source": "$badge-success-color",
21
- "modify": [{ "type": "color-yiq" }]
22
- },
23
- "danger": {
24
- "value": "{color.danger.base}",
25
- "type": "color",
26
- "source": "$badge-danger-color",
27
- "modify": [{ "type": "color-yiq" }]
28
- },
29
- "warning": {
30
- "value": "{color.warning.base}",
31
- "type": "color",
32
- "source": "$badge-warning-color",
33
- "modify": [{ "type": "color-yiq" }]
34
- },
35
- "info": {
36
- "value": "{color.info.base}",
37
- "type": "color",
38
- "source": "$badge-info-color",
39
- "modify": [{ "type": "color-yiq" }]
40
- },
41
- "light": {
42
- "value": "{color.light.base}",
43
- "type": "color",
44
- "source": "$badge-light-color",
45
- "modify": [{ "type": "color-yiq" }]
46
- },
47
- "dark": {
48
- "value": "{color.dark.base}",
49
- "type": "color",
50
- "source": "$badge-dark-color",
51
- "modify": [{ "type": "color-yiq" }]
52
- }
6
+ "primary": { "source": "$badge-primary-color", "modify": [{ "type": "color-yiq" }], "$value": "{color.primary.base}" },
7
+ "secondary": { "source": "$badge-secondary-color", "modify": [{ "type": "color-yiq" }], "$value": "{color.secondary.base}" },
8
+ "success": { "source": "$badge-success-color", "modify": [{ "type": "color-yiq" }], "$value": "{color.success.base}" },
9
+ "danger": { "source": "$badge-danger-color", "modify": [{ "type": "color-yiq" }], "$value": "{color.danger.base}" },
10
+ "warning": { "source": "$badge-warning-color", "modify": [{ "type": "color-yiq" }], "$value": "{color.warning.base}" },
11
+ "info": { "source": "$badge-info-color", "modify": [{ "type": "color-yiq" }], "$value": "{color.info.base}" },
12
+ "light": { "source": "$badge-light-color", "modify": [{ "type": "color-yiq" }], "$value": "{color.light.base}" },
13
+ "dark": { "source": "$badge-dark-color", "modify": [{ "type": "color-yiq" }], "$value": "{color.dark.base}" }
53
14
  },
54
15
  "bg": {
55
- "primary": { "value": "{color.primary.base}", "type": "color", "source": "$badge-primary-bg" },
56
- "secondary": { "value": "{color.secondary.base}", "type": "color", "source": "$badge-secondary-bg" },
57
- "success": { "value": "{color.success.base}", "type": "color", "source": "$badge-success-bg" },
58
- "warning": { "value": "{color.warning.base}", "type": "color", "source": "$badge-warning-bg" },
59
- "danger": { "value": "{color.danger.base}", "type": "color", "source": "$badge-danger-bg" },
60
- "info": { "value": "{color.info.base}", "type": "color", "source": "$badge-info-bg" },
61
- "light": { "value": "{color.light.base}", "type": "color", "source": "$badge-light-bg" },
62
- "dark": { "value": "{color.dark.base}", "type": "color", "source": "$badge-dark-bg" }
16
+ "primary": { "source": "$badge-primary-bg", "$value": "{color.primary.base}" },
17
+ "secondary": { "source": "$badge-secondary-bg", "$value": "{color.secondary.base}" },
18
+ "success": { "source": "$badge-success-bg", "$value": "{color.success.base}" },
19
+ "warning": { "source": "$badge-warning-bg", "$value": "{color.warning.base}" },
20
+ "danger": { "source": "$badge-danger-bg", "$value": "{color.danger.base}" },
21
+ "info": { "source": "$badge-info-bg", "$value": "{color.info.base}" },
22
+ "light": { "source": "$badge-light-bg", "$value": "{color.light.base}" },
23
+ "dark": { "source": "$badge-dark-bg", "$value": "{color.dark.base}" }
63
24
  },
64
25
  "focus": {
65
- "primary": {
66
- "value": "{color.badge.text.primary}", "type": "color", "source": "$badge-primary-focus-color"
67
- },
68
- "secondary": {
69
- "value": "{color.badge.text.secondary}", "type": "color", "source": "$badge-secondary-focus-color"
70
- },
71
- "success": {
72
- "value": "{color.badge.text.success}", "type": "color", "source": "$badge-success-focus-color"
73
- },
74
- "warning": {
75
- "value": "{color.badge.text.warning}", "type": "color", "source": "$badge-warning-focus-color"
76
- },
77
- "danger": {
78
- "value": "{color.badge.text.danger}", "type": "color", "source": "$badge-danger-focus-color"
79
- },
80
- "info": { "value": "{color.badge.text.info}", "type": "color", "source": "$badge-info-focus-color" },
81
- "light": { "value": "{color.badge.text.light}", "type": "color", "source": "$badge-light-focus-color" },
82
- "dark": { "value": "{color.badge.text.dark}", "type": "color", "source": "$badge-dark-focus-color" },
26
+ "primary": { "source": "$badge-primary-focus-color", "$value": "{color.badge.text.primary}" },
27
+ "secondary": { "source": "$badge-secondary-focus-color", "$value": "{color.badge.text.secondary}" },
28
+ "success": { "source": "$badge-success-focus-color", "$value": "{color.badge.text.success}" },
29
+ "warning": { "source": "$badge-warning-focus-color", "$value": "{color.badge.text.warning}" },
30
+ "danger": { "source": "$badge-danger-focus-color", "$value": "{color.badge.text.danger}" },
31
+ "info": { "source": "$badge-info-focus-color", "$value": "{color.badge.text.info}" },
32
+ "light": { "source": "$badge-light-focus-color", "$value": "{color.badge.text.light}" },
33
+ "dark": { "source": "$badge-dark-focus-color", "$value": "{color.badge.text.dark}" },
83
34
  "bg": {
84
35
  "primary": {
85
- "value": "{color.badge.bg.primary}",
86
- "type": "color",
87
36
  "source": "$badge-primary-focus-bg",
88
- "modify": [{ "type": "darken", "amount": 0.1 }]
37
+ "modify": [{ "type": "darken", "amount": 0.1 }],
38
+ "$value": "{color.badge.bg.primary}"
89
39
  },
90
40
  "secondary": {
91
- "value": "{color.badge.bg.secondary}",
92
- "type": "color",
93
41
  "source": "$badge-secondary-focus-bg",
94
- "modify": [{ "type": "darken", "amount": 0.1 }]
42
+ "modify": [{ "type": "darken", "amount": 0.1 }],
43
+ "$value": "{color.badge.bg.secondary}"
95
44
  },
96
45
  "success": {
97
- "value": "{color.badge.bg.success}",
98
- "type": "color",
99
46
  "source": "$badge-success-focus-bg",
100
- "modify": [{ "type": "darken", "amount": 0.1 }]
47
+ "modify": [{ "type": "darken", "amount": 0.1 }],
48
+ "$value": "{color.badge.bg.success}"
101
49
  },
102
50
  "danger": {
103
- "value": "{color.badge.bg.danger}",
104
- "type": "color",
105
51
  "source": "$badge-danger-focus-bg",
106
- "modify": [{ "type": "darken", "amount": 0.1 }]
52
+ "modify": [{ "type": "darken", "amount": 0.1 }],
53
+ "$value": "{color.badge.bg.danger}"
107
54
  },
108
55
  "warning": {
109
- "value": "{color.badge.bg.warning}",
110
- "type": "color",
111
56
  "source": "$badge-warning-focus-bg",
112
- "modify": [{ "type": "darken", "amount": 0.1 }]
57
+ "modify": [{ "type": "darken", "amount": 0.1 }],
58
+ "$value": "{color.badge.bg.warning}"
113
59
  },
114
60
  "info": {
115
- "value": "{color.badge.bg.info}",
116
- "type": "color",
117
61
  "source": "$badge-info-focus-bg",
118
- "modify": [{ "type": "darken", "amount": 0.1 }]
62
+ "modify": [{ "type": "darken", "amount": 0.1 }],
63
+ "$value": "{color.badge.bg.info}"
119
64
  },
120
65
  "light": {
121
- "value": "{color.badge.bg.light}",
122
- "type": "color",
123
66
  "source": "$badge-light-focus-bg",
124
- "modify": [{ "type": "darken", "amount": 0.1 }]
67
+ "modify": [{ "type": "darken", "amount": 0.1 }],
68
+ "$value": "{color.badge.bg.light}"
125
69
  },
126
70
  "dark": {
127
- "value": "{color.badge.bg.dark}",
128
- "type": "color",
129
71
  "source": "$badge-dark-focus-bg",
130
- "modify": [{ "type": "darken", "amount": 0.1 }]
72
+ "modify": [{ "type": "darken", "amount": 0.1 }],
73
+ "$value": "{color.badge.bg.dark}"
131
74
  }
132
75
  },
133
76
  "box-shadow": {
134
77
  "primary": {
135
- "value": "{color.badge.bg.primary}",
136
- "type": "color",
137
78
  "source": "$badge-primary-focus-box-shadow-color",
138
- "modify": [{ "type": "alpha", "amount": 0.05 }]
79
+ "modify": [{ "type": "alpha", "amount": 0.05 }],
80
+ "$value": "{color.badge.bg.primary}"
139
81
  },
140
82
  "secondary": {
141
- "value": "{color.badge.bg.secondary}",
142
- "type": "color",
143
83
  "source": "$badge-secondary-focus-box-shadow-color",
144
- "modify": [{ "type": "alpha", "amount": 0.05 }]
84
+ "modify": [{ "type": "alpha", "amount": 0.05 }],
85
+ "$value": "{color.badge.bg.secondary}"
145
86
  },
146
87
  "success": {
147
- "value": "{color.badge.bg.success}",
148
- "type": "color",
149
88
  "source": "$badge-success-focus-box-shadow-color",
150
- "modify": [{ "type": "alpha", "amount": 0.05 }]
89
+ "modify": [{ "type": "alpha", "amount": 0.05 }],
90
+ "$value": "{color.badge.bg.success}"
151
91
  },
152
92
  "danger": {
153
- "value": "{color.badge.bg.danger}",
154
- "type": "color",
155
93
  "source": "$badge-danger-focus-box-shadow-color",
156
- "modify": [{ "type": "alpha", "amount": 0.05 }]
94
+ "modify": [{ "type": "alpha", "amount": 0.05 }],
95
+ "$value": "{color.badge.bg.danger}"
157
96
  },
158
97
  "warning": {
159
- "value": "{color.badge.bg.warning}",
160
- "type": "color",
161
98
  "source": "$badge-warning-focus-box-shadow-color",
162
- "modify": [{ "type": "alpha", "amount": 0.05 }]
99
+ "modify": [{ "type": "alpha", "amount": 0.05 }],
100
+ "$value": "{color.badge.bg.warning}"
163
101
  },
164
102
  "info": {
165
- "value": "{color.badge.bg.info}",
166
- "type": "color",
167
103
  "source": "$badge-info-focus-box-shadow-color",
168
- "modify": [{ "type": "alpha", "amount": 0.05 }]
104
+ "modify": [{ "type": "alpha", "amount": 0.05 }],
105
+ "$value": "{color.badge.bg.info}"
169
106
  },
170
107
  "light": {
171
- "value": "{color.badge.bg.light}",
172
- "type": "color",
173
108
  "source": "$badge-light-focus-box-shadow-color",
174
- "modify": [{ "type": "alpha", "amount": 0.05 }]
109
+ "modify": [{ "type": "alpha", "amount": 0.05 }],
110
+ "$value": "{color.badge.bg.light}"
175
111
  },
176
112
  "dark": {
177
- "value": "{color.badge.bg.dark}",
178
- "type": "color",
179
113
  "source": "$badge-dark-focus-box-shadow-color",
180
- "modify": [{ "type": "alpha", "amount": 0.05 }]
114
+ "modify": [{ "type": "alpha", "amount": 0.05 }],
115
+ "$value": "{color.badge.bg.dark}"
181
116
  }
182
117
  }
183
118
  }
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "color": {
3
+ "$type": "color",
3
4
  "breadcrumb": {
4
- "base": { "value": "{color.primary.500}", "type": "color", "source": "$breadcrumb-color" },
5
- "active": { "value": "{color.gray.500}", "type": "color", "source": "$breadcrumb-active-color" },
5
+ "base": { "source": "$breadcrumb-color", "$value": "{color.primary.500}" },
6
+ "active": { "source": "$breadcrumb-active-color", "$value": "{color.gray.500}" },
6
7
  "inverse": {
7
- "base": { "value": "{color.white}", "type": "color", "source": "$breadcrumb-inverse-color" },
8
- "active": { "value": "{color.light.500}", "type": "color", "source": "$breadcrumb-inverse-active" },
9
- "spacer": { "value": "{color.light.700}", "type": "color", "source": "$breadcrumb-inverse-spacer" }
8
+ "base": { "source": "$breadcrumb-inverse-color", "$value": "{color.white}" },
9
+ "active": { "source": "$breadcrumb-inverse-active", "$value": "{color.light.500}" },
10
+ "spacer": { "source": "$breadcrumb-inverse-spacer", "$value": "{color.light.700}" }
10
11
  }
11
12
  }
12
13
  }
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "color": {
3
+ "$type": "color",
3
4
  "bubble": {
4
5
  "text": {
5
- "success": { "value": "{color.white}", "type": "color", "source": "$bubble-success-color" },
6
- "warning": { "value": "{color.white}", "type": "color", "source": "$bubble-warning-color" },
7
- "error": { "value": "{color.white}", "type": "color", "source": "$bubble-error-color" },
8
- "primary": { "value": "{color.white}", "type": "color", "source": "$bubble-primary-color" }
6
+ "success": { "source": "$bubble-success-color", "$value": "{color.white}" },
7
+ "warning": { "source": "$bubble-warning-color", "$value": "{color.white}" },
8
+ "error": { "source": "$bubble-error-color", "$value": "{color.white}" },
9
+ "primary": { "source": "$bubble-primary-color", "$value": "{color.white}" }
9
10
  },
10
11
  "bg": {
11
- "success": { "value": "{color.success.base}", "type": "color", "source": "$bubble-success-bg" },
12
- "warning": { "value": "{color.warning.base}", "type": "color", "source": "$bubble-warning-bg" },
13
- "error": { "value": "{color.danger.base}", "type": "color", "source": "$bubble-error-bg" },
14
- "primary": { "value": "{color.primary.base}", "type": "color", "source": "$bubble-primary-bg" }
12
+ "success": { "source": "$bubble-success-bg", "$value": "{color.success.base}" },
13
+ "warning": { "source": "$bubble-warning-bg", "$value": "{color.warning.base}" },
14
+ "error": { "source": "$bubble-error-bg", "$value": "{color.danger.base}" },
15
+ "primary": { "source": "$bubble-primary-bg", "$value": "{color.primary.base}" }
15
16
  }
16
17
  }
17
18
  }