@carbon/charts 0.41.49 → 0.41.50

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 (242) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/build/demo/data/index.d.ts +9 -3
  3. package/build/demo/data/wordcloud.d.ts +14 -0
  4. package/build/src/charts/index.d.ts +1 -0
  5. package/build/src/charts/wordcloud.d.ts +6 -0
  6. package/build/src/components/graphs/wordcloud.d.ts +10 -0
  7. package/build/src/components/index.d.ts +1 -0
  8. package/build/src/configuration.d.ts +2 -1
  9. package/build/src/interfaces/charts.d.ts +23 -0
  10. package/build/src/interfaces/events.d.ts +9 -0
  11. package/bundle.js +1 -1
  12. package/charts/index.d.ts +1 -0
  13. package/charts/index.js +1 -0
  14. package/charts/index.js.map +1 -1
  15. package/charts/wordcloud.d.ts +6 -0
  16. package/charts/wordcloud.js +46 -0
  17. package/charts/wordcloud.js.map +1 -0
  18. package/components/essentials/tooltip-axis.js +1 -1
  19. package/components/essentials/tooltip-axis.js.map +1 -1
  20. package/components/graphs/boxplot.js +2 -2
  21. package/components/graphs/boxplot.js.map +1 -1
  22. package/components/graphs/wordcloud.d.ts +10 -0
  23. package/components/graphs/wordcloud.js +229 -0
  24. package/components/graphs/wordcloud.js.map +1 -0
  25. package/components/index.d.ts +1 -0
  26. package/components/index.js +1 -0
  27. package/components/index.js.map +1 -1
  28. package/configuration.d.ts +2 -1
  29. package/configuration.js +22 -0
  30. package/configuration.js.map +1 -1
  31. package/demo/data/bundle.js +1 -1
  32. package/demo/data/index.d.ts +9 -3
  33. package/demo/data/index.js +25 -8
  34. package/demo/data/index.js.map +1 -1
  35. package/demo/data/wordcloud.d.ts +14 -0
  36. package/demo/data/wordcloud.js +105 -0
  37. package/demo/data/wordcloud.js.map +1 -0
  38. package/demo/styles.css +2824 -28
  39. package/demo/styles.css.map +1 -1
  40. package/demo/styles.min.css +1 -1
  41. package/demo/styles.min.css.map +1 -1
  42. package/demo/tsconfig.tsbuildinfo +29 -15
  43. package/interfaces/charts.d.ts +23 -0
  44. package/interfaces/charts.js.map +1 -1
  45. package/interfaces/events.d.ts +9 -0
  46. package/interfaces/events.js +10 -0
  47. package/interfaces/events.js.map +1 -1
  48. package/package.json +8 -7
  49. package/styles/_type.scss +4 -2
  50. package/styles/graphs/_wordcloud.scss +7 -0
  51. package/styles/graphs/index.scss +1 -0
  52. package/styles/vendor/@carbon/colors/README.md +4 -3
  53. package/styles/vendor/@carbon/colors/es/index.js +13 -12
  54. package/styles/vendor/@carbon/colors/lib/index.js +98 -93
  55. package/styles/vendor/@carbon/colors/package.json +14 -10
  56. package/styles/vendor/@carbon/colors/scss/colors.scss +1 -1
  57. package/styles/vendor/@carbon/colors/scss/index.scss +1 -1
  58. package/styles/vendor/@carbon/colors/scss/mixins.scss +33 -13
  59. package/styles/vendor/@carbon/colors/umd/index.js +99 -94
  60. package/styles/vendor/@carbon/elements/README.md +0 -6
  61. package/styles/vendor/@carbon/elements/es/index.js +4 -11
  62. package/styles/vendor/@carbon/elements/lib/index.js +959 -13
  63. package/styles/vendor/@carbon/elements/package.json +17 -13
  64. package/styles/vendor/@carbon/elements/scss/colors/colors.scss +1 -1
  65. package/styles/vendor/@carbon/elements/scss/colors/index.scss +1 -1
  66. package/styles/vendor/@carbon/elements/scss/colors/mixins.scss +33 -13
  67. package/styles/vendor/@carbon/elements/scss/grid/_inlined/_mixins.scss +82 -22
  68. package/styles/vendor/@carbon/elements/scss/grid/_mixins.scss +82 -22
  69. package/styles/vendor/@carbon/elements/scss/grid/modules/_breakpoint.scss +266 -0
  70. package/styles/vendor/@carbon/{themes/node_modules/@carbon/colors/scss/colors.scss → elements/scss/grid/modules/_config.scss} +6 -6
  71. package/styles/vendor/@carbon/elements/scss/grid/modules/_css-grid.scss +350 -0
  72. package/styles/vendor/@carbon/elements/scss/grid/modules/_mixins.scss +323 -0
  73. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/_breakpoint.scss +8 -3
  74. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/_breakpoint.scss +232 -0
  75. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/_convert.scss +40 -0
  76. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/_spacing.scss +9 -0
  77. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/_utilities.scss +41 -0
  78. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +37 -0
  79. package/styles/vendor/@carbon/elements/scss/grid/vendor/@carbon/layout/modules/generated/_spacing.scss +85 -0
  80. package/styles/vendor/@carbon/elements/scss/layout/_breakpoint.scss +8 -3
  81. package/styles/vendor/@carbon/elements/scss/layout/modules/_breakpoint.scss +232 -0
  82. package/styles/vendor/@carbon/elements/scss/layout/modules/_convert.scss +40 -0
  83. package/styles/vendor/@carbon/elements/scss/layout/modules/_spacing.scss +9 -0
  84. package/styles/vendor/@carbon/elements/scss/layout/modules/_utilities.scss +41 -0
  85. package/styles/vendor/@carbon/elements/scss/layout/modules/generated/_fluid-spacing.scss +37 -0
  86. package/styles/vendor/@carbon/elements/scss/layout/modules/generated/_spacing.scss +85 -0
  87. package/styles/vendor/@carbon/elements/scss/motion/motion.scss +24 -0
  88. package/styles/vendor/@carbon/elements/scss/themes/generated/_mixins.scss +643 -138
  89. package/styles/vendor/@carbon/elements/scss/themes/generated/_themes.scss +154 -77
  90. package/styles/vendor/@carbon/elements/scss/themes/generated/_tokens.scss +157 -75
  91. package/styles/vendor/@carbon/elements/scss/themes/modules/_theme.scss +50 -0
  92. package/styles/vendor/@carbon/elements/scss/themes/modules/_themes.scss +8 -0
  93. package/styles/vendor/@carbon/elements/scss/themes/modules/_utilities.scss +18 -0
  94. package/styles/vendor/@carbon/elements/scss/themes/modules/generated/_themes.scss +247 -0
  95. package/styles/vendor/@carbon/elements/scss/type/_font-family.scss +2 -2
  96. package/styles/vendor/@carbon/elements/scss/type/_inlined/_font-family.scss +2 -2
  97. package/styles/vendor/@carbon/elements/scss/type/_inlined/_reset.scss +9 -3
  98. package/styles/vendor/@carbon/elements/scss/type/_inlined/_scale.scss +2 -2
  99. package/styles/vendor/@carbon/elements/scss/type/_inlined/_styles.scss +60 -57
  100. package/styles/vendor/@carbon/elements/scss/type/_inlined/font-face/_mono.scss +72 -72
  101. package/styles/vendor/@carbon/elements/scss/type/_inlined/font-face/_sans-condensed.scss +302 -0
  102. package/styles/vendor/@carbon/elements/scss/type/_inlined/font-face/_sans.scss +84 -84
  103. package/styles/vendor/@carbon/elements/scss/type/_inlined/font-face/_serif.scss +72 -72
  104. package/styles/vendor/@carbon/elements/scss/type/_reset.scss +9 -3
  105. package/styles/vendor/@carbon/elements/scss/type/_scale.scss +2 -2
  106. package/styles/vendor/@carbon/elements/scss/type/_styles.scss +60 -57
  107. package/styles/vendor/@carbon/elements/scss/type/font-face/_mono.scss +72 -72
  108. package/styles/vendor/@carbon/elements/scss/type/font-face/_sans-condensed.scss +302 -0
  109. package/styles/vendor/@carbon/elements/scss/type/font-face/_sans.scss +84 -84
  110. package/styles/vendor/@carbon/elements/scss/type/font-face/_serif.scss +72 -72
  111. package/styles/vendor/@carbon/elements/scss/type/modules/_classes.scss +42 -0
  112. package/styles/vendor/@carbon/elements/scss/type/modules/_font-family.scss +70 -0
  113. package/styles/vendor/@carbon/elements/scss/type/modules/_prefix.scss +11 -0
  114. package/styles/vendor/@carbon/elements/scss/type/modules/_reset.scss +92 -0
  115. package/styles/vendor/@carbon/elements/scss/type/modules/_scale.scss +56 -0
  116. package/styles/vendor/@carbon/elements/scss/type/modules/_styles.scss +713 -0
  117. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/_breakpoint.scss +8 -3
  118. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/_breakpoint.scss +232 -0
  119. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/_convert.scss +40 -0
  120. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/_spacing.scss +9 -0
  121. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/_utilities.scss +41 -0
  122. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +37 -0
  123. package/styles/vendor/@carbon/elements/scss/type/vendor/@carbon/layout/modules/generated/_spacing.scss +85 -0
  124. package/styles/vendor/@carbon/elements/src/__tests__/PublicAPI-test.js +12 -0
  125. package/styles/vendor/@carbon/elements/src/__tests__/__snapshots__/PublicAPI-test.js.snap +306 -0
  126. package/styles/vendor/@carbon/elements/src/index.js +166 -4
  127. package/styles/vendor/@carbon/elements/umd/index.js +961 -17
  128. package/styles/vendor/@carbon/layout/README.md +0 -6
  129. package/styles/vendor/@carbon/layout/es/index.js +1 -1
  130. package/styles/vendor/@carbon/{themes/node_modules/@carbon/colors/scss → layout}/index.scss +5 -6
  131. package/styles/vendor/@carbon/layout/lib/index.js +30 -30
  132. package/styles/vendor/@carbon/layout/package.json +14 -10
  133. package/styles/vendor/@carbon/layout/scss/_breakpoint.scss +8 -3
  134. package/styles/vendor/@carbon/layout/scss/modules/_breakpoint.scss +232 -0
  135. package/styles/vendor/@carbon/layout/scss/modules/_convert.scss +40 -0
  136. package/styles/vendor/@carbon/layout/scss/modules/_spacing.scss +9 -0
  137. package/styles/vendor/@carbon/layout/scss/modules/_utilities.scss +41 -0
  138. package/styles/vendor/@carbon/layout/scss/modules/generated/_fluid-spacing.scss +37 -0
  139. package/styles/vendor/@carbon/layout/scss/modules/generated/_spacing.scss +85 -0
  140. package/styles/vendor/@carbon/layout/umd/index.js +31 -31
  141. package/styles/vendor/@carbon/motion/README.md +0 -6
  142. package/styles/vendor/@carbon/motion/es/index.js +8 -1
  143. package/styles/vendor/@carbon/motion/index.scss +56 -0
  144. package/styles/vendor/@carbon/motion/lib/index.js +14 -0
  145. package/styles/vendor/@carbon/motion/package.json +10 -6
  146. package/styles/vendor/@carbon/motion/scss/motion.scss +24 -0
  147. package/styles/vendor/@carbon/motion/src/index.js +16 -0
  148. package/styles/vendor/@carbon/motion/umd/index.js +15 -1
  149. package/styles/vendor/@carbon/themes/README.md +5 -4
  150. package/styles/vendor/@carbon/themes/es/index.js +719 -57
  151. package/styles/vendor/@carbon/themes/index.scss +9 -0
  152. package/styles/vendor/@carbon/themes/lib/index.js +1297 -251
  153. package/styles/vendor/@carbon/themes/metadata.yml +3 -0
  154. package/styles/vendor/@carbon/themes/package.json +23 -14
  155. package/styles/vendor/@carbon/themes/scss/_mixins.scss +27 -146
  156. package/styles/vendor/@carbon/themes/scss/_theme-maps.scss +3 -263
  157. package/styles/vendor/@carbon/themes/scss/_tokens.scss +2 -297
  158. package/styles/vendor/@carbon/themes/scss/generated/_mixins.scss +1851 -0
  159. package/styles/vendor/@carbon/themes/scss/generated/_themes.scss +1534 -0
  160. package/styles/vendor/@carbon/themes/scss/generated/_tokens.scss +1757 -0
  161. package/styles/vendor/@carbon/themes/scss/modules/_theme.scss +50 -0
  162. package/styles/vendor/@carbon/themes/scss/modules/_themes.scss +8 -0
  163. package/styles/vendor/@carbon/themes/scss/modules/_utilities.scss +18 -0
  164. package/styles/vendor/@carbon/themes/scss/modules/generated/_themes.scss +247 -0
  165. package/styles/vendor/@carbon/themes/scss/themes.scss +3 -2
  166. package/styles/vendor/@carbon/themes/src/g10.js +97 -5
  167. package/styles/vendor/@carbon/themes/src/g100.js +96 -4
  168. package/styles/vendor/@carbon/themes/src/g90.js +98 -6
  169. package/styles/vendor/@carbon/themes/src/index.js +5 -3
  170. package/styles/vendor/@carbon/themes/src/tokens.js +112 -2
  171. package/styles/vendor/@carbon/themes/src/tools.js +25 -0
  172. package/styles/vendor/@carbon/themes/src/v9.js +181 -0
  173. package/styles/vendor/@carbon/themes/src/white.js +98 -3
  174. package/styles/vendor/@carbon/themes/umd/index.js +1297 -254
  175. package/styles/vendor/@carbon/type/README.md +0 -6
  176. package/styles/vendor/@carbon/type/es/index.js +111 -82
  177. package/styles/vendor/@carbon/type/lib/index.js +132 -103
  178. package/styles/vendor/@carbon/type/package.json +12 -8
  179. package/styles/vendor/@carbon/type/scss/_font-family.scss +2 -2
  180. package/styles/vendor/@carbon/type/scss/_inlined/_font-family.scss +2 -2
  181. package/styles/vendor/@carbon/type/scss/_inlined/_reset.scss +9 -3
  182. package/styles/vendor/@carbon/type/scss/_inlined/_scale.scss +2 -2
  183. package/styles/vendor/@carbon/type/scss/_inlined/_styles.scss +60 -57
  184. package/styles/vendor/@carbon/type/scss/_inlined/font-face/_mono.scss +72 -72
  185. package/styles/vendor/@carbon/type/scss/_inlined/font-face/_sans-condensed.scss +302 -0
  186. package/styles/vendor/@carbon/type/scss/_inlined/font-face/_sans.scss +84 -84
  187. package/styles/vendor/@carbon/type/scss/_inlined/font-face/_serif.scss +72 -72
  188. package/styles/vendor/@carbon/type/scss/_reset.scss +9 -3
  189. package/styles/vendor/@carbon/type/scss/_scale.scss +2 -2
  190. package/styles/vendor/@carbon/type/scss/_styles.scss +60 -57
  191. package/styles/vendor/@carbon/type/scss/font-face/_mono.scss +72 -72
  192. package/styles/vendor/@carbon/type/scss/font-face/_sans-condensed.scss +302 -0
  193. package/styles/vendor/@carbon/type/scss/font-face/_sans.scss +84 -84
  194. package/styles/vendor/@carbon/type/scss/font-face/_serif.scss +72 -72
  195. package/styles/vendor/@carbon/type/scss/modules/_classes.scss +42 -0
  196. package/styles/vendor/@carbon/type/scss/modules/_font-family.scss +70 -0
  197. package/styles/vendor/@carbon/type/scss/modules/_prefix.scss +11 -0
  198. package/styles/vendor/@carbon/type/scss/modules/_reset.scss +92 -0
  199. package/styles/vendor/@carbon/type/scss/modules/_scale.scss +56 -0
  200. package/styles/vendor/@carbon/type/scss/modules/_styles.scss +713 -0
  201. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/_breakpoint.scss +8 -3
  202. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/_breakpoint.scss +232 -0
  203. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/_convert.scss +40 -0
  204. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/_spacing.scss +9 -0
  205. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/_utilities.scss +41 -0
  206. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +37 -0
  207. package/styles/vendor/@carbon/type/scss/vendor/@carbon/layout/modules/generated/_spacing.scss +85 -0
  208. package/styles/vendor/@carbon/type/src/__tests__/__snapshots__/styles-test.js.snap +32 -34
  209. package/styles/vendor/@carbon/type/src/__tests__/exports-test.js +1 -1
  210. package/styles/vendor/@carbon/type/src/__tests__/fluid-test.js +26 -26
  211. package/styles/vendor/@carbon/type/src/__tests__/styles-test.js +1 -1
  212. package/styles/vendor/@carbon/type/src/__tests__/tokens-test.js +2 -2
  213. package/styles/vendor/@carbon/type/src/fluid.js +1 -1
  214. package/styles/vendor/@carbon/type/src/index.js +1 -1
  215. package/styles/vendor/@carbon/type/src/styles.js +65 -64
  216. package/styles/vendor/@carbon/type/src/tokens.js +64 -31
  217. package/styles/vendor/@carbon/type/umd/index.js +134 -105
  218. package/styles-g10.css +570 -2
  219. package/styles-g10.css.map +1 -1
  220. package/styles-g10.min.css +1 -1
  221. package/styles-g10.min.css.map +1 -1
  222. package/styles-g100.css +574 -6
  223. package/styles-g100.css.map +1 -1
  224. package/styles-g100.min.css +1 -1
  225. package/styles-g100.min.css.map +1 -1
  226. package/styles-g90.css +574 -6
  227. package/styles-g90.css.map +1 -1
  228. package/styles-g90.min.css +1 -1
  229. package/styles-g90.min.css.map +1 -1
  230. package/styles.css +570 -2
  231. package/styles.css.map +1 -1
  232. package/styles.min.css +1 -1
  233. package/styles.min.css.map +1 -1
  234. package/tsconfig.tsbuildinfo +64 -14
  235. package/styles/vendor/@carbon/layout/docs/sass.md +0 -1899
  236. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/LICENSE +0 -201
  237. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/README.md +0 -154
  238. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/es/index.js +0 -287
  239. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/lib/index.js +0 -410
  240. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/package.json +0 -51
  241. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/scss/mixins.scss +0 -646
  242. package/styles/vendor/@carbon/themes/node_modules/@carbon/colors/umd/index.js +0 -416
