@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
@@ -0,0 +1,1757 @@
1
+ // Code generated by @carbon/themes. DO NOT EDIT.
2
+ //
3
+ // Copyright IBM Corp. 2018, 2019
4
+ //
5
+ // This source code is licensed under the Apache-2.0 license found in the
6
+ // LICENSE file in the root directory of this source tree.
7
+ //
8
+
9
+ /// Primary interactive color; Primary buttons
10
+ /// @type {undefined}
11
+ /// @access public
12
+ /// @group @carbon/themes
13
+ $interactive-01: if(
14
+ global-variable-exists('carbon--theme') and
15
+ map-has-key($carbon--theme, 'interactive-01'),
16
+ map-get($carbon--theme, 'interactive-01'),
17
+ #0f62fe
18
+ ) !default;
19
+
20
+ /// Secondary interactive color; Secondary button
21
+ /// @type {undefined}
22
+ /// @access public
23
+ /// @group @carbon/themes
24
+ $interactive-02: if(
25
+ global-variable-exists('carbon--theme') and
26
+ map-has-key($carbon--theme, 'interactive-02'),
27
+ map-get($carbon--theme, 'interactive-02'),
28
+ #393939
29
+ ) !default;
30
+
31
+ /// 4.5:1 AA contrast; Tertiary button
32
+ /// @type {undefined}
33
+ /// @access public
34
+ /// @group @carbon/themes
35
+ $interactive-03: if(
36
+ global-variable-exists('carbon--theme') and
37
+ map-has-key($carbon--theme, 'interactive-03'),
38
+ map-get($carbon--theme, 'interactive-03'),
39
+ #0f62fe
40
+ ) !default;
41
+
42
+ /// 3:1 AA contrast; Selected elements; Active elements; Accent icons
43
+ /// @type {undefined}
44
+ /// @access public
45
+ /// @group @carbon/themes
46
+ $interactive-04: if(
47
+ global-variable-exists('carbon--theme') and
48
+ map-has-key($carbon--theme, 'interactive-04'),
49
+ map-get($carbon--theme, 'interactive-04'),
50
+ #0f62fe
51
+ ) !default;
52
+
53
+ /// Default page background
54
+ /// @type {undefined}
55
+ /// @access public
56
+ /// @group @carbon/themes
57
+ $ui-background: if(
58
+ global-variable-exists('carbon--theme') and
59
+ map-has-key($carbon--theme, 'ui-background'),
60
+ map-get($carbon--theme, 'ui-background'),
61
+ #ffffff
62
+ ) !default;
63
+
64
+ /// Primary container background; Secondary page background
65
+ /// @type {undefined}
66
+ /// @access public
67
+ /// @group @carbon/themes
68
+ $ui-01: if(
69
+ global-variable-exists('carbon--theme') and
70
+ map-has-key($carbon--theme, 'ui-01'),
71
+ map-get($carbon--theme, 'ui-01'),
72
+ #f4f4f4
73
+ ) !default;
74
+
75
+ /// Primary page background; Secondary container background
76
+ /// @type {undefined}
77
+ /// @access public
78
+ /// @group @carbon/themes
79
+ $ui-02: if(
80
+ global-variable-exists('carbon--theme') and
81
+ map-has-key($carbon--theme, 'ui-02'),
82
+ map-get($carbon--theme, 'ui-02'),
83
+ #ffffff
84
+ ) !default;
85
+
86
+ /// Subtle border; Tertiary background color
87
+ /// @type {undefined}
88
+ /// @access public
89
+ /// @group @carbon/themes
90
+ $ui-03: if(
91
+ global-variable-exists('carbon--theme') and
92
+ map-has-key($carbon--theme, 'ui-03'),
93
+ map-get($carbon--theme, 'ui-03'),
94
+ #e0e0e0
95
+ ) !default;
96
+
97
+ /// 3:1 AA element contrast; Medium contrast border
98
+ /// @type {undefined}
99
+ /// @access public
100
+ /// @group @carbon/themes
101
+ $ui-04: if(
102
+ global-variable-exists('carbon--theme') and
103
+ map-has-key($carbon--theme, 'ui-04'),
104
+ map-get($carbon--theme, 'ui-04'),
105
+ #8d8d8d
106
+ ) !default;
107
+
108
+ /// 4.5:1 AA element contrast; High contrast border; Emphasis elements
109
+ /// @type {undefined}
110
+ /// @access public
111
+ /// @group @carbon/themes
112
+ $ui-05: if(
113
+ global-variable-exists('carbon--theme') and
114
+ map-has-key($carbon--theme, 'ui-05'),
115
+ map-get($carbon--theme, 'ui-05'),
116
+ #161616
117
+ ) !default;
118
+
119
+ /// Primary text; Body copy; Headers; Hover text color for `$text-02`
120
+ /// @type {undefined}
121
+ /// @access public
122
+ /// @group @carbon/themes
123
+ $text-01: if(
124
+ global-variable-exists('carbon--theme') and
125
+ map-has-key($carbon--theme, 'text-01'),
126
+ map-get($carbon--theme, 'text-01'),
127
+ #161616
128
+ ) !default;
129
+
130
+ /// Secondary text; Input labels; Help text
131
+ /// @type {undefined}
132
+ /// @access public
133
+ /// @group @carbon/themes
134
+ $text-02: if(
135
+ global-variable-exists('carbon--theme') and
136
+ map-has-key($carbon--theme, 'text-02'),
137
+ map-get($carbon--theme, 'text-02'),
138
+ #525252
139
+ ) !default;
140
+
141
+ /// Placeholder text
142
+ /// @type {undefined}
143
+ /// @access public
144
+ /// @group @carbon/themes
145
+ $text-03: if(
146
+ global-variable-exists('carbon--theme') and
147
+ map-has-key($carbon--theme, 'text-03'),
148
+ map-get($carbon--theme, 'text-03'),
149
+ #a8a8a8
150
+ ) !default;
151
+
152
+ /// Text on interactive colors
153
+ /// @type {undefined}
154
+ /// @access public
155
+ /// @group @carbon/themes
156
+ $text-04: if(
157
+ global-variable-exists('carbon--theme') and
158
+ map-has-key($carbon--theme, 'text-04'),
159
+ map-get($carbon--theme, 'text-04'),
160
+ #ffffff
161
+ ) !default;
162
+
163
+ /// @type {undefined}
164
+ /// @access public
165
+ /// @group @carbon/themes
166
+ $text-05: if(
167
+ global-variable-exists('carbon--theme') and
168
+ map-has-key($carbon--theme, 'text-05'),
169
+ map-get($carbon--theme, 'text-05'),
170
+ #6f6f6f
171
+ ) !default;
172
+
173
+ /// @type {undefined}
174
+ /// @access public
175
+ /// @group @carbon/themes
176
+ $text-error: if(
177
+ global-variable-exists('carbon--theme') and
178
+ map-has-key($carbon--theme, 'text-error'),
179
+ map-get($carbon--theme, 'text-error'),
180
+ #da1e28
181
+ ) !default;
182
+
183
+ /// Primary icons
184
+ /// @type {undefined}
185
+ /// @access public
186
+ /// @group @carbon/themes
187
+ $icon-01: if(
188
+ global-variable-exists('carbon--theme') and
189
+ map-has-key($carbon--theme, 'icon-01'),
190
+ map-get($carbon--theme, 'icon-01'),
191
+ #161616
192
+ ) !default;
193
+
194
+ /// Secondary icons
195
+ /// @type {undefined}
196
+ /// @access public
197
+ /// @group @carbon/themes
198
+ $icon-02: if(
199
+ global-variable-exists('carbon--theme') and
200
+ map-has-key($carbon--theme, 'icon-02'),
201
+ map-get($carbon--theme, 'icon-02'),
202
+ #525252
203
+ ) !default;
204
+
205
+ /// Tertiary icons; Icons on interactive colors; Icons on non-ui colors
206
+ /// @type {undefined}
207
+ /// @access public
208
+ /// @group @carbon/themes
209
+ $icon-03: if(
210
+ global-variable-exists('carbon--theme') and
211
+ map-has-key($carbon--theme, 'icon-03'),
212
+ map-get($carbon--theme, 'icon-03'),
213
+ #ffffff
214
+ ) !default;
215
+
216
+ /// Primary links; Ghost button
217
+ /// @type {undefined}
218
+ /// @access public
219
+ /// @group @carbon/themes
220
+ $link-01: if(
221
+ global-variable-exists('carbon--theme') and
222
+ map-has-key($carbon--theme, 'link-01'),
223
+ map-get($carbon--theme, 'link-01'),
224
+ #0f62fe
225
+ ) !default;
226
+
227
+ /// Secondary link color for lower contrast backgrounds
228
+ /// @type {undefined}
229
+ /// @access public
230
+ /// @group @carbon/themes
231
+ $link-02: if(
232
+ global-variable-exists('carbon--theme') and
233
+ map-has-key($carbon--theme, 'link-02'),
234
+ map-get($carbon--theme, 'link-02'),
235
+ #0043ce
236
+ ) !default;
237
+
238
+ /// @type {undefined}
239
+ /// @access public
240
+ /// @group @carbon/themes
241
+ $inverse-link: if(
242
+ global-variable-exists('carbon--theme') and
243
+ map-has-key($carbon--theme, 'inverse-link'),
244
+ map-get($carbon--theme, 'inverse-link'),
245
+ #78a9ff
246
+ ) !default;
247
+
248
+ /// Default input fields; Field color on $ui-backgrounds
249
+ /// @type {undefined}
250
+ /// @access public
251
+ /// @group @carbon/themes
252
+ $field-01: if(
253
+ global-variable-exists('carbon--theme') and
254
+ map-has-key($carbon--theme, 'field-01'),
255
+ map-get($carbon--theme, 'field-01'),
256
+ #f4f4f4
257
+ ) !default;
258
+
259
+ /// Input field color on `$ui-02` backgrounds
260
+ /// @type {undefined}
261
+ /// @access public
262
+ /// @group @carbon/themes
263
+ $field-02: if(
264
+ global-variable-exists('carbon--theme') and
265
+ map-has-key($carbon--theme, 'field-02'),
266
+ map-get($carbon--theme, 'field-02'),
267
+ #ffffff
268
+ ) !default;
269
+
270
+ /// Inverse text color; Inverse icon color
271
+ /// @type {undefined}
272
+ /// @access public
273
+ /// @group @carbon/themes
274
+ $inverse-01: if(
275
+ global-variable-exists('carbon--theme') and
276
+ map-has-key($carbon--theme, 'inverse-01'),
277
+ map-get($carbon--theme, 'inverse-01'),
278
+ #ffffff
279
+ ) !default;
280
+
281
+ /// High contrast backgrounds; High contrast elements
282
+ /// @type {undefined}
283
+ /// @access public
284
+ /// @group @carbon/themes
285
+ $inverse-02: if(
286
+ global-variable-exists('carbon--theme') and
287
+ map-has-key($carbon--theme, 'inverse-02'),
288
+ map-get($carbon--theme, 'inverse-02'),
289
+ #393939
290
+ ) !default;
291
+
292
+ /// Error
293
+ /// @type {undefined}
294
+ /// @access public
295
+ /// @group @carbon/themes
296
+ $support-01: if(
297
+ global-variable-exists('carbon--theme') and
298
+ map-has-key($carbon--theme, 'support-01'),
299
+ map-get($carbon--theme, 'support-01'),
300
+ #da1e28
301
+ ) !default;
302
+
303
+ /// Success
304
+ /// @type {undefined}
305
+ /// @access public
306
+ /// @group @carbon/themes
307
+ $support-02: if(
308
+ global-variable-exists('carbon--theme') and
309
+ map-has-key($carbon--theme, 'support-02'),
310
+ map-get($carbon--theme, 'support-02'),
311
+ #24a148
312
+ ) !default;
313
+
314
+ /// Warning
315
+ /// @type {undefined}
316
+ /// @access public
317
+ /// @group @carbon/themes
318
+ $support-03: if(
319
+ global-variable-exists('carbon--theme') and
320
+ map-has-key($carbon--theme, 'support-03'),
321
+ map-get($carbon--theme, 'support-03'),
322
+ #f1c21b
323
+ ) !default;
324
+
325
+ /// Information
326
+ /// @type {undefined}
327
+ /// @access public
328
+ /// @group @carbon/themes
329
+ $support-04: if(
330
+ global-variable-exists('carbon--theme') and
331
+ map-has-key($carbon--theme, 'support-04'),
332
+ map-get($carbon--theme, 'support-04'),
333
+ #0043ce
334
+ ) !default;
335
+
336
+ /// Error on high contrast backgrounds
337
+ /// @type {undefined}
338
+ /// @access public
339
+ /// @group @carbon/themes
340
+ $inverse-support-01: if(
341
+ global-variable-exists('carbon--theme') and
342
+ map-has-key($carbon--theme, 'inverse-support-01'),
343
+ map-get($carbon--theme, 'inverse-support-01'),
344
+ #fa4d56
345
+ ) !default;
346
+
347
+ /// Success on high contrast backgrounds
348
+ /// @type {undefined}
349
+ /// @access public
350
+ /// @group @carbon/themes
351
+ $inverse-support-02: if(
352
+ global-variable-exists('carbon--theme') and
353
+ map-has-key($carbon--theme, 'inverse-support-02'),
354
+ map-get($carbon--theme, 'inverse-support-02'),
355
+ #42be65
356
+ ) !default;
357
+
358
+ /// Warning on high contrast backgrounds
359
+ /// @type {undefined}
360
+ /// @access public
361
+ /// @group @carbon/themes
362
+ $inverse-support-03: if(
363
+ global-variable-exists('carbon--theme') and
364
+ map-has-key($carbon--theme, 'inverse-support-03'),
365
+ map-get($carbon--theme, 'inverse-support-03'),
366
+ #f1c21b
367
+ ) !default;
368
+
369
+ /// Information on high contrast backgrounds
370
+ /// @type {undefined}
371
+ /// @access public
372
+ /// @group @carbon/themes
373
+ $inverse-support-04: if(
374
+ global-variable-exists('carbon--theme') and
375
+ map-has-key($carbon--theme, 'inverse-support-04'),
376
+ map-get($carbon--theme, 'inverse-support-04'),
377
+ #4589ff
378
+ ) !default;
379
+
380
+ /// Background overlay
381
+ /// @type {undefined}
382
+ /// @access public
383
+ /// @group @carbon/themes
384
+ $overlay-01: if(
385
+ global-variable-exists('carbon--theme') and
386
+ map-has-key($carbon--theme, 'overlay-01'),
387
+ map-get($carbon--theme, 'overlay-01'),
388
+ rgba(22, 22, 22, 0.5)
389
+ ) !default;
390
+
391
+ /// @type {undefined}
392
+ /// @access public
393
+ /// @group @carbon/themes
394
+ $danger-01: if(
395
+ global-variable-exists('carbon--theme') and
396
+ map-has-key($carbon--theme, 'danger-01'),
397
+ map-get($carbon--theme, 'danger-01'),
398
+ #da1e28
399
+ ) !default;
400
+
401
+ /// @type {undefined}
402
+ /// @access public
403
+ /// @group @carbon/themes
404
+ $danger-02: if(
405
+ global-variable-exists('carbon--theme') and
406
+ map-has-key($carbon--theme, 'danger-02'),
407
+ map-get($carbon--theme, 'danger-02'),
408
+ #da1e28
409
+ ) !default;
410
+
411
+ /// Focus border; Focus underline
412
+ /// @type {undefined}
413
+ /// @access public
414
+ /// @group @carbon/themes
415
+ $focus: if(
416
+ global-variable-exists('carbon--theme') and
417
+ map-has-key($carbon--theme, 'focus'),
418
+ map-get($carbon--theme, 'focus'),
419
+ #0f62fe
420
+ ) !default;
421
+
422
+ /// @type {undefined}
423
+ /// @access public
424
+ /// @group @carbon/themes
425
+ $inverse-focus-ui: if(
426
+ global-variable-exists('carbon--theme') and
427
+ map-has-key($carbon--theme, 'inverse-focus-ui'),
428
+ map-get($carbon--theme, 'inverse-focus-ui'),
429
+ #ffffff
430
+ ) !default;
431
+
432
+ /// `$interactive-01` hover
433
+ /// @type {undefined}
434
+ /// @access public
435
+ /// @group @carbon/themes
436
+ $hover-primary: if(
437
+ global-variable-exists('carbon--theme') and
438
+ map-has-key($carbon--theme, 'hover-primary'),
439
+ map-get($carbon--theme, 'hover-primary'),
440
+ #0353e9
441
+ ) !default;
442
+
443
+ /// `$interactive-01` active
444
+ /// @type {undefined}
445
+ /// @access public
446
+ /// @group @carbon/themes
447
+ $active-primary: if(
448
+ global-variable-exists('carbon--theme') and
449
+ map-has-key($carbon--theme, 'active-primary'),
450
+ map-get($carbon--theme, 'active-primary'),
451
+ #002d9c
452
+ ) !default;
453
+
454
+ /// `$interactive-01` text hover
455
+ /// @type {undefined}
456
+ /// @access public
457
+ /// @group @carbon/themes
458
+ $hover-primary-text: if(
459
+ global-variable-exists('carbon--theme') and
460
+ map-has-key($carbon--theme, 'hover-primary-text'),
461
+ map-get($carbon--theme, 'hover-primary-text'),
462
+ #0043ce
463
+ ) !default;
464
+
465
+ /// `$interactive-02` hover
466
+ /// @type {undefined}
467
+ /// @access public
468
+ /// @group @carbon/themes
469
+ $hover-secondary: if(
470
+ global-variable-exists('carbon--theme') and
471
+ map-has-key($carbon--theme, 'hover-secondary'),
472
+ map-get($carbon--theme, 'hover-secondary'),
473
+ #4c4c4c
474
+ ) !default;
475
+
476
+ /// `$interactive-02` active; `$inverse-01` active
477
+ /// @type {undefined}
478
+ /// @access public
479
+ /// @group @carbon/themes
480
+ $active-secondary: if(
481
+ global-variable-exists('carbon--theme') and
482
+ map-has-key($carbon--theme, 'active-secondary'),
483
+ map-get($carbon--theme, 'active-secondary'),
484
+ #6f6f6f
485
+ ) !default;
486
+
487
+ /// `$interactive-03` hover; `$inverse-01` hover
488
+ /// @type {undefined}
489
+ /// @access public
490
+ /// @group @carbon/themes
491
+ $hover-tertiary: if(
492
+ global-variable-exists('carbon--theme') and
493
+ map-has-key($carbon--theme, 'hover-tertiary'),
494
+ map-get($carbon--theme, 'hover-tertiary'),
495
+ #0353e9
496
+ ) !default;
497
+
498
+ /// `$interactive-03` active
499
+ /// @type {undefined}
500
+ /// @access public
501
+ /// @group @carbon/themes
502
+ $active-tertiary: if(
503
+ global-variable-exists('carbon--theme') and
504
+ map-has-key($carbon--theme, 'active-tertiary'),
505
+ map-get($carbon--theme, 'active-tertiary'),
506
+ #002d9c
507
+ ) !default;
508
+
509
+ /// `$ui-01` hover; `$ui-02` hover; Transparent background hover
510
+ /// @type {undefined}
511
+ /// @access public
512
+ /// @group @carbon/themes
513
+ $hover-ui: if(
514
+ global-variable-exists('carbon--theme') and
515
+ map-has-key($carbon--theme, 'hover-ui'),
516
+ map-get($carbon--theme, 'hover-ui'),
517
+ #e5e5e5
518
+ ) !default;
519
+
520
+ /// @type {undefined}
521
+ /// @access public
522
+ /// @group @carbon/themes
523
+ $hover-light-ui: if(
524
+ global-variable-exists('carbon--theme') and
525
+ map-has-key($carbon--theme, 'hover-light-ui'),
526
+ map-get($carbon--theme, 'hover-light-ui'),
527
+ #e5e5e5
528
+ ) !default;
529
+
530
+ /// Data table selected row hover
531
+ /// @type {undefined}
532
+ /// @access public
533
+ /// @group @carbon/themes
534
+ $hover-selected-ui: if(
535
+ global-variable-exists('carbon--theme') and
536
+ map-has-key($carbon--theme, 'hover-selected-ui'),
537
+ map-get($carbon--theme, 'hover-selected-ui'),
538
+ #cacaca
539
+ ) !default;
540
+
541
+ /// `$ui-01` active; `$ui-02` active
542
+ /// @type {undefined}
543
+ /// @access public
544
+ /// @group @carbon/themes
545
+ $active-ui: if(
546
+ global-variable-exists('carbon--theme') and
547
+ map-has-key($carbon--theme, 'active-ui'),
548
+ map-get($carbon--theme, 'active-ui'),
549
+ #c6c6c6
550
+ ) !default;
551
+
552
+ /// @type {undefined}
553
+ /// @access public
554
+ /// @group @carbon/themes
555
+ $active-light-ui: if(
556
+ global-variable-exists('carbon--theme') and
557
+ map-has-key($carbon--theme, 'active-light-ui'),
558
+ map-get($carbon--theme, 'active-light-ui'),
559
+ #c6c6c6
560
+ ) !default;
561
+
562
+ /// Selected UI elements
563
+ /// @type {undefined}
564
+ /// @access public
565
+ /// @group @carbon/themes
566
+ $selected-ui: if(
567
+ global-variable-exists('carbon--theme') and
568
+ map-has-key($carbon--theme, 'selected-ui'),
569
+ map-get($carbon--theme, 'selected-ui'),
570
+ #e0e0e0
571
+ ) !default;
572
+
573
+ /// @type {undefined}
574
+ /// @access public
575
+ /// @group @carbon/themes
576
+ $selected-light-ui: if(
577
+ global-variable-exists('carbon--theme') and
578
+ map-has-key($carbon--theme, 'selected-light-ui'),
579
+ map-get($carbon--theme, 'selected-light-ui'),
580
+ #e0e0e0
581
+ ) !default;
582
+
583
+ /// @type {undefined}
584
+ /// @access public
585
+ /// @group @carbon/themes
586
+ $inverse-hover-ui: if(
587
+ global-variable-exists('carbon--theme') and
588
+ map-has-key($carbon--theme, 'inverse-hover-ui'),
589
+ map-get($carbon--theme, 'inverse-hover-ui'),
590
+ #4c4c4c
591
+ ) !default;
592
+
593
+ /// Danger hover; `$support-01` hover
594
+ /// @type {undefined}
595
+ /// @access public
596
+ /// @group @carbon/themes
597
+ $hover-danger: if(
598
+ global-variable-exists('carbon--theme') and
599
+ map-has-key($carbon--theme, 'hover-danger'),
600
+ map-get($carbon--theme, 'hover-danger'),
601
+ #b81921
602
+ ) !default;
603
+
604
+ /// Danger active; `$support-01` active
605
+ /// @type {undefined}
606
+ /// @access public
607
+ /// @group @carbon/themes
608
+ $active-danger: if(
609
+ global-variable-exists('carbon--theme') and
610
+ map-has-key($carbon--theme, 'active-danger'),
611
+ map-get($carbon--theme, 'active-danger'),
612
+ #750e13
613
+ ) !default;
614
+
615
+ /// Row hover
616
+ /// @type {undefined}
617
+ /// @access public
618
+ /// @group @carbon/themes
619
+ $hover-row: if(
620
+ global-variable-exists('carbon--theme') and
621
+ map-has-key($carbon--theme, 'hover-row'),
622
+ map-get($carbon--theme, 'hover-row'),
623
+ #e5e5e5
624
+ ) !default;
625
+
626
+ /// Visited links
627
+ /// @type {undefined}
628
+ /// @access public
629
+ /// @group @carbon/themes
630
+ $visited-link: if(
631
+ global-variable-exists('carbon--theme') and
632
+ map-has-key($carbon--theme, 'visited-link'),
633
+ map-get($carbon--theme, 'visited-link'),
634
+ #8a3ffc
635
+ ) !default;
636
+
637
+ /// Disabled fields; Disabled backgrounds; Disabled border
638
+ /// @type {undefined}
639
+ /// @access public
640
+ /// @group @carbon/themes
641
+ $disabled-01: if(
642
+ global-variable-exists('carbon--theme') and
643
+ map-has-key($carbon--theme, 'disabled-01'),
644
+ map-get($carbon--theme, 'disabled-01'),
645
+ #f4f4f4
646
+ ) !default;
647
+
648
+ /// Disabled elements on `$disabled-01`; Disabled label; Disabled text on `$disabled-01`; Disabled icons; Disabled border
649
+ /// @type {undefined}
650
+ /// @access public
651
+ /// @group @carbon/themes
652
+ $disabled-02: if(
653
+ global-variable-exists('carbon--theme') and
654
+ map-has-key($carbon--theme, 'disabled-02'),
655
+ map-get($carbon--theme, 'disabled-02'),
656
+ #c6c6c6
657
+ ) !default;
658
+
659
+ /// Disabled text on `$disabled-02`; Disabled icons on `$disabled-02`
660
+ /// @type {undefined}
661
+ /// @access public
662
+ /// @group @carbon/themes
663
+ $disabled-03: if(
664
+ global-variable-exists('carbon--theme') and
665
+ map-has-key($carbon--theme, 'disabled-03'),
666
+ map-get($carbon--theme, 'disabled-03'),
667
+ #8d8d8d
668
+ ) !default;
669
+
670
+ /// `$interactive-01` high light
671
+ /// @type {undefined}
672
+ /// @access public
673
+ /// @group @carbon/themes
674
+ $highlight: if(
675
+ global-variable-exists('carbon--theme') and
676
+ map-has-key($carbon--theme, 'highlight'),
677
+ map-get($carbon--theme, 'highlight'),
678
+ #d0e2ff
679
+ ) !default;
680
+
681
+ /// @type {undefined}
682
+ /// @access public
683
+ /// @group @carbon/themes
684
+ $decorative-01: if(
685
+ global-variable-exists('carbon--theme') and
686
+ map-has-key($carbon--theme, 'decorative-01'),
687
+ map-get($carbon--theme, 'decorative-01'),
688
+ #e0e0e0
689
+ ) !default;
690
+
691
+ /// @type {undefined}
692
+ /// @access public
693
+ /// @group @carbon/themes
694
+ $button-separator: if(
695
+ global-variable-exists('carbon--theme') and
696
+ map-has-key($carbon--theme, 'button-separator'),
697
+ map-get($carbon--theme, 'button-separator'),
698
+ #e0e0e0
699
+ ) !default;
700
+
701
+ /// Skeleton state of graphics
702
+ /// @type {undefined}
703
+ /// @access public
704
+ /// @group @carbon/themes
705
+ $skeleton-01: if(
706
+ global-variable-exists('carbon--theme') and
707
+ map-has-key($carbon--theme, 'skeleton-01'),
708
+ map-get($carbon--theme, 'skeleton-01'),
709
+ #e5e5e5
710
+ ) !default;
711
+
712
+ /// Skeleton state of text
713
+ /// @type {undefined}
714
+ /// @access public
715
+ /// @group @carbon/themes
716
+ $skeleton-02: if(
717
+ global-variable-exists('carbon--theme') and
718
+ map-has-key($carbon--theme, 'skeleton-02'),
719
+ map-get($carbon--theme, 'skeleton-02'),
720
+ #c6c6c6
721
+ ) !default;
722
+
723
+ /// @type {undefined}
724
+ /// @access public
725
+ /// @group @carbon/themes
726
+ /// @alias interactive-01
727
+ /// @deprecated
728
+ $brand-01: if(
729
+ global-variable-exists('carbon--theme') and
730
+ map-has-key($carbon--theme, 'brand-01'),
731
+ map-get($carbon--theme, 'brand-01'),
732
+ #0f62fe
733
+ ) !default;
734
+
735
+ /// @type {undefined}
736
+ /// @access public
737
+ /// @group @carbon/themes
738
+ /// @alias interactive-02
739
+ /// @deprecated
740
+ $brand-02: if(
741
+ global-variable-exists('carbon--theme') and
742
+ map-has-key($carbon--theme, 'brand-02'),
743
+ map-get($carbon--theme, 'brand-02'),
744
+ #393939
745
+ ) !default;
746
+
747
+ /// @type {undefined}
748
+ /// @access public
749
+ /// @group @carbon/themes
750
+ /// @alias interactive-03
751
+ /// @deprecated
752
+ $brand-03: if(
753
+ global-variable-exists('carbon--theme') and
754
+ map-has-key($carbon--theme, 'brand-03'),
755
+ map-get($carbon--theme, 'brand-03'),
756
+ #0f62fe
757
+ ) !default;
758
+
759
+ /// @type {undefined}
760
+ /// @access public
761
+ /// @group @carbon/themes
762
+ /// @alias active-ui
763
+ /// @deprecated
764
+ $active-01: if(
765
+ global-variable-exists('carbon--theme') and
766
+ map-has-key($carbon--theme, 'active-01'),
767
+ map-get($carbon--theme, 'active-01'),
768
+ #c6c6c6
769
+ ) !default;
770
+
771
+ /// @type {undefined}
772
+ /// @access public
773
+ /// @group @carbon/themes
774
+ /// @alias hover-ui
775
+ /// @deprecated
776
+ $hover-field: if(
777
+ global-variable-exists('carbon--theme') and
778
+ map-has-key($carbon--theme, 'hover-field'),
779
+ map-get($carbon--theme, 'hover-field'),
780
+ #e5e5e5
781
+ ) !default;
782
+
783
+ /// @type {undefined}
784
+ /// @access public
785
+ /// @group @carbon/themes
786
+ $danger: if(
787
+ global-variable-exists('carbon--theme') and
788
+ map-has-key($carbon--theme, 'danger'),
789
+ map-get($carbon--theme, 'danger'),
790
+ #da1e28
791
+ ) !default;
792
+
793
+ /// @type {Number}
794
+ /// @access public
795
+ /// @group @carbon/themes
796
+ $caption-01: if(
797
+ global-variable-exists('carbon--theme') and
798
+ map-has-key($carbon--theme, 'caption-01'),
799
+ map-get($carbon--theme, 'caption-01'),
800
+ (
801
+ font-size: 0.75rem,
802
+ font-weight: 400,
803
+ line-height: 1.34,
804
+ letter-spacing: 0.32px,
805
+ )
806
+ ) !default;
807
+
808
+ /// @type {Number}
809
+ /// @access public
810
+ /// @group @carbon/themes
811
+ $label-01: if(
812
+ global-variable-exists('carbon--theme') and
813
+ map-has-key($carbon--theme, 'label-01'),
814
+ map-get($carbon--theme, 'label-01'),
815
+ (
816
+ font-size: 0.75rem,
817
+ font-weight: 400,
818
+ line-height: 1.34,
819
+ letter-spacing: 0.32px,
820
+ )
821
+ ) !default;
822
+
823
+ /// @type {Number}
824
+ /// @access public
825
+ /// @group @carbon/themes
826
+ $helper-text-01: if(
827
+ global-variable-exists('carbon--theme') and
828
+ map-has-key($carbon--theme, 'helper-text-01'),
829
+ map-get($carbon--theme, 'helper-text-01'),
830
+ (
831
+ font-size: 0.75rem,
832
+ line-height: 1.34,
833
+ letter-spacing: 0.32px,
834
+ )
835
+ ) !default;
836
+
837
+ /// @type {Number}
838
+ /// @access public
839
+ /// @group @carbon/themes
840
+ $body-short-01: if(
841
+ global-variable-exists('carbon--theme') and
842
+ map-has-key($carbon--theme, 'body-short-01'),
843
+ map-get($carbon--theme, 'body-short-01'),
844
+ (
845
+ font-size: 0.875rem,
846
+ font-weight: 400,
847
+ line-height: 1.29,
848
+ letter-spacing: 0.16px,
849
+ )
850
+ ) !default;
851
+
852
+ /// @type {Number}
853
+ /// @access public
854
+ /// @group @carbon/themes
855
+ $body-long-01: if(
856
+ global-variable-exists('carbon--theme') and
857
+ map-has-key($carbon--theme, 'body-long-01'),
858
+ map-get($carbon--theme, 'body-long-01'),
859
+ (
860
+ font-size: 0.875rem,
861
+ font-weight: 400,
862
+ line-height: 1.43,
863
+ letter-spacing: 0.16px,
864
+ )
865
+ ) !default;
866
+
867
+ /// @type {Number}
868
+ /// @access public
869
+ /// @group @carbon/themes
870
+ $body-short-02: if(
871
+ global-variable-exists('carbon--theme') and
872
+ map-has-key($carbon--theme, 'body-short-02'),
873
+ map-get($carbon--theme, 'body-short-02'),
874
+ (
875
+ font-size: 1rem,
876
+ font-weight: 400,
877
+ line-height: 1.375,
878
+ letter-spacing: 0,
879
+ )
880
+ ) !default;
881
+
882
+ /// @type {Number}
883
+ /// @access public
884
+ /// @group @carbon/themes
885
+ $body-long-02: if(
886
+ global-variable-exists('carbon--theme') and
887
+ map-has-key($carbon--theme, 'body-long-02'),
888
+ map-get($carbon--theme, 'body-long-02'),
889
+ (
890
+ font-size: 1rem,
891
+ font-weight: 400,
892
+ line-height: 1.5,
893
+ letter-spacing: 0,
894
+ )
895
+ ) !default;
896
+
897
+ /// @type {Number}
898
+ /// @access public
899
+ /// @group @carbon/themes
900
+ $code-01: if(
901
+ global-variable-exists('carbon--theme') and
902
+ map-has-key($carbon--theme, 'code-01'),
903
+ map-get($carbon--theme, 'code-01'),
904
+ (
905
+ font-family:
906
+ unquote(
907
+ "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace"
908
+ ),
909
+ font-size: 0.75rem,
910
+ font-weight: 400,
911
+ line-height: 1.34,
912
+ letter-spacing: 0.32px,
913
+ )
914
+ ) !default;
915
+
916
+ /// @type {Number}
917
+ /// @access public
918
+ /// @group @carbon/themes
919
+ $code-02: if(
920
+ global-variable-exists('carbon--theme') and
921
+ map-has-key($carbon--theme, 'code-02'),
922
+ map-get($carbon--theme, 'code-02'),
923
+ (
924
+ font-family:
925
+ unquote(
926
+ "'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace"
927
+ ),
928
+ font-size: 0.875rem,
929
+ font-weight: 400,
930
+ line-height: 1.43,
931
+ letter-spacing: 0.32px,
932
+ )
933
+ ) !default;
934
+
935
+ /// @type {Number}
936
+ /// @access public
937
+ /// @group @carbon/themes
938
+ $heading-01: if(
939
+ global-variable-exists('carbon--theme') and
940
+ map-has-key($carbon--theme, 'heading-01'),
941
+ map-get($carbon--theme, 'heading-01'),
942
+ (
943
+ font-size: 0.875rem,
944
+ font-weight: 600,
945
+ line-height: 1.29,
946
+ letter-spacing: 0.16px,
947
+ )
948
+ ) !default;
949
+
950
+ /// @type {Number}
951
+ /// @access public
952
+ /// @group @carbon/themes
953
+ $productive-heading-01: if(
954
+ global-variable-exists('carbon--theme') and
955
+ map-has-key($carbon--theme, 'productive-heading-01'),
956
+ map-get($carbon--theme, 'productive-heading-01'),
957
+ (
958
+ font-size: 0.875rem,
959
+ font-weight: 600,
960
+ line-height: 1.29,
961
+ letter-spacing: 0.16px,
962
+ )
963
+ ) !default;
964
+
965
+ /// @type {Number}
966
+ /// @access public
967
+ /// @group @carbon/themes
968
+ $heading-02: if(
969
+ global-variable-exists('carbon--theme') and
970
+ map-has-key($carbon--theme, 'heading-02'),
971
+ map-get($carbon--theme, 'heading-02'),
972
+ (
973
+ font-size: 1rem,
974
+ font-weight: 600,
975
+ line-height: 1.375,
976
+ letter-spacing: 0,
977
+ )
978
+ ) !default;
979
+
980
+ /// @type {Number}
981
+ /// @access public
982
+ /// @group @carbon/themes
983
+ $productive-heading-02: if(
984
+ global-variable-exists('carbon--theme') and
985
+ map-has-key($carbon--theme, 'productive-heading-02'),
986
+ map-get($carbon--theme, 'productive-heading-02'),
987
+ (
988
+ font-size: 1rem,
989
+ font-weight: 600,
990
+ line-height: 1.375,
991
+ letter-spacing: 0,
992
+ )
993
+ ) !default;
994
+
995
+ /// @type {Number}
996
+ /// @access public
997
+ /// @group @carbon/themes
998
+ $productive-heading-03: if(
999
+ global-variable-exists('carbon--theme') and
1000
+ map-has-key($carbon--theme, 'productive-heading-03'),
1001
+ map-get($carbon--theme, 'productive-heading-03'),
1002
+ (
1003
+ font-size: 1.25rem,
1004
+ font-weight: 400,
1005
+ line-height: 1.4,
1006
+ letter-spacing: 0,
1007
+ )
1008
+ ) !default;
1009
+
1010
+ /// @type {Number}
1011
+ /// @access public
1012
+ /// @group @carbon/themes
1013
+ $productive-heading-04: if(
1014
+ global-variable-exists('carbon--theme') and
1015
+ map-has-key($carbon--theme, 'productive-heading-04'),
1016
+ map-get($carbon--theme, 'productive-heading-04'),
1017
+ (
1018
+ font-size: 1.75rem,
1019
+ font-weight: 400,
1020
+ line-height: 1.29,
1021
+ letter-spacing: 0,
1022
+ )
1023
+ ) !default;
1024
+
1025
+ /// @type {Number}
1026
+ /// @access public
1027
+ /// @group @carbon/themes
1028
+ $productive-heading-05: if(
1029
+ global-variable-exists('carbon--theme') and
1030
+ map-has-key($carbon--theme, 'productive-heading-05'),
1031
+ map-get($carbon--theme, 'productive-heading-05'),
1032
+ (
1033
+ font-size: 2rem,
1034
+ font-weight: 400,
1035
+ line-height: 1.25,
1036
+ letter-spacing: 0,
1037
+ )
1038
+ ) !default;
1039
+
1040
+ /// @type {Number}
1041
+ /// @access public
1042
+ /// @group @carbon/themes
1043
+ $productive-heading-06: if(
1044
+ global-variable-exists('carbon--theme') and
1045
+ map-has-key($carbon--theme, 'productive-heading-06'),
1046
+ map-get($carbon--theme, 'productive-heading-06'),
1047
+ (
1048
+ font-size: 2.625rem,
1049
+ font-weight: 300,
1050
+ line-height: 1.199,
1051
+ letter-spacing: 0,
1052
+ )
1053
+ ) !default;
1054
+
1055
+ /// @type {Number}
1056
+ /// @access public
1057
+ /// @group @carbon/themes
1058
+ $productive-heading-07: if(
1059
+ global-variable-exists('carbon--theme') and
1060
+ map-has-key($carbon--theme, 'productive-heading-07'),
1061
+ map-get($carbon--theme, 'productive-heading-07'),
1062
+ (
1063
+ font-size: 3.375rem,
1064
+ font-weight: 300,
1065
+ line-height: 1.19,
1066
+ letter-spacing: 0,
1067
+ )
1068
+ ) !default;
1069
+
1070
+ /// @type {Number}
1071
+ /// @access public
1072
+ /// @group @carbon/themes
1073
+ $expressive-heading-01: if(
1074
+ global-variable-exists('carbon--theme') and
1075
+ map-has-key($carbon--theme, 'expressive-heading-01'),
1076
+ map-get($carbon--theme, 'expressive-heading-01'),
1077
+ (
1078
+ font-size: 0.875rem,
1079
+ font-weight: 600,
1080
+ line-height: 1.25,
1081
+ letter-spacing: 0.16px,
1082
+ )
1083
+ ) !default;
1084
+
1085
+ /// @type {Number}
1086
+ /// @access public
1087
+ /// @group @carbon/themes
1088
+ $expressive-heading-02: if(
1089
+ global-variable-exists('carbon--theme') and
1090
+ map-has-key($carbon--theme, 'expressive-heading-02'),
1091
+ map-get($carbon--theme, 'expressive-heading-02'),
1092
+ (
1093
+ font-size: 1rem,
1094
+ font-weight: 600,
1095
+ line-height: 1.5,
1096
+ letter-spacing: 0,
1097
+ )
1098
+ ) !default;
1099
+
1100
+ /// @type {Number}
1101
+ /// @access public
1102
+ /// @group @carbon/themes
1103
+ $expressive-heading-03: if(
1104
+ global-variable-exists('carbon--theme') and
1105
+ map-has-key($carbon--theme, 'expressive-heading-03'),
1106
+ map-get($carbon--theme, 'expressive-heading-03'),
1107
+ (
1108
+ font-size: 1.25rem,
1109
+ font-weight: 400,
1110
+ line-height: 1.4,
1111
+ letter-spacing: 0,
1112
+ breakpoints: (
1113
+ xlg: (
1114
+ font-size: 1.25rem,
1115
+ line-height: 1.25,
1116
+ ),
1117
+ max: (
1118
+ font-size: 1.5rem,
1119
+ line-height: 1.334,
1120
+ ),
1121
+ ),
1122
+ )
1123
+ ) !default;
1124
+
1125
+ /// @type {Number}
1126
+ /// @access public
1127
+ /// @group @carbon/themes
1128
+ $expressive-heading-04: if(
1129
+ global-variable-exists('carbon--theme') and
1130
+ map-has-key($carbon--theme, 'expressive-heading-04'),
1131
+ map-get($carbon--theme, 'expressive-heading-04'),
1132
+ (
1133
+ font-size: 1.75rem,
1134
+ font-weight: 400,
1135
+ line-height: 1.29,
1136
+ letter-spacing: 0,
1137
+ breakpoints: (
1138
+ xlg: (
1139
+ font-size: 1.75rem,
1140
+ line-height: 1.25,
1141
+ ),
1142
+ max: (
1143
+ font-size: 2rem,
1144
+ ),
1145
+ ),
1146
+ )
1147
+ ) !default;
1148
+
1149
+ /// @type {Number}
1150
+ /// @access public
1151
+ /// @group @carbon/themes
1152
+ $expressive-heading-05: if(
1153
+ global-variable-exists('carbon--theme') and
1154
+ map-has-key($carbon--theme, 'expressive-heading-05'),
1155
+ map-get($carbon--theme, 'expressive-heading-05'),
1156
+ (
1157
+ font-size: 2rem,
1158
+ font-weight: 400,
1159
+ line-height: 1.25,
1160
+ letter-spacing: 0,
1161
+ breakpoints: (
1162
+ md: (
1163
+ font-size: 2.25rem,
1164
+ font-weight: 300,
1165
+ line-height: 1.22,
1166
+ letter-spacing: 0,
1167
+ ),
1168
+ lg: (
1169
+ font-size: 2.625rem,
1170
+ font-weight: 300,
1171
+ line-height: 1.19,
1172
+ letter-spacing: 0,
1173
+ ),
1174
+ xlg: (
1175
+ font-size: 3rem,
1176
+ font-weight: 300,
1177
+ line-height: 1.17,
1178
+ letter-spacing: 0,
1179
+ ),
1180
+ max: (
1181
+ font-size: 3.75rem,
1182
+ font-weight: 300,
1183
+ letter-spacing: 0,
1184
+ ),
1185
+ ),
1186
+ )
1187
+ ) !default;
1188
+
1189
+ /// @type {Number}
1190
+ /// @access public
1191
+ /// @group @carbon/themes
1192
+ $expressive-heading-06: if(
1193
+ global-variable-exists('carbon--theme') and
1194
+ map-has-key($carbon--theme, 'expressive-heading-06'),
1195
+ map-get($carbon--theme, 'expressive-heading-06'),
1196
+ (
1197
+ font-size: 2rem,
1198
+ font-weight: 600,
1199
+ line-height: 1.25,
1200
+ letter-spacing: 0,
1201
+ breakpoints: (
1202
+ md: (
1203
+ font-size: 2.25rem,
1204
+ font-weight: 600,
1205
+ line-height: 1.22,
1206
+ letter-spacing: 0,
1207
+ ),
1208
+ lg: (
1209
+ font-size: 2.625rem,
1210
+ font-weight: 600,
1211
+ line-height: 1.19,
1212
+ letter-spacing: 0,
1213
+ ),
1214
+ xlg: (
1215
+ font-size: 3rem,
1216
+ font-weight: 600,
1217
+ line-height: 1.17,
1218
+ letter-spacing: 0,
1219
+ ),
1220
+ max: (
1221
+ font-size: 3.75rem,
1222
+ font-weight: 600,
1223
+ letter-spacing: 0,
1224
+ ),
1225
+ ),
1226
+ )
1227
+ ) !default;
1228
+
1229
+ /// @type {Number}
1230
+ /// @access public
1231
+ /// @group @carbon/themes
1232
+ $expressive-paragraph-01: if(
1233
+ global-variable-exists('carbon--theme') and
1234
+ map-has-key($carbon--theme, 'expressive-paragraph-01'),
1235
+ map-get($carbon--theme, 'expressive-paragraph-01'),
1236
+ (
1237
+ font-size: 1.5rem,
1238
+ font-weight: 300,
1239
+ line-height: 1.334,
1240
+ letter-spacing: 0,
1241
+ breakpoints: (
1242
+ lg: (
1243
+ font-size: 1.75rem,
1244
+ line-height: 1.29,
1245
+ ),
1246
+ max: (
1247
+ font-size: 2rem,
1248
+ line-height: 1.25,
1249
+ ),
1250
+ ),
1251
+ )
1252
+ ) !default;
1253
+
1254
+ /// @type {Number}
1255
+ /// @access public
1256
+ /// @group @carbon/themes
1257
+ $quotation-01: if(
1258
+ global-variable-exists('carbon--theme') and
1259
+ map-has-key($carbon--theme, 'quotation-01'),
1260
+ map-get($carbon--theme, 'quotation-01'),
1261
+ (
1262
+ font-size: 1.25rem,
1263
+ font-weight: 400,
1264
+ line-height: 1.3,
1265
+ letter-spacing: 0,
1266
+ breakpoints: (
1267
+ md: (
1268
+ font-size: 1.25rem,
1269
+ font-weight: 400,
1270
+ letter-spacing: 0,
1271
+ ),
1272
+ lg: (
1273
+ font-size: 1.5rem,
1274
+ font-weight: 400,
1275
+ line-height: 1.334,
1276
+ letter-spacing: 0,
1277
+ ),
1278
+ xlg: (
1279
+ font-size: 1.75rem,
1280
+ font-weight: 400,
1281
+ line-height: 1.29,
1282
+ letter-spacing: 0,
1283
+ ),
1284
+ max: (
1285
+ font-size: 2rem,
1286
+ font-weight: 400,
1287
+ line-height: 1.25,
1288
+ letter-spacing: 0,
1289
+ ),
1290
+ ),
1291
+ )
1292
+ ) !default;
1293
+
1294
+ /// @type {Number}
1295
+ /// @access public
1296
+ /// @group @carbon/themes
1297
+ $quotation-02: if(
1298
+ global-variable-exists('carbon--theme') and
1299
+ map-has-key($carbon--theme, 'quotation-02'),
1300
+ map-get($carbon--theme, 'quotation-02'),
1301
+ (
1302
+ font-size: 2rem,
1303
+ font-weight: 300,
1304
+ line-height: 1.25,
1305
+ letter-spacing: 0,
1306
+ breakpoints: (
1307
+ md: (
1308
+ font-size: 2.25rem,
1309
+ line-height: 1.22,
1310
+ ),
1311
+ lg: (
1312
+ font-size: 2.625rem,
1313
+ line-height: 1.19,
1314
+ ),
1315
+ xlg: (
1316
+ font-size: 3rem,
1317
+ line-height: 1.17,
1318
+ ),
1319
+ max: (
1320
+ font-size: 3.75rem,
1321
+ ),
1322
+ ),
1323
+ )
1324
+ ) !default;
1325
+
1326
+ /// @type {Number}
1327
+ /// @access public
1328
+ /// @group @carbon/themes
1329
+ $display-01: if(
1330
+ global-variable-exists('carbon--theme') and
1331
+ map-has-key($carbon--theme, 'display-01'),
1332
+ map-get($carbon--theme, 'display-01'),
1333
+ (
1334
+ font-size: 2.625rem,
1335
+ font-weight: 300,
1336
+ line-height: 1.19,
1337
+ letter-spacing: 0,
1338
+ breakpoints: (
1339
+ md: (
1340
+ font-size: 2.625rem,
1341
+ ),
1342
+ lg: (
1343
+ font-size: 3.375rem,
1344
+ ),
1345
+ xlg: (
1346
+ font-size: 3.75rem,
1347
+ line-height: 1.17,
1348
+ ),
1349
+ max: (
1350
+ font-size: 4.75rem,
1351
+ line-height: 1.13,
1352
+ ),
1353
+ ),
1354
+ )
1355
+ ) !default;
1356
+
1357
+ /// @type {Number}
1358
+ /// @access public
1359
+ /// @group @carbon/themes
1360
+ $display-02: if(
1361
+ global-variable-exists('carbon--theme') and
1362
+ map-has-key($carbon--theme, 'display-02'),
1363
+ map-get($carbon--theme, 'display-02'),
1364
+ (
1365
+ font-size: 2.625rem,
1366
+ font-weight: 600,
1367
+ line-height: 1.19,
1368
+ letter-spacing: 0,
1369
+ breakpoints: (
1370
+ md: (
1371
+ font-size: 2.625rem,
1372
+ ),
1373
+ lg: (
1374
+ font-size: 3.375rem,
1375
+ ),
1376
+ xlg: (
1377
+ font-size: 3.75rem,
1378
+ line-height: 1.16,
1379
+ ),
1380
+ max: (
1381
+ font-size: 4.75rem,
1382
+ line-height: 1.13,
1383
+ ),
1384
+ ),
1385
+ )
1386
+ ) !default;
1387
+
1388
+ /// @type {Number}
1389
+ /// @access public
1390
+ /// @group @carbon/themes
1391
+ $display-03: if(
1392
+ global-variable-exists('carbon--theme') and
1393
+ map-has-key($carbon--theme, 'display-03'),
1394
+ map-get($carbon--theme, 'display-03'),
1395
+ (
1396
+ font-size: 2.625rem,
1397
+ font-weight: 300,
1398
+ line-height: 1.19,
1399
+ letter-spacing: 0,
1400
+ breakpoints: (
1401
+ md: (
1402
+ font-size: 4.25rem,
1403
+ line-height: 1.15,
1404
+ ),
1405
+ lg: (
1406
+ font-size: 5.75rem,
1407
+ line-height: 1.11,
1408
+ letter-spacing: -0.64px,
1409
+ ),
1410
+ xlg: (
1411
+ font-size: 7.625rem,
1412
+ line-height: 1.07,
1413
+ ),
1414
+ max: (
1415
+ font-size: 9.75rem,
1416
+ line-height: 1.05,
1417
+ letter-spacing: -0.96px,
1418
+ ),
1419
+ ),
1420
+ )
1421
+ ) !default;
1422
+
1423
+ /// @type {Number}
1424
+ /// @access public
1425
+ /// @group @carbon/themes
1426
+ $display-04: if(
1427
+ global-variable-exists('carbon--theme') and
1428
+ map-has-key($carbon--theme, 'display-04'),
1429
+ map-get($carbon--theme, 'display-04'),
1430
+ (
1431
+ font-size: 2.625rem,
1432
+ font-weight: 600,
1433
+ line-height: 1.19,
1434
+ letter-spacing: 0,
1435
+ breakpoints: (
1436
+ md: (
1437
+ font-size: 4.25rem,
1438
+ line-height: 1.15,
1439
+ ),
1440
+ lg: (
1441
+ font-size: 5.75rem,
1442
+ line-height: 1.11,
1443
+ letter-spacing: -0.64px,
1444
+ ),
1445
+ xlg: (
1446
+ font-size: 7.625rem,
1447
+ line-height: 1.07,
1448
+ letter-spacing: -0.64px,
1449
+ ),
1450
+ max: (
1451
+ font-size: 9.75rem,
1452
+ line-height: 1.05,
1453
+ letter-spacing: -0.96px,
1454
+ ),
1455
+ ),
1456
+ )
1457
+ ) !default;
1458
+
1459
+ /// @type {Number}
1460
+ /// @access public
1461
+ /// @group @carbon/themes
1462
+ $spacing-01: if(
1463
+ global-variable-exists('carbon--theme') and
1464
+ map-has-key($carbon--theme, 'spacing-01'),
1465
+ map-get($carbon--theme, 'spacing-01'),
1466
+ 0.125rem
1467
+ ) !default;
1468
+
1469
+ /// @type {Number}
1470
+ /// @access public
1471
+ /// @group @carbon/themes
1472
+ $spacing-02: if(
1473
+ global-variable-exists('carbon--theme') and
1474
+ map-has-key($carbon--theme, 'spacing-02'),
1475
+ map-get($carbon--theme, 'spacing-02'),
1476
+ 0.25rem
1477
+ ) !default;
1478
+
1479
+ /// @type {Number}
1480
+ /// @access public
1481
+ /// @group @carbon/themes
1482
+ $spacing-03: if(
1483
+ global-variable-exists('carbon--theme') and
1484
+ map-has-key($carbon--theme, 'spacing-03'),
1485
+ map-get($carbon--theme, 'spacing-03'),
1486
+ 0.5rem
1487
+ ) !default;
1488
+
1489
+ /// @type {Number}
1490
+ /// @access public
1491
+ /// @group @carbon/themes
1492
+ $spacing-04: if(
1493
+ global-variable-exists('carbon--theme') and
1494
+ map-has-key($carbon--theme, 'spacing-04'),
1495
+ map-get($carbon--theme, 'spacing-04'),
1496
+ 0.75rem
1497
+ ) !default;
1498
+
1499
+ /// @type {Number}
1500
+ /// @access public
1501
+ /// @group @carbon/themes
1502
+ $spacing-05: if(
1503
+ global-variable-exists('carbon--theme') and
1504
+ map-has-key($carbon--theme, 'spacing-05'),
1505
+ map-get($carbon--theme, 'spacing-05'),
1506
+ 1rem
1507
+ ) !default;
1508
+
1509
+ /// @type {Number}
1510
+ /// @access public
1511
+ /// @group @carbon/themes
1512
+ $spacing-06: if(
1513
+ global-variable-exists('carbon--theme') and
1514
+ map-has-key($carbon--theme, 'spacing-06'),
1515
+ map-get($carbon--theme, 'spacing-06'),
1516
+ 1.5rem
1517
+ ) !default;
1518
+
1519
+ /// @type {Number}
1520
+ /// @access public
1521
+ /// @group @carbon/themes
1522
+ $spacing-07: if(
1523
+ global-variable-exists('carbon--theme') and
1524
+ map-has-key($carbon--theme, 'spacing-07'),
1525
+ map-get($carbon--theme, 'spacing-07'),
1526
+ 2rem
1527
+ ) !default;
1528
+
1529
+ /// @type {Number}
1530
+ /// @access public
1531
+ /// @group @carbon/themes
1532
+ $spacing-08: if(
1533
+ global-variable-exists('carbon--theme') and
1534
+ map-has-key($carbon--theme, 'spacing-08'),
1535
+ map-get($carbon--theme, 'spacing-08'),
1536
+ 2.5rem
1537
+ ) !default;
1538
+
1539
+ /// @type {Number}
1540
+ /// @access public
1541
+ /// @group @carbon/themes
1542
+ $spacing-09: if(
1543
+ global-variable-exists('carbon--theme') and
1544
+ map-has-key($carbon--theme, 'spacing-09'),
1545
+ map-get($carbon--theme, 'spacing-09'),
1546
+ 3rem
1547
+ ) !default;
1548
+
1549
+ /// @type {Number}
1550
+ /// @access public
1551
+ /// @group @carbon/themes
1552
+ $spacing-10: if(
1553
+ global-variable-exists('carbon--theme') and
1554
+ map-has-key($carbon--theme, 'spacing-10'),
1555
+ map-get($carbon--theme, 'spacing-10'),
1556
+ 4rem
1557
+ ) !default;
1558
+
1559
+ /// @type {Number}
1560
+ /// @access public
1561
+ /// @group @carbon/themes
1562
+ $spacing-11: if(
1563
+ global-variable-exists('carbon--theme') and
1564
+ map-has-key($carbon--theme, 'spacing-11'),
1565
+ map-get($carbon--theme, 'spacing-11'),
1566
+ 5rem
1567
+ ) !default;
1568
+
1569
+ /// @type {Number}
1570
+ /// @access public
1571
+ /// @group @carbon/themes
1572
+ $spacing-12: if(
1573
+ global-variable-exists('carbon--theme') and
1574
+ map-has-key($carbon--theme, 'spacing-12'),
1575
+ map-get($carbon--theme, 'spacing-12'),
1576
+ 6rem
1577
+ ) !default;
1578
+
1579
+ /// @type {Number}
1580
+ /// @access public
1581
+ /// @group @carbon/themes
1582
+ $fluid-spacing-01: if(
1583
+ global-variable-exists('carbon--theme') and
1584
+ map-has-key($carbon--theme, 'fluid-spacing-01'),
1585
+ map-get($carbon--theme, 'fluid-spacing-01'),
1586
+ 0
1587
+ ) !default;
1588
+
1589
+ /// @type {Number}
1590
+ /// @access public
1591
+ /// @group @carbon/themes
1592
+ $fluid-spacing-02: if(
1593
+ global-variable-exists('carbon--theme') and
1594
+ map-has-key($carbon--theme, 'fluid-spacing-02'),
1595
+ map-get($carbon--theme, 'fluid-spacing-02'),
1596
+ 2vw
1597
+ ) !default;
1598
+
1599
+ /// @type {Number}
1600
+ /// @access public
1601
+ /// @group @carbon/themes
1602
+ $fluid-spacing-03: if(
1603
+ global-variable-exists('carbon--theme') and
1604
+ map-has-key($carbon--theme, 'fluid-spacing-03'),
1605
+ map-get($carbon--theme, 'fluid-spacing-03'),
1606
+ 5vw
1607
+ ) !default;
1608
+
1609
+ /// @type {Number}
1610
+ /// @access public
1611
+ /// @group @carbon/themes
1612
+ $fluid-spacing-04: if(
1613
+ global-variable-exists('carbon--theme') and
1614
+ map-has-key($carbon--theme, 'fluid-spacing-04'),
1615
+ map-get($carbon--theme, 'fluid-spacing-04'),
1616
+ 10vw
1617
+ ) !default;
1618
+
1619
+ /// @type {Number}
1620
+ /// @access public
1621
+ /// @group @carbon/themes
1622
+ $layout-01: if(
1623
+ global-variable-exists('carbon--theme') and
1624
+ map-has-key($carbon--theme, 'layout-01'),
1625
+ map-get($carbon--theme, 'layout-01'),
1626
+ 1rem
1627
+ ) !default;
1628
+
1629
+ /// @type {Number}
1630
+ /// @access public
1631
+ /// @group @carbon/themes
1632
+ $layout-02: if(
1633
+ global-variable-exists('carbon--theme') and
1634
+ map-has-key($carbon--theme, 'layout-02'),
1635
+ map-get($carbon--theme, 'layout-02'),
1636
+ 1.5rem
1637
+ ) !default;
1638
+
1639
+ /// @type {Number}
1640
+ /// @access public
1641
+ /// @group @carbon/themes
1642
+ $layout-03: if(
1643
+ global-variable-exists('carbon--theme') and
1644
+ map-has-key($carbon--theme, 'layout-03'),
1645
+ map-get($carbon--theme, 'layout-03'),
1646
+ 2rem
1647
+ ) !default;
1648
+
1649
+ /// @type {Number}
1650
+ /// @access public
1651
+ /// @group @carbon/themes
1652
+ $layout-04: if(
1653
+ global-variable-exists('carbon--theme') and
1654
+ map-has-key($carbon--theme, 'layout-04'),
1655
+ map-get($carbon--theme, 'layout-04'),
1656
+ 3rem
1657
+ ) !default;
1658
+
1659
+ /// @type {Number}
1660
+ /// @access public
1661
+ /// @group @carbon/themes
1662
+ $layout-05: if(
1663
+ global-variable-exists('carbon--theme') and
1664
+ map-has-key($carbon--theme, 'layout-05'),
1665
+ map-get($carbon--theme, 'layout-05'),
1666
+ 4rem
1667
+ ) !default;
1668
+
1669
+ /// @type {Number}
1670
+ /// @access public
1671
+ /// @group @carbon/themes
1672
+ $layout-06: if(
1673
+ global-variable-exists('carbon--theme') and
1674
+ map-has-key($carbon--theme, 'layout-06'),
1675
+ map-get($carbon--theme, 'layout-06'),
1676
+ 6rem
1677
+ ) !default;
1678
+
1679
+ /// @type {Number}
1680
+ /// @access public
1681
+ /// @group @carbon/themes
1682
+ $layout-07: if(
1683
+ global-variable-exists('carbon--theme') and
1684
+ map-has-key($carbon--theme, 'layout-07'),
1685
+ map-get($carbon--theme, 'layout-07'),
1686
+ 10rem
1687
+ ) !default;
1688
+
1689
+ /// @type {Number}
1690
+ /// @access public
1691
+ /// @group @carbon/themes
1692
+ $container-01: if(
1693
+ global-variable-exists('carbon--theme') and
1694
+ map-has-key($carbon--theme, 'container-01'),
1695
+ map-get($carbon--theme, 'container-01'),
1696
+ 1.5rem
1697
+ ) !default;
1698
+
1699
+ /// @type {Number}
1700
+ /// @access public
1701
+ /// @group @carbon/themes
1702
+ $container-02: if(
1703
+ global-variable-exists('carbon--theme') and
1704
+ map-has-key($carbon--theme, 'container-02'),
1705
+ map-get($carbon--theme, 'container-02'),
1706
+ 2rem
1707
+ ) !default;
1708
+
1709
+ /// @type {Number}
1710
+ /// @access public
1711
+ /// @group @carbon/themes
1712
+ $container-03: if(
1713
+ global-variable-exists('carbon--theme') and
1714
+ map-has-key($carbon--theme, 'container-03'),
1715
+ map-get($carbon--theme, 'container-03'),
1716
+ 2.5rem
1717
+ ) !default;
1718
+
1719
+ /// @type {Number}
1720
+ /// @access public
1721
+ /// @group @carbon/themes
1722
+ $container-04: if(
1723
+ global-variable-exists('carbon--theme') and
1724
+ map-has-key($carbon--theme, 'container-04'),
1725
+ map-get($carbon--theme, 'container-04'),
1726
+ 3rem
1727
+ ) !default;
1728
+
1729
+ /// @type {Number}
1730
+ /// @access public
1731
+ /// @group @carbon/themes
1732
+ $container-05: if(
1733
+ global-variable-exists('carbon--theme') and
1734
+ map-has-key($carbon--theme, 'container-05'),
1735
+ map-get($carbon--theme, 'container-05'),
1736
+ 4rem
1737
+ ) !default;
1738
+
1739
+ /// @type {Number}
1740
+ /// @access public
1741
+ /// @group @carbon/themes
1742
+ $icon-size-01: if(
1743
+ global-variable-exists('carbon--theme') and
1744
+ map-has-key($carbon--theme, 'icon-size-01'),
1745
+ map-get($carbon--theme, 'icon-size-01'),
1746
+ 1rem
1747
+ ) !default;
1748
+
1749
+ /// @type {Number}
1750
+ /// @access public
1751
+ /// @group @carbon/themes
1752
+ $icon-size-02: if(
1753
+ global-variable-exists('carbon--theme') and
1754
+ map-has-key($carbon--theme, 'icon-size-02'),
1755
+ map-get($carbon--theme, 'icon-size-02'),
1756
+ 1.25rem
1757
+ ) !default;