@@ -36,6 +36,8 @@
36
36
  $emit-custom-properties: false,
37
37
  $emit-difference: false
38
38
  ) {
39
+ $parent-carbon-theme: $carbon--theme;
40
+ $carbon--theme: $theme !global;
39
41
  $interactive-01: map-get($theme, 'interactive-01') !global;
40
42
  $interactive-02: map-get($theme, 'interactive-02') !global;
41
43
  $interactive-03: map-get($theme, 'interactive-03') !global;
@@ -56,6 +58,7 @@
56
58
  $icon-02: map-get($theme, 'icon-02') !global;
57
59
  $icon-03: map-get($theme, 'icon-03') !global;
58
60
  $link-01: map-get($theme, 'link-01') !global;
61
+ $link-02: map-get($theme, 'link-02') !global;
59
62
  $inverse-link: map-get($theme, 'inverse-link') !global;
60
63
  $field-01: map-get($theme, 'field-01') !global;
61
64
  $field-02: map-get($theme, 'field-02') !global;
@@ -70,7 +73,8 @@
70
73
  $inverse-support-03: map-get($theme, 'inverse-support-03') !global;
71
74
  $inverse-support-04: map-get($theme, 'inverse-support-04') !global;
72
75
  $overlay-01: map-get($theme, 'overlay-01') !global;
73
- $danger: map-get($theme, 'danger') !global;
76
+ $danger-01: map-get($theme, 'danger-01') !global;
77
+ $danger-02: map-get($theme, 'danger-02') !global;
74
78
  $focus: map-get($theme, 'focus') !global;
75
79
  $inverse-focus-ui: map-get($theme, 'inverse-focus-ui') !global;
76
80
  $hover-primary: map-get($theme, 'hover-primary') !global;
@@ -81,9 +85,12 @@
81
85
  $hover-tertiary: map-get($theme, 'hover-tertiary') !global;
82
86
  $active-tertiary: map-get($theme, 'active-tertiary') !global;
83
87
  $hover-ui: map-get($theme, 'hover-ui') !global;
88
+ $hover-light-ui: map-get($theme, 'hover-light-ui') !global;
89
+ $hover-selected-ui: map-get($theme, 'hover-selected-ui') !global;
84
90
  $active-ui: map-get($theme, 'active-ui') !global;
91
+ $active-light-ui: map-get($theme, 'active-light-ui') !global;
85
92
  $selected-ui: map-get($theme, 'selected-ui') !global;
86
- $hover-selected-ui: map-get($theme, 'hover-selected-ui') !global;
93
+ $selected-light-ui: map-get($theme, 'selected-light-ui') !global;
87
94
  $inverse-hover-ui: map-get($theme, 'inverse-hover-ui') !global;
88
95
  $hover-danger: map-get($theme, 'hover-danger') !global;
89
96
  $active-danger: map-get($theme, 'active-danger') !global;
@@ -93,6 +100,8 @@
93
100
  $disabled-02: map-get($theme, 'disabled-02') !global;
94
101
  $disabled-03: map-get($theme, 'disabled-03') !global;
95
102
  $highlight: map-get($theme, 'highlight') !global;
103
+ $decorative-01: map-get($theme, 'decorative-01') !global;
104
+ $button-separator: map-get($theme, 'button-separator') !global;
96
105
  $skeleton-01: map-get($theme, 'skeleton-01') !global;
97
106
  $skeleton-02: map-get($theme, 'skeleton-02') !global;
98
107
  $brand-01: map-get($theme, 'brand-01') !global;
@@ -100,6 +109,7 @@
100
109
  $brand-03: map-get($theme, 'brand-03') !global;
101
110
  $active-01: map-get($theme, 'active-01') !global;
102
111
  $hover-field: map-get($theme, 'hover-field') !global;
112
+ $danger: map-get($theme, 'danger') !global;
103
113
  $caption-01: map-get($theme, 'caption-01') !global;
104
114
  $label-01: map-get($theme, 'label-01') !global;
105
115
  $helper-text-01: map-get($theme, 'helper-text-01') !global;
@@ -245,6 +255,10 @@
245
255
  --#{$custom-property-prefix}-link-01,
246
256
  map-get($theme, 'link-01')
247
257
  ) !global;
258
+ $link-02: var(
259
+ --#{$custom-property-prefix}-link-02,
260
+ map-get($theme, 'link-02')
261
+ ) !global;
248
262
  $inverse-link: var(
249
263
  --#{$custom-property-prefix}-inverse-link,
250
264
  map-get($theme, 'inverse-link')
@@ -301,9 +315,13 @@
301
315
  --#{$custom-property-prefix}-overlay-01,
302
316
  map-get($theme, 'overlay-01')
303
317
  ) !global;
304
- $danger: var(
305
- --#{$custom-property-prefix}-danger,
306
- map-get($theme, 'danger')
318
+ $danger-01: var(
319
+ --#{$custom-property-prefix}-danger-01,
320
+ map-get($theme, 'danger-01')
321
+ ) !global;
322
+ $danger-02: var(
323
+ --#{$custom-property-prefix}-danger-02,
324
+ map-get($theme, 'danger-02')
307
325
  ) !global;
308
326
  $focus: var(
309
327
  --#{$custom-property-prefix}-focus,
@@ -345,17 +363,29 @@
345
363
  --#{$custom-property-prefix}-hover-ui,
346
364
  map-get($theme, 'hover-ui')
347
365
  ) !global;
366
+ $hover-light-ui: var(
367
+ --#{$custom-property-prefix}-hover-light-ui,
368
+ map-get($theme, 'hover-light-ui')
369
+ ) !global;
370
+ $hover-selected-ui: var(
371
+ --#{$custom-property-prefix}-hover-selected-ui,
372
+ map-get($theme, 'hover-selected-ui')
373
+ ) !global;
348
374
  $active-ui: var(
349
375
  --#{$custom-property-prefix}-active-ui,
350
376
  map-get($theme, 'active-ui')
351
377
  ) !global;
378
+ $active-light-ui: var(
379
+ --#{$custom-property-prefix}-active-light-ui,
380
+ map-get($theme, 'active-light-ui')
381
+ ) !global;
352
382
  $selected-ui: var(
353
383
  --#{$custom-property-prefix}-selected-ui,
354
384
  map-get($theme, 'selected-ui')
355
385
  ) !global;
356
- $hover-selected-ui: var(
357
- --#{$custom-property-prefix}-hover-selected-ui,
358
- map-get($theme, 'hover-selected-ui')
386
+ $selected-light-ui: var(
387
+ --#{$custom-property-prefix}-selected-light-ui,
388
+ map-get($theme, 'selected-light-ui')
359
389
  ) !global;
360
390
  $inverse-hover-ui: var(
361
391
  --#{$custom-property-prefix}-inverse-hover-ui,
@@ -393,6 +423,14 @@
393
423
  --#{$custom-property-prefix}-highlight,
394
424
  map-get($theme, 'highlight')
395
425
  ) !global;
426
+ $decorative-01: var(
427
+ --#{$custom-property-prefix}-decorative-01,
428
+ map-get($theme, 'decorative-01')
429
+ ) !global;
430
+ $button-separator: var(
431
+ --#{$custom-property-prefix}-button-separator,
432
+ map-get($theme, 'button-separator')
433
+ ) !global;
396
434
  $skeleton-01: var(
397
435
  --#{$custom-property-prefix}-skeleton-01,
398
436
  map-get($theme, 'skeleton-01')
@@ -421,6 +459,10 @@
421
459
  --#{$custom-property-prefix}-hover-field,
422
460
  map-get($theme, 'hover-field')
423
461
  ) !global;
462
+ $danger: var(
463
+ --#{$custom-property-prefix}-danger,
464
+ map-get($theme, 'danger')
465
+ ) !global;
424
466
  $spacing-01: var(
425
467
  --#{$custom-property-prefix}-spacing-01,
426
468
  map-get($theme, 'spacing-01')
@@ -543,7 +585,12 @@
543
585
  ) !global;
544
586
  }
545
587
  @if $emit-custom-properties == true {
546
- @if should-emit($theme, $carbon--theme, 'interactive-01', $emit-difference)
588
+ @if should-emit(
589
+ $theme,
590
+ $parent-carbon-theme,
591
+ 'interactive-01',
592
+ $emit-difference
593
+ )
547
594
  {
548
595
  @include custom-property(
549
596
  'interactive-01',
@@ -551,7 +598,12 @@
551
598
  );
552
599
  }
553
600
 
554
- @if should-emit($theme, $carbon--theme, 'interactive-02', $emit-difference)
601
+ @if should-emit(
602
+ $theme,
603
+ $parent-carbon-theme,
604
+ 'interactive-02',
605
+ $emit-difference
606
+ )
555
607
  {
556
608
  @include custom-property(
557
609
  'interactive-02',
@@ -559,7 +611,12 @@
559
611
  );
560
612
  }
561
613
 
562
- @if should-emit($theme, $carbon--theme, 'interactive-03', $emit-difference)
614
+ @if should-emit(
615
+ $theme,
616
+ $parent-carbon-theme,
617
+ 'interactive-03',
618
+ $emit-difference
619
+ )
563
620
  {
564
621
  @include custom-property(
565
622
  'interactive-03',
@@ -567,7 +624,12 @@
567
624
  );
568
625
  }
569
626
 
570
- @if should-emit($theme, $carbon--theme, 'interactive-04', $emit-difference)
627
+ @if should-emit(
628
+ $theme,
629
+ $parent-carbon-theme,
630
+ 'interactive-04',
631
+ $emit-difference
632
+ )
571
633
  {
572
634
  @include custom-property(
573
635
  'interactive-04',
@@ -575,112 +637,172 @@
575
637
  );
576
638
  }
577
639
 
578
- @if should-emit($theme, $carbon--theme, 'ui-background', $emit-difference) {
640
+ @if should-emit(
641
+ $theme,
642
+ $parent-carbon-theme,
643
+ 'ui-background',
644
+ $emit-difference
645
+ )
646
+ {
579
647
  @include custom-property(
580
648
  'ui-background',
581
649
  map-get($theme, 'ui-background')
582
650
  );
583
651
  }
584
652
 
585
- @if should-emit($theme, $carbon--theme, 'ui-01', $emit-difference) {
653
+ @if should-emit($theme, $parent-carbon-theme, 'ui-01', $emit-difference) {
586
654
  @include custom-property('ui-01', map-get($theme, 'ui-01'));
587
655
  }
588
656
 
589
- @if should-emit($theme, $carbon--theme, 'ui-02', $emit-difference) {
657
+ @if should-emit($theme, $parent-carbon-theme, 'ui-02', $emit-difference) {
590
658
  @include custom-property('ui-02', map-get($theme, 'ui-02'));
591
659
  }
592
660
 
593
- @if should-emit($theme, $carbon--theme, 'ui-03', $emit-difference) {
661
+ @if should-emit($theme, $parent-carbon-theme, 'ui-03', $emit-difference) {
594
662
  @include custom-property('ui-03', map-get($theme, 'ui-03'));
595
663
  }
596
664
 
597
- @if should-emit($theme, $carbon--theme, 'ui-04', $emit-difference) {
665
+ @if should-emit($theme, $parent-carbon-theme, 'ui-04', $emit-difference) {
598
666
  @include custom-property('ui-04', map-get($theme, 'ui-04'));
599
667
  }
600
668
 
601
- @if should-emit($theme, $carbon--theme, 'ui-05', $emit-difference) {
669
+ @if should-emit($theme, $parent-carbon-theme, 'ui-05', $emit-difference) {
602
670
  @include custom-property('ui-05', map-get($theme, 'ui-05'));
603
671
  }
604
672
 
605
- @if should-emit($theme, $carbon--theme, 'text-01', $emit-difference) {
673
+ @if should-emit($theme, $parent-carbon-theme, 'text-01', $emit-difference) {
606
674
  @include custom-property('text-01', map-get($theme, 'text-01'));
607
675
  }
608
676
 
609
- @if should-emit($theme, $carbon--theme, 'text-02', $emit-difference) {
677
+ @if should-emit($theme, $parent-carbon-theme, 'text-02', $emit-difference) {
610
678
  @include custom-property('text-02', map-get($theme, 'text-02'));
611
679
  }
612
680
 
613
- @if should-emit($theme, $carbon--theme, 'text-03', $emit-difference) {
681
+ @if should-emit($theme, $parent-carbon-theme, 'text-03', $emit-difference) {
614
682
  @include custom-property('text-03', map-get($theme, 'text-03'));
615
683
  }
616
684
 
617
- @if should-emit($theme, $carbon--theme, 'text-04', $emit-difference) {
685
+ @if should-emit($theme, $parent-carbon-theme, 'text-04', $emit-difference) {
618
686
  @include custom-property('text-04', map-get($theme, 'text-04'));
619
687
  }
620
688
 
621
- @if should-emit($theme, $carbon--theme, 'text-05', $emit-difference) {
689
+ @if should-emit($theme, $parent-carbon-theme, 'text-05', $emit-difference) {
622
690
  @include custom-property('text-05', map-get($theme, 'text-05'));
623
691
  }
624
692
 
625
- @if should-emit($theme, $carbon--theme, 'text-error', $emit-difference) {
693
+ @if should-emit(
694
+ $theme,
695
+ $parent-carbon-theme,
696
+ 'text-error',
697
+ $emit-difference
698
+ )
699
+ {
626
700
  @include custom-property('text-error', map-get($theme, 'text-error'));
627
701
  }
628
702
 
629
- @if should-emit($theme, $carbon--theme, 'icon-01', $emit-difference) {
703
+ @if should-emit($theme, $parent-carbon-theme, 'icon-01', $emit-difference) {
630
704
  @include custom-property('icon-01', map-get($theme, 'icon-01'));
631
705
  }
632
706
 
633
- @if should-emit($theme, $carbon--theme, 'icon-02', $emit-difference) {
707
+ @if should-emit($theme, $parent-carbon-theme, 'icon-02', $emit-difference) {
634
708
  @include custom-property('icon-02', map-get($theme, 'icon-02'));
635
709
  }
636
710
 
637
- @if should-emit($theme, $carbon--theme, 'icon-03', $emit-difference) {
711
+ @if should-emit($theme, $parent-carbon-theme, 'icon-03', $emit-difference) {
638
712
  @include custom-property('icon-03', map-get($theme, 'icon-03'));
639
713
  }
640
714
 
641
- @if should-emit($theme, $carbon--theme, 'link-01', $emit-difference) {
715
+ @if should-emit($theme, $parent-carbon-theme, 'link-01', $emit-difference) {
642
716
  @include custom-property('link-01', map-get($theme, 'link-01'));
643
717
  }
644
718
 
645
- @if should-emit($theme, $carbon--theme, 'inverse-link', $emit-difference) {
719
+ @if should-emit($theme, $parent-carbon-theme, 'link-02', $emit-difference) {
720
+ @include custom-property('link-02', map-get($theme, 'link-02'));
721
+ }
722
+
723
+ @if should-emit(
724
+ $theme,
725
+ $parent-carbon-theme,
726
+ 'inverse-link',
727
+ $emit-difference
728
+ )
729
+ {
646
730
  @include custom-property('inverse-link', map-get($theme, 'inverse-link'));
647
731
  }
648
732
 
649
- @if should-emit($theme, $carbon--theme, 'field-01', $emit-difference) {
733
+ @if should-emit($theme, $parent-carbon-theme, 'field-01', $emit-difference)
734
+ {
650
735
  @include custom-property('field-01', map-get($theme, 'field-01'));
651
736
  }
652
737
 
653
- @if should-emit($theme, $carbon--theme, 'field-02', $emit-difference) {
738
+ @if should-emit($theme, $parent-carbon-theme, 'field-02', $emit-difference)
739
+ {
654
740
  @include custom-property('field-02', map-get($theme, 'field-02'));
655
741
  }
656
742
 
657
- @if should-emit($theme, $carbon--theme, 'inverse-01', $emit-difference) {
743
+ @if should-emit(
744
+ $theme,
745
+ $parent-carbon-theme,
746
+ 'inverse-01',
747
+ $emit-difference
748
+ )
749
+ {
658
750
  @include custom-property('inverse-01', map-get($theme, 'inverse-01'));
659
751
  }
660
752
 
661
- @if should-emit($theme, $carbon--theme, 'inverse-02', $emit-difference) {
753
+ @if should-emit(
754
+ $theme,
755
+ $parent-carbon-theme,
756
+ 'inverse-02',
757
+ $emit-difference
758
+ )
759
+ {
662
760
  @include custom-property('inverse-02', map-get($theme, 'inverse-02'));
663
761
  }
664
762
 
665
- @if should-emit($theme, $carbon--theme, 'support-01', $emit-difference) {
763
+ @if should-emit(
764
+ $theme,
765
+ $parent-carbon-theme,
766
+ 'support-01',
767
+ $emit-difference
768
+ )
769
+ {
666
770
  @include custom-property('support-01', map-get($theme, 'support-01'));
667
771
  }
668
772
 
669
- @if should-emit($theme, $carbon--theme, 'support-02', $emit-difference) {
773
+ @if should-emit(
774
+ $theme,
775
+ $parent-carbon-theme,
776
+ 'support-02',
777
+ $emit-difference
778
+ )
779
+ {
670
780
  @include custom-property('support-02', map-get($theme, 'support-02'));
671
781
  }
672
782
 
673
- @if should-emit($theme, $carbon--theme, 'support-03', $emit-difference) {
783
+ @if should-emit(
784
+ $theme,
785
+ $parent-carbon-theme,
786
+ 'support-03',
787
+ $emit-difference
788
+ )
789
+ {
674
790
  @include custom-property('support-03', map-get($theme, 'support-03'));
675
791
  }
676
792
 
677
- @if should-emit($theme, $carbon--theme, 'support-04', $emit-difference) {
793
+ @if should-emit(
794
+ $theme,
795
+ $parent-carbon-theme,
796
+ 'support-04',
797
+ $emit-difference
798
+ )
799
+ {
678
800
  @include custom-property('support-04', map-get($theme, 'support-04'));
679
801
  }
680
802
 
681
803
  @if should-emit(
682
804
  $theme,
683
- $carbon--theme,
805
+ $parent-carbon-theme,
684
806
  'inverse-support-01',
685
807
  $emit-difference
686
808
  )
@@ -693,7 +815,7 @@
693
815
 
694
816
  @if should-emit(
695
817
  $theme,
696
- $carbon--theme,
818
+ $parent-carbon-theme,
697
819
  'inverse-support-02',
698
820
  $emit-difference
699
821
  )
@@ -706,7 +828,7 @@
706
828
 
707
829
  @if should-emit(
708
830
  $theme,
709
- $carbon--theme,
831
+ $parent-carbon-theme,
710
832
  'inverse-support-03',
711
833
  $emit-difference
712
834
  )
@@ -719,7 +841,7 @@
719
841
 
720
842
  @if should-emit(
721
843
  $theme,
722
- $carbon--theme,
844
+ $parent-carbon-theme,
723
845
  'inverse-support-04',
724
846
  $emit-difference
725
847
  )
@@ -730,21 +852,33 @@
730
852
  );
731
853
  }
732
854
 
733
- @if should-emit($theme, $carbon--theme, 'overlay-01', $emit-difference) {
855
+ @if should-emit(
856
+ $theme,
857
+ $parent-carbon-theme,
858
+ 'overlay-01',
859
+ $emit-difference
860
+ )
861
+ {
734
862
  @include custom-property('overlay-01', map-get($theme, 'overlay-01'));
735
863
  }
736
864
 
737
- @if should-emit($theme, $carbon--theme, 'danger', $emit-difference) {
738
- @include custom-property('danger', map-get($theme, 'danger'));
865
+ @if should-emit($theme, $parent-carbon-theme, 'danger-01', $emit-difference)
866
+ {
867
+ @include custom-property('danger-01', map-get($theme, 'danger-01'));
739
868
  }
740
869
 
741
- @if should-emit($theme, $carbon--theme, 'focus', $emit-difference) {
870
+ @if should-emit($theme, $parent-carbon-theme, 'danger-02', $emit-difference)
871
+ {
872
+ @include custom-property('danger-02', map-get($theme, 'danger-02'));
873
+ }
874
+
875
+ @if should-emit($theme, $parent-carbon-theme, 'focus', $emit-difference) {
742
876
  @include custom-property('focus', map-get($theme, 'focus'));
743
877
  }
744
878
 
745
879
  @if should-emit(
746
880
  $theme,
747
- $carbon--theme,
881
+ $parent-carbon-theme,
748
882
  'inverse-focus-ui',
749
883
  $emit-difference
750
884
  )
@@ -755,14 +889,25 @@
755
889
  );
756
890
  }
757
891
 
758
- @if should-emit($theme, $carbon--theme, 'hover-primary', $emit-difference) {
892
+ @if should-emit(
893
+ $theme,
894
+ $parent-carbon-theme,
895
+ 'hover-primary',
896
+ $emit-difference
897
+ )
898
+ {
759
899
  @include custom-property(
760
900
  'hover-primary',
761
901
  map-get($theme, 'hover-primary')
762
902
  );
763
903
  }
764
904
 
765
- @if should-emit($theme, $carbon--theme, 'active-primary', $emit-difference)
905
+ @if should-emit(
906
+ $theme,
907
+ $parent-carbon-theme,
908
+ 'active-primary',
909
+ $emit-difference
910
+ )
766
911
  {
767
912
  @include custom-property(
768
913
  'active-primary',
@@ -772,7 +917,7 @@
772
917
 
773
918
  @if should-emit(
774
919
  $theme,
775
- $carbon--theme,
920
+ $parent-carbon-theme,
776
921
  'hover-primary-text',
777
922
  $emit-difference
778
923
  )
@@ -783,7 +928,12 @@
783
928
  );
784
929
  }
785
930
 
786
- @if should-emit($theme, $carbon--theme, 'hover-secondary', $emit-difference)
931
+ @if should-emit(
932
+ $theme,
933
+ $parent-carbon-theme,
934
+ 'hover-secondary',
935
+ $emit-difference
936
+ )
787
937
  {
788
938
  @include custom-property(
789
939
  'hover-secondary',
@@ -793,7 +943,7 @@
793
943
 
794
944
  @if should-emit(
795
945
  $theme,
796
- $carbon--theme,
946
+ $parent-carbon-theme,
797
947
  'active-secondary',
798
948
  $emit-difference
799
949
  )
@@ -804,7 +954,12 @@
804
954
  );
805
955
  }
806
956
 
807
- @if should-emit($theme, $carbon--theme, 'hover-tertiary', $emit-difference)
957
+ @if should-emit(
958
+ $theme,
959
+ $parent-carbon-theme,
960
+ 'hover-tertiary',
961
+ $emit-difference
962
+ )
808
963
  {
809
964
  @include custom-property(
810
965
  'hover-tertiary',
@@ -812,7 +967,12 @@
812
967
  );
813
968
  }
814
969
 
815
- @if should-emit($theme, $carbon--theme, 'active-tertiary', $emit-difference)
970
+ @if should-emit(
971
+ $theme,
972
+ $parent-carbon-theme,
973
+ 'active-tertiary',
974
+ $emit-difference
975
+ )
816
976
  {
817
977
  @include custom-property(
818
978
  'active-tertiary',
@@ -820,34 +980,81 @@
820
980
  );
821
981
  }
822
982
 
823
- @if should-emit($theme, $carbon--theme, 'hover-ui', $emit-difference) {
983
+ @if should-emit($theme, $parent-carbon-theme, 'hover-ui', $emit-difference)
984
+ {
824
985
  @include custom-property('hover-ui', map-get($theme, 'hover-ui'));
825
986
  }
826
987
 
827
- @if should-emit($theme, $carbon--theme, 'active-ui', $emit-difference) {
988
+ @if should-emit(
989
+ $theme,
990
+ $parent-carbon-theme,
991
+ 'hover-light-ui',
992
+ $emit-difference
993
+ )
994
+ {
995
+ @include custom-property(
996
+ 'hover-light-ui',
997
+ map-get($theme, 'hover-light-ui')
998
+ );
999
+ }
1000
+
1001
+ @if should-emit(
1002
+ $theme,
1003
+ $parent-carbon-theme,
1004
+ 'hover-selected-ui',
1005
+ $emit-difference
1006
+ )
1007
+ {
1008
+ @include custom-property(
1009
+ 'hover-selected-ui',
1010
+ map-get($theme, 'hover-selected-ui')
1011
+ );
1012
+ }
1013
+
1014
+ @if should-emit($theme, $parent-carbon-theme, 'active-ui', $emit-difference)
1015
+ {
828
1016
  @include custom-property('active-ui', map-get($theme, 'active-ui'));
829
1017
  }
830
1018
 
831
- @if should-emit($theme, $carbon--theme, 'selected-ui', $emit-difference) {
1019
+ @if should-emit(
1020
+ $theme,
1021
+ $parent-carbon-theme,
1022
+ 'active-light-ui',
1023
+ $emit-difference
1024
+ )
1025
+ {
1026
+ @include custom-property(
1027
+ 'active-light-ui',
1028
+ map-get($theme, 'active-light-ui')
1029
+ );
1030
+ }
1031
+
1032
+ @if should-emit(
1033
+ $theme,
1034
+ $parent-carbon-theme,
1035
+ 'selected-ui',
1036
+ $emit-difference
1037
+ )
1038
+ {
832
1039
  @include custom-property('selected-ui', map-get($theme, 'selected-ui'));
833
1040
  }
834
1041
 
835
1042
  @if should-emit(
836
1043
  $theme,
837
- $carbon--theme,
838
- 'hover-selected-ui',
1044
+ $parent-carbon-theme,
1045
+ 'selected-light-ui',
839
1046
  $emit-difference
840
1047
  )
841
1048
  {
842
1049
  @include custom-property(
843
- 'hover-selected-ui',
844
- map-get($theme, 'hover-selected-ui')
1050
+ 'selected-light-ui',
1051
+ map-get($theme, 'selected-light-ui')
845
1052
  );
846
1053
  }
847
1054
 
848
1055
  @if should-emit(
849
1056
  $theme,
850
- $carbon--theme,
1057
+ $parent-carbon-theme,
851
1058
  'inverse-hover-ui',
852
1059
  $emit-difference
853
1060
  )
@@ -858,78 +1065,180 @@
858
1065
  );
859
1066
  }
860
1067
 
861
- @if should-emit($theme, $carbon--theme, 'hover-danger', $emit-difference) {
1068
+ @if should-emit(
1069
+ $theme,
1070
+ $parent-carbon-theme,
1071
+ 'hover-danger',
1072
+ $emit-difference
1073
+ )
1074
+ {
862
1075
  @include custom-property('hover-danger', map-get($theme, 'hover-danger'));
863
1076
  }
864
1077
 
865
- @if should-emit($theme, $carbon--theme, 'active-danger', $emit-difference) {
1078
+ @if should-emit(
1079
+ $theme,
1080
+ $parent-carbon-theme,
1081
+ 'active-danger',
1082
+ $emit-difference
1083
+ )
1084
+ {
866
1085
  @include custom-property(
867
1086
  'active-danger',
868
1087
  map-get($theme, 'active-danger')
869
1088
  );
870
1089
  }
871
1090
 
872
- @if should-emit($theme, $carbon--theme, 'hover-row', $emit-difference) {
1091
+ @if should-emit($theme, $parent-carbon-theme, 'hover-row', $emit-difference)
1092
+ {
873
1093
  @include custom-property('hover-row', map-get($theme, 'hover-row'));
874
1094
  }
875
1095
 
876
- @if should-emit($theme, $carbon--theme, 'visited-link', $emit-difference) {
1096
+ @if should-emit(
1097
+ $theme,
1098
+ $parent-carbon-theme,
1099
+ 'visited-link',
1100
+ $emit-difference
1101
+ )
1102
+ {
877
1103
  @include custom-property('visited-link', map-get($theme, 'visited-link'));
878
1104
  }
879
1105
 
880
- @if should-emit($theme, $carbon--theme, 'disabled-01', $emit-difference) {
1106
+ @if should-emit(
1107
+ $theme,
1108
+ $parent-carbon-theme,
1109
+ 'disabled-01',
1110
+ $emit-difference
1111
+ )
1112
+ {
881
1113
  @include custom-property('disabled-01', map-get($theme, 'disabled-01'));
882
1114
  }
883
1115
 
884
- @if should-emit($theme, $carbon--theme, 'disabled-02', $emit-difference) {
1116
+ @if should-emit(
1117
+ $theme,
1118
+ $parent-carbon-theme,
1119
+ 'disabled-02',
1120
+ $emit-difference
1121
+ )
1122
+ {
885
1123
  @include custom-property('disabled-02', map-get($theme, 'disabled-02'));
886
1124
  }
887
1125
 
888
- @if should-emit($theme, $carbon--theme, 'disabled-03', $emit-difference) {
1126
+ @if should-emit(
1127
+ $theme,
1128
+ $parent-carbon-theme,
1129
+ 'disabled-03',
1130
+ $emit-difference
1131
+ )
1132
+ {
889
1133
  @include custom-property('disabled-03', map-get($theme, 'disabled-03'));
890
1134
  }
891
1135
 
892
- @if should-emit($theme, $carbon--theme, 'highlight', $emit-difference) {
1136
+ @if should-emit($theme, $parent-carbon-theme, 'highlight', $emit-difference)
1137
+ {
893
1138
  @include custom-property('highlight', map-get($theme, 'highlight'));
894
1139
  }
895
1140
 
896
- @if should-emit($theme, $carbon--theme, 'skeleton-01', $emit-difference) {
1141
+ @if should-emit(
1142
+ $theme,
1143
+ $parent-carbon-theme,
1144
+ 'decorative-01',
1145
+ $emit-difference
1146
+ )
1147
+ {
1148
+ @include custom-property(
1149
+ 'decorative-01',
1150
+ map-get($theme, 'decorative-01')
1151
+ );
1152
+ }
1153
+
1154
+ @if should-emit(
1155
+ $theme,
1156
+ $parent-carbon-theme,
1157
+ 'button-separator',
1158
+ $emit-difference
1159
+ )
1160
+ {
1161
+ @include custom-property(
1162
+ 'button-separator',
1163
+ map-get($theme, 'button-separator')
1164
+ );
1165
+ }
1166
+
1167
+ @if should-emit(
1168
+ $theme,
1169
+ $parent-carbon-theme,
1170
+ 'skeleton-01',
1171
+ $emit-difference
1172
+ )
1173
+ {
897
1174
  @include custom-property('skeleton-01', map-get($theme, 'skeleton-01'));
898
1175
  }
899
1176
 
900
- @if should-emit($theme, $carbon--theme, 'skeleton-02', $emit-difference) {
1177
+ @if should-emit(
1178
+ $theme,
1179
+ $parent-carbon-theme,
1180
+ 'skeleton-02',
1181
+ $emit-difference
1182
+ )
1183
+ {
901
1184
  @include custom-property('skeleton-02', map-get($theme, 'skeleton-02'));
902
1185
  }
903
1186
 
904
- @if should-emit($theme, $carbon--theme, 'brand-01', $emit-difference) {
1187
+ @if should-emit($theme, $parent-carbon-theme, 'brand-01', $emit-difference)
1188
+ {
905
1189
  @include custom-property('brand-01', map-get($theme, 'brand-01'));
906
1190
  }
907
1191
 
908
- @if should-emit($theme, $carbon--theme, 'brand-02', $emit-difference) {
1192
+ @if should-emit($theme, $parent-carbon-theme, 'brand-02', $emit-difference)
1193
+ {
909
1194
  @include custom-property('brand-02', map-get($theme, 'brand-02'));
910
1195
  }
911
1196
 
912
- @if should-emit($theme, $carbon--theme, 'brand-03', $emit-difference) {
1197
+ @if should-emit($theme, $parent-carbon-theme, 'brand-03', $emit-difference)
1198
+ {
913
1199
  @include custom-property('brand-03', map-get($theme, 'brand-03'));
914
1200
  }
915
1201
 
916
- @if should-emit($theme, $carbon--theme, 'active-01', $emit-difference) {
1202
+ @if should-emit($theme, $parent-carbon-theme, 'active-01', $emit-difference)
1203
+ {
917
1204
  @include custom-property('active-01', map-get($theme, 'active-01'));
918
1205
  }
919
1206
 
920
- @if should-emit($theme, $carbon--theme, 'hover-field', $emit-difference) {
1207
+ @if should-emit(
1208
+ $theme,
1209
+ $parent-carbon-theme,
1210
+ 'hover-field',
1211
+ $emit-difference
1212
+ )
1213
+ {
921
1214
  @include custom-property('hover-field', map-get($theme, 'hover-field'));
922
1215
  }
923
1216
 
924
- @if should-emit($theme, $carbon--theme, 'caption-01', $emit-difference) {
1217
+ @if should-emit($theme, $parent-carbon-theme, 'danger', $emit-difference) {
1218
+ @include custom-property('danger', map-get($theme, 'danger'));
1219
+ }
1220
+
1221
+ @if should-emit(
1222
+ $theme,
1223
+ $parent-carbon-theme,
1224
+ 'caption-01',
1225
+ $emit-difference
1226
+ )
1227
+ {
925
1228
  @include custom-property('caption-01', map-get($theme, 'caption-01'));
926
1229
  }
927
1230
 
928
- @if should-emit($theme, $carbon--theme, 'label-01', $emit-difference) {
1231
+ @if should-emit($theme, $parent-carbon-theme, 'label-01', $emit-difference)
1232
+ {
929
1233
  @include custom-property('label-01', map-get($theme, 'label-01'));
930
1234
  }
931
1235
 
932
- @if should-emit($theme, $carbon--theme, 'helper-text-01', $emit-difference)
1236
+ @if should-emit(
1237
+ $theme,
1238
+ $parent-carbon-theme,
1239
+ 'helper-text-01',
1240
+ $emit-difference
1241
+ )
933
1242
  {
934
1243
  @include custom-property(
935
1244
  'helper-text-01',
@@ -937,43 +1246,73 @@
937
1246
  );
938
1247
  }
939
1248
 
940
- @if should-emit($theme, $carbon--theme, 'body-short-01', $emit-difference) {
1249
+ @if should-emit(
1250
+ $theme,
1251
+ $parent-carbon-theme,
1252
+ 'body-short-01',
1253
+ $emit-difference
1254
+ )
1255
+ {
941
1256
  @include custom-property(
942
1257
  'body-short-01',
943
1258
  map-get($theme, 'body-short-01')
944
1259
  );
945
1260
  }
946
1261
 
947
- @if should-emit($theme, $carbon--theme, 'body-long-01', $emit-difference) {
1262
+ @if should-emit(
1263
+ $theme,
1264
+ $parent-carbon-theme,
1265
+ 'body-long-01',
1266
+ $emit-difference
1267
+ )
1268
+ {
948
1269
  @include custom-property('body-long-01', map-get($theme, 'body-long-01'));
949
1270
  }
950
1271
 
951
- @if should-emit($theme, $carbon--theme, 'body-short-02', $emit-difference) {
1272
+ @if should-emit(
1273
+ $theme,
1274
+ $parent-carbon-theme,
1275
+ 'body-short-02',
1276
+ $emit-difference
1277
+ )
1278
+ {
952
1279
  @include custom-property(
953
1280
  'body-short-02',
954
1281
  map-get($theme, 'body-short-02')
955
1282
  );
956
1283
  }
957
1284
 
958
- @if should-emit($theme, $carbon--theme, 'body-long-02', $emit-difference) {
1285
+ @if should-emit(
1286
+ $theme,
1287
+ $parent-carbon-theme,
1288
+ 'body-long-02',
1289
+ $emit-difference
1290
+ )
1291
+ {
959
1292
  @include custom-property('body-long-02', map-get($theme, 'body-long-02'));
960
1293
  }
961
1294
 
962
- @if should-emit($theme, $carbon--theme, 'code-01', $emit-difference) {
1295
+ @if should-emit($theme, $parent-carbon-theme, 'code-01', $emit-difference) {
963
1296
  @include custom-property('code-01', map-get($theme, 'code-01'));
964
1297
  }
965
1298
 
966
- @if should-emit($theme, $carbon--theme, 'code-02', $emit-difference) {
1299
+ @if should-emit($theme, $parent-carbon-theme, 'code-02', $emit-difference) {
967
1300
  @include custom-property('code-02', map-get($theme, 'code-02'));
968
1301
  }
969
1302
 
970
- @if should-emit($theme, $carbon--theme, 'heading-01', $emit-difference) {
1303
+ @if should-emit(
1304
+ $theme,
1305
+ $parent-carbon-theme,
1306
+ 'heading-01',
1307
+ $emit-difference
1308
+ )
1309
+ {
971
1310
  @include custom-property('heading-01', map-get($theme, 'heading-01'));
972
1311
  }
973
1312
 
974
1313
  @if should-emit(
975
1314
  $theme,
976
- $carbon--theme,
1315
+ $parent-carbon-theme,
977
1316
  'productive-heading-01',
978
1317
  $emit-difference
979
1318
  )
@@ -984,13 +1323,19 @@
984
1323
  );
985
1324
  }
986
1325
 
987
- @if should-emit($theme, $carbon--theme, 'heading-02', $emit-difference) {
1326
+ @if should-emit(
1327
+ $theme,
1328
+ $parent-carbon-theme,
1329
+ 'heading-02',
1330
+ $emit-difference
1331
+ )
1332
+ {
988
1333
  @include custom-property('heading-02', map-get($theme, 'heading-02'));
989
1334
  }
990
1335
 
991
1336
  @if should-emit(
992
1337
  $theme,
993
- $carbon--theme,
1338
+ $parent-carbon-theme,
994
1339
  'productive-heading-02',
995
1340
  $emit-difference
996
1341
  )
@@ -1003,7 +1348,7 @@
1003
1348
 
1004
1349
  @if should-emit(
1005
1350
  $theme,
1006
- $carbon--theme,
1351
+ $parent-carbon-theme,
1007
1352
  'productive-heading-03',
1008
1353
  $emit-difference
1009
1354
  )
@@ -1016,7 +1361,7 @@
1016
1361
 
1017
1362
  @if should-emit(
1018
1363
  $theme,
1019
- $carbon--theme,
1364
+ $parent-carbon-theme,
1020
1365
  'productive-heading-04',
1021
1366
  $emit-difference
1022
1367
  )
@@ -1029,7 +1374,7 @@
1029
1374
 
1030
1375
  @if should-emit(
1031
1376
  $theme,
1032
- $carbon--theme,
1377
+ $parent-carbon-theme,
1033
1378
  'productive-heading-05',
1034
1379
  $emit-difference
1035
1380
  )
@@ -1042,7 +1387,7 @@
1042
1387
 
1043
1388
  @if should-emit(
1044
1389
  $theme,
1045
- $carbon--theme,
1390
+ $parent-carbon-theme,
1046
1391
  'productive-heading-06',
1047
1392
  $emit-difference
1048
1393
  )
@@ -1055,7 +1400,7 @@
1055
1400
 
1056
1401
  @if should-emit(
1057
1402
  $theme,
1058
- $carbon--theme,
1403
+ $parent-carbon-theme,
1059
1404
  'productive-heading-07',
1060
1405
  $emit-difference
1061
1406
  )
@@ -1068,7 +1413,7 @@
1068
1413
 
1069
1414
  @if should-emit(
1070
1415
  $theme,
1071
- $carbon--theme,
1416
+ $parent-carbon-theme,
1072
1417
  'expressive-heading-01',
1073
1418
  $emit-difference
1074
1419
  )
@@ -1081,7 +1426,7 @@
1081
1426
 
1082
1427
  @if should-emit(
1083
1428
  $theme,
1084
- $carbon--theme,
1429
+ $parent-carbon-theme,
1085
1430
  'expressive-heading-02',
1086
1431
  $emit-difference
1087
1432
  )
@@ -1094,7 +1439,7 @@
1094
1439
 
1095
1440
  @if should-emit(
1096
1441
  $theme,
1097
- $carbon--theme,
1442
+ $parent-carbon-theme,
1098
1443
  'expressive-heading-03',
1099
1444
  $emit-difference
1100
1445
  )
@@ -1107,7 +1452,7 @@
1107
1452
 
1108
1453
  @if should-emit(
1109
1454
  $theme,
1110
- $carbon--theme,
1455
+ $parent-carbon-theme,
1111
1456
  'expressive-heading-04',
1112
1457
  $emit-difference
1113
1458
  )
@@ -1120,7 +1465,7 @@
1120
1465
 
1121
1466
  @if should-emit(
1122
1467
  $theme,
1123
- $carbon--theme,
1468
+ $parent-carbon-theme,
1124
1469
  'expressive-heading-05',
1125
1470
  $emit-difference
1126
1471
  )
@@ -1133,7 +1478,7 @@
1133
1478
 
1134
1479
  @if should-emit(
1135
1480
  $theme,
1136
- $carbon--theme,
1481
+ $parent-carbon-theme,
1137
1482
  'expressive-heading-06',
1138
1483
  $emit-difference
1139
1484
  )
@@ -1146,7 +1491,7 @@
1146
1491
 
1147
1492
  @if should-emit(
1148
1493
  $theme,
1149
- $carbon--theme,
1494
+ $parent-carbon-theme,
1150
1495
  'expressive-paragraph-01',
1151
1496
  $emit-difference
1152
1497
  )
@@ -1157,81 +1502,189 @@
1157
1502
  );
1158
1503
  }
1159
1504
 
1160
- @if should-emit($theme, $carbon--theme, 'quotation-01', $emit-difference) {
1505
+ @if should-emit(
1506
+ $theme,
1507
+ $parent-carbon-theme,
1508
+ 'quotation-01',
1509
+ $emit-difference
1510
+ )
1511
+ {
1161
1512
  @include custom-property('quotation-01', map-get($theme, 'quotation-01'));
1162
1513
  }
1163
1514
 
1164
- @if should-emit($theme, $carbon--theme, 'quotation-02', $emit-difference) {
1515
+ @if should-emit(
1516
+ $theme,
1517
+ $parent-carbon-theme,
1518
+ 'quotation-02',
1519
+ $emit-difference
1520
+ )
1521
+ {
1165
1522
  @include custom-property('quotation-02', map-get($theme, 'quotation-02'));
1166
1523
  }
1167
1524
 
1168
- @if should-emit($theme, $carbon--theme, 'display-01', $emit-difference) {
1525
+ @if should-emit(
1526
+ $theme,
1527
+ $parent-carbon-theme,
1528
+ 'display-01',
1529
+ $emit-difference
1530
+ )
1531
+ {
1169
1532
  @include custom-property('display-01', map-get($theme, 'display-01'));
1170
1533
  }
1171
1534
 
1172
- @if should-emit($theme, $carbon--theme, 'display-02', $emit-difference) {
1535
+ @if should-emit(
1536
+ $theme,
1537
+ $parent-carbon-theme,
1538
+ 'display-02',
1539
+ $emit-difference
1540
+ )
1541
+ {
1173
1542
  @include custom-property('display-02', map-get($theme, 'display-02'));
1174
1543
  }
1175
1544
 
1176
- @if should-emit($theme, $carbon--theme, 'display-03', $emit-difference) {
1545
+ @if should-emit(
1546
+ $theme,
1547
+ $parent-carbon-theme,
1548
+ 'display-03',
1549
+ $emit-difference
1550
+ )
1551
+ {
1177
1552
  @include custom-property('display-03', map-get($theme, 'display-03'));
1178
1553
  }
1179
1554
 
1180
- @if should-emit($theme, $carbon--theme, 'display-04', $emit-difference) {
1555
+ @if should-emit(
1556
+ $theme,
1557
+ $parent-carbon-theme,
1558
+ 'display-04',
1559
+ $emit-difference
1560
+ )
1561
+ {
1181
1562
  @include custom-property('display-04', map-get($theme, 'display-04'));
1182
1563
  }
1183
1564
 
1184
- @if should-emit($theme, $carbon--theme, 'spacing-01', $emit-difference) {
1565
+ @if should-emit(
1566
+ $theme,
1567
+ $parent-carbon-theme,
1568
+ 'spacing-01',
1569
+ $emit-difference
1570
+ )
1571
+ {
1185
1572
  @include custom-property('spacing-01', map-get($theme, 'spacing-01'));
1186
1573
  }
1187
1574
 
1188
- @if should-emit($theme, $carbon--theme, 'spacing-02', $emit-difference) {
1575
+ @if should-emit(
1576
+ $theme,
1577
+ $parent-carbon-theme,
1578
+ 'spacing-02',
1579
+ $emit-difference
1580
+ )
1581
+ {
1189
1582
  @include custom-property('spacing-02', map-get($theme, 'spacing-02'));
1190
1583
  }
1191
1584
 
1192
- @if should-emit($theme, $carbon--theme, 'spacing-03', $emit-difference) {
1585
+ @if should-emit(
1586
+ $theme,
1587
+ $parent-carbon-theme,
1588
+ 'spacing-03',
1589
+ $emit-difference
1590
+ )
1591
+ {
1193
1592
  @include custom-property('spacing-03', map-get($theme, 'spacing-03'));
1194
1593
  }
1195
1594
 
1196
- @if should-emit($theme, $carbon--theme, 'spacing-04', $emit-difference) {
1595
+ @if should-emit(
1596
+ $theme,
1597
+ $parent-carbon-theme,
1598
+ 'spacing-04',
1599
+ $emit-difference
1600
+ )
1601
+ {
1197
1602
  @include custom-property('spacing-04', map-get($theme, 'spacing-04'));
1198
1603
  }
1199
1604
 
1200
- @if should-emit($theme, $carbon--theme, 'spacing-05', $emit-difference) {
1605
+ @if should-emit(
1606
+ $theme,
1607
+ $parent-carbon-theme,
1608
+ 'spacing-05',
1609
+ $emit-difference
1610
+ )
1611
+ {
1201
1612
  @include custom-property('spacing-05', map-get($theme, 'spacing-05'));
1202
1613
  }
1203
1614
 
1204
- @if should-emit($theme, $carbon--theme, 'spacing-06', $emit-difference) {
1615
+ @if should-emit(
1616
+ $theme,
1617
+ $parent-carbon-theme,
1618
+ 'spacing-06',
1619
+ $emit-difference
1620
+ )
1621
+ {
1205
1622
  @include custom-property('spacing-06', map-get($theme, 'spacing-06'));
1206
1623
  }
1207
1624
 
1208
- @if should-emit($theme, $carbon--theme, 'spacing-07', $emit-difference) {
1625
+ @if should-emit(
1626
+ $theme,
1627
+ $parent-carbon-theme,
1628
+ 'spacing-07',
1629
+ $emit-difference
1630
+ )
1631
+ {
1209
1632
  @include custom-property('spacing-07', map-get($theme, 'spacing-07'));
1210
1633
  }
1211
1634
 
1212
- @if should-emit($theme, $carbon--theme, 'spacing-08', $emit-difference) {
1635
+ @if should-emit(
1636
+ $theme,
1637
+ $parent-carbon-theme,
1638
+ 'spacing-08',
1639
+ $emit-difference
1640
+ )
1641
+ {
1213
1642
  @include custom-property('spacing-08', map-get($theme, 'spacing-08'));
1214
1643
  }
1215
1644
 
1216
- @if should-emit($theme, $carbon--theme, 'spacing-09', $emit-difference) {
1645
+ @if should-emit(
1646
+ $theme,
1647
+ $parent-carbon-theme,
1648
+ 'spacing-09',
1649
+ $emit-difference
1650
+ )
1651
+ {
1217
1652
  @include custom-property('spacing-09', map-get($theme, 'spacing-09'));
1218
1653
  }
1219
1654
 
1220
- @if should-emit($theme, $carbon--theme, 'spacing-10', $emit-difference) {
1655
+ @if should-emit(
1656
+ $theme,
1657
+ $parent-carbon-theme,
1658
+ 'spacing-10',
1659
+ $emit-difference
1660
+ )
1661
+ {
1221
1662
  @include custom-property('spacing-10', map-get($theme, 'spacing-10'));
1222
1663
  }
1223
1664
 
1224
- @if should-emit($theme, $carbon--theme, 'spacing-11', $emit-difference) {
1665
+ @if should-emit(
1666
+ $theme,
1667
+ $parent-carbon-theme,
1668
+ 'spacing-11',
1669
+ $emit-difference
1670
+ )
1671
+ {
1225
1672
  @include custom-property('spacing-11', map-get($theme, 'spacing-11'));
1226
1673
  }
1227
1674
 
1228
- @if should-emit($theme, $carbon--theme, 'spacing-12', $emit-difference) {
1675
+ @if should-emit(
1676
+ $theme,
1677
+ $parent-carbon-theme,
1678
+ 'spacing-12',
1679
+ $emit-difference
1680
+ )
1681
+ {
1229
1682
  @include custom-property('spacing-12', map-get($theme, 'spacing-12'));
1230
1683
  }
1231
1684
 
1232
1685
  @if should-emit(
1233
1686
  $theme,
1234
- $carbon--theme,
1687
+ $parent-carbon-theme,
1235
1688
  'fluid-spacing-01',
1236
1689
  $emit-difference
1237
1690
  )
@@ -1244,7 +1697,7 @@
1244
1697
 
1245
1698
  @if should-emit(
1246
1699
  $theme,
1247
- $carbon--theme,
1700
+ $parent-carbon-theme,
1248
1701
  'fluid-spacing-02',
1249
1702
  $emit-difference
1250
1703
  )
@@ -1257,7 +1710,7 @@
1257
1710
 
1258
1711
  @if should-emit(
1259
1712
  $theme,
1260
- $carbon--theme,
1713
+ $parent-carbon-theme,
1261
1714
  'fluid-spacing-03',
1262
1715
  $emit-difference
1263
1716
  )
@@ -1270,7 +1723,7 @@
1270
1723
 
1271
1724
  @if should-emit(
1272
1725
  $theme,
1273
- $carbon--theme,
1726
+ $parent-carbon-theme,
1274
1727
  'fluid-spacing-04',
1275
1728
  $emit-difference
1276
1729
  )
@@ -1281,66 +1734,118 @@
1281
1734
  );
1282
1735
  }
1283
1736
 
1284
- @if should-emit($theme, $carbon--theme, 'layout-01', $emit-difference) {
1737
+ @if should-emit($theme, $parent-carbon-theme, 'layout-01', $emit-difference)
1738
+ {
1285
1739
  @include custom-property('layout-01', map-get($theme, 'layout-01'));
1286
1740
  }
1287
1741
 
1288
- @if should-emit($theme, $carbon--theme, 'layout-02', $emit-difference) {
1742
+ @if should-emit($theme, $parent-carbon-theme, 'layout-02', $emit-difference)
1743
+ {
1289
1744
  @include custom-property('layout-02', map-get($theme, 'layout-02'));
1290
1745
  }
1291
1746
 
1292
- @if should-emit($theme, $carbon--theme, 'layout-03', $emit-difference) {
1747
+ @if should-emit($theme, $parent-carbon-theme, 'layout-03', $emit-difference)
1748
+ {
1293
1749
  @include custom-property('layout-03', map-get($theme, 'layout-03'));
1294
1750
  }
1295
1751
 
1296
- @if should-emit($theme, $carbon--theme, 'layout-04', $emit-difference) {
1752
+ @if should-emit($theme, $parent-carbon-theme, 'layout-04', $emit-difference)
1753
+ {
1297
1754
  @include custom-property('layout-04', map-get($theme, 'layout-04'));
1298
1755
  }
1299
1756
 
1300
- @if should-emit($theme, $carbon--theme, 'layout-05', $emit-difference) {
1757
+ @if should-emit($theme, $parent-carbon-theme, 'layout-05', $emit-difference)
1758
+ {
1301
1759
  @include custom-property('layout-05', map-get($theme, 'layout-05'));
1302
1760
  }
1303
1761
 
1304
- @if should-emit($theme, $carbon--theme, 'layout-06', $emit-difference) {
1762
+ @if should-emit($theme, $parent-carbon-theme, 'layout-06', $emit-difference)
1763
+ {
1305
1764
  @include custom-property('layout-06', map-get($theme, 'layout-06'));
1306
1765
  }
1307
1766
 
1308
- @if should-emit($theme, $carbon--theme, 'layout-07', $emit-difference) {
1767
+ @if should-emit($theme, $parent-carbon-theme, 'layout-07', $emit-difference)
1768
+ {
1309
1769
  @include custom-property('layout-07', map-get($theme, 'layout-07'));
1310
1770
  }
1311
1771
 
1312
- @if should-emit($theme, $carbon--theme, 'container-01', $emit-difference) {
1772
+ @if should-emit(
1773
+ $theme,
1774
+ $parent-carbon-theme,
1775
+ 'container-01',
1776
+ $emit-difference
1777
+ )
1778
+ {
1313
1779
  @include custom-property('container-01', map-get($theme, 'container-01'));
1314
1780
  }
1315
1781
 
1316
- @if should-emit($theme, $carbon--theme, 'container-02', $emit-difference) {
1782
+ @if should-emit(
1783
+ $theme,
1784
+ $parent-carbon-theme,
1785
+ 'container-02',
1786
+ $emit-difference
1787
+ )
1788
+ {
1317
1789
  @include custom-property('container-02', map-get($theme, 'container-02'));
1318
1790
  }
1319
1791
 
1320
- @if should-emit($theme, $carbon--theme, 'container-03', $emit-difference) {
1792
+ @if should-emit(
1793
+ $theme,
1794
+ $parent-carbon-theme,
1795
+ 'container-03',
1796
+ $emit-difference
1797
+ )
1798
+ {
1321
1799
  @include custom-property('container-03', map-get($theme, 'container-03'));
1322
1800
  }
1323
1801
 
1324
- @if should-emit($theme, $carbon--theme, 'container-04', $emit-difference) {
1802
+ @if should-emit(
1803
+ $theme,
1804
+ $parent-carbon-theme,
1805
+ 'container-04',
1806
+ $emit-difference
1807
+ )
1808
+ {
1325
1809
  @include custom-property('container-04', map-get($theme, 'container-04'));
1326
1810
  }
1327
1811
 
1328
- @if should-emit($theme, $carbon--theme, 'container-05', $emit-difference) {
1812
+ @if should-emit(
1813
+ $theme,
1814
+ $parent-carbon-theme,
1815
+ 'container-05',
1816
+ $emit-difference
1817
+ )
1818
+ {
1329
1819
  @include custom-property('container-05', map-get($theme, 'container-05'));
1330
1820
  }
1331
1821
 
1332
- @if should-emit($theme, $carbon--theme, 'icon-size-01', $emit-difference) {
1822
+ @if should-emit(
1823
+ $theme,
1824
+ $parent-carbon-theme,
1825
+ 'icon-size-01',
1826
+ $emit-difference
1827
+ )
1828
+ {
1333
1829
  @include custom-property('icon-size-01', map-get($theme, 'icon-size-01'));
1334
1830
  }
1335
1831
 
1336
- @if should-emit($theme, $carbon--theme, 'icon-size-02', $emit-difference) {
1832
+ @if should-emit(
1833
+ $theme,
1834
+ $parent-carbon-theme,
1835
+ 'icon-size-02',
1836
+ $emit-difference
1837
+ )
1838
+ {
1337
1839
  @include custom-property('icon-size-02', map-get($theme, 'icon-size-02'));
1338
1840
  }
1339
1841
  }
1340
1842
 
1341
1843
  @content;
1844
+
1342
1845
  // Reset to default theme after apply in content
1343
- @if $theme != $carbon--theme {
1846
+ @if $carbon--theme != $parent-carbon-theme {
1847
+ $carbon--theme: $parent-carbon-theme !global;
1848
+
1344
1849
  @include carbon--theme();
1345
1850
  }
1346
1851
  }