@progressiveui/styles 10.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/CHANGELOG.md +621 -0
  2. package/README.md +85 -0
  3. package/index-with-tokens.scss +26 -0
  4. package/index.scss +12 -0
  5. package/package.json +42 -0
  6. package/scss/_breakpoint.scss +2 -0
  7. package/scss/_config.scss +30 -0
  8. package/scss/_feature-flags.scss +1 -0
  9. package/scss/_font-face.scss +13 -0
  10. package/scss/_global-defaults.scss +14 -0
  11. package/scss/_grid.scss +32 -0
  12. package/scss/_motion.scss +67 -0
  13. package/scss/_reset.scss +172 -0
  14. package/scss/_spacing.scss +4 -0
  15. package/scss/_theme.scss +102 -0
  16. package/scss/_themes.scss +14 -0
  17. package/scss/_type.scss +143 -0
  18. package/scss/_zone.scss +26 -0
  19. package/scss/components/_index.scss +82 -0
  20. package/scss/components/accordion/_accordion.legacy.scss +348 -0
  21. package/scss/components/accordion/_accordion.scss +118 -0
  22. package/scss/components/accordion/_index.scss +4 -0
  23. package/scss/components/anchor-navigation/_anchor-navigation.scss +37 -0
  24. package/scss/components/anchor-navigation/_index.scss +4 -0
  25. package/scss/components/auth-layout/_auth-layout.scss +55 -0
  26. package/scss/components/auth-layout/_index.scss +11 -0
  27. package/scss/components/avatar/_avatar.scss +61 -0
  28. package/scss/components/avatar/_index.scss +4 -0
  29. package/scss/components/banner-navigation/_banner-navigation.scss +80 -0
  30. package/scss/components/banner-navigation/_index.scss +4 -0
  31. package/scss/components/blockquote/_blockquote.scss +156 -0
  32. package/scss/components/blockquote/_index.scss +4 -0
  33. package/scss/components/breadcrumb/_breadcrumb.scss +89 -0
  34. package/scss/components/breadcrumb/_index.scss +4 -0
  35. package/scss/components/button/_button.scss +520 -0
  36. package/scss/components/button/_index.scss +5 -0
  37. package/scss/components/button/_mixins.scss +92 -0
  38. package/scss/components/button/_vars.scss +69 -0
  39. package/scss/components/card/_card-external.scss +149 -0
  40. package/scss/components/card/_card.scss +138 -0
  41. package/scss/components/card/_index.scss +7 -0
  42. package/scss/components/checkbox/_checkbox.scss +195 -0
  43. package/scss/components/checkbox/_index.scss +11 -0
  44. package/scss/components/code-snippet/_code-snippet.scss +581 -0
  45. package/scss/components/code-snippet/_index.scss +11 -0
  46. package/scss/components/code-snippet/_mixins.scss +21 -0
  47. package/scss/components/col/_col.scss +54 -0
  48. package/scss/components/col/_index.scss +4 -0
  49. package/scss/components/combo-box/_combo-box.scss +45 -0
  50. package/scss/components/combo-box/_index.scss +11 -0
  51. package/scss/components/content-switcher/_content-switcher.scss +132 -0
  52. package/scss/components/content-switcher/_index.scss +11 -0
  53. package/scss/components/context-menu/_context-menu.scss +26 -0
  54. package/scss/components/context-menu/_index.scss +11 -0
  55. package/scss/components/credits/_credits.scss +30 -0
  56. package/scss/components/credits/_index.scss +11 -0
  57. package/scss/components/data-table/_data-table.scss +1005 -0
  58. package/scss/components/data-table/_index.scss +12 -0
  59. package/scss/components/data-table/_mixins.scss +38 -0
  60. package/scss/components/data-table/_vars.scss +13 -0
  61. package/scss/components/data-table/action/_data-table-action.scss +587 -0
  62. package/scss/components/data-table/action/_index.scss +11 -0
  63. package/scss/components/data-table/expandable/_data-table-expandable.scss +411 -0
  64. package/scss/components/data-table/expandable/_index.scss +11 -0
  65. package/scss/components/data-table/skeleton/_data-table-skeleton.scss +72 -0
  66. package/scss/components/data-table/skeleton/_index.scss +11 -0
  67. package/scss/components/data-table/sort/_data-table-sort.scss +245 -0
  68. package/scss/components/data-table/sort/_index.scss +11 -0
  69. package/scss/components/date-picker/_date-picker.scss +896 -0
  70. package/scss/components/date-picker/_flatpickr.scss +538 -0
  71. package/scss/components/date-picker/_index.scss +11 -0
  72. package/scss/components/date-picker-new/_date-picker-new.scss +100 -0
  73. package/scss/components/date-picker-new/_index.scss +4 -0
  74. package/scss/components/date-picker-new/react-datepicker/datepicker.scss +692 -0
  75. package/scss/components/date-picker-new/react-datepicker/mixins.scss +88 -0
  76. package/scss/components/date-picker-new/react-datepicker/variables.scss +20 -0
  77. package/scss/components/dropdown/_dropdown.scss +493 -0
  78. package/scss/components/dropdown/_index.scss +11 -0
  79. package/scss/components/empty/_empty.scss +105 -0
  80. package/scss/components/empty/_index.scss +11 -0
  81. package/scss/components/file-uploader/_file-uploader.scss +321 -0
  82. package/scss/components/file-uploader/_index.scss +11 -0
  83. package/scss/components/footer/_footer.scss +258 -0
  84. package/scss/components/footer/_footer_external.scss +153 -0
  85. package/scss/components/footer/_index.scss +14 -0
  86. package/scss/components/form/_form.scss +146 -0
  87. package/scss/components/form/_index.scss +4 -0
  88. package/scss/components/form-controls/_form-controls.scss +53 -0
  89. package/scss/components/form-controls/_index.scss +11 -0
  90. package/scss/components/form-error/_form-error.scss +25 -0
  91. package/scss/components/form-error/_index.scss +11 -0
  92. package/scss/components/form-group/_form-group.scss +109 -0
  93. package/scss/components/form-group/_index.scss +11 -0
  94. package/scss/components/form-hint/_form-hint.scss +28 -0
  95. package/scss/components/form-hint/_index.scss +11 -0
  96. package/scss/components/form-wizard/_form-wizard.scss +48 -0
  97. package/scss/components/form-wizard/_index.scss +11 -0
  98. package/scss/components/grid/_grid.scss +80 -0
  99. package/scss/components/grid/_index.scss +4 -0
  100. package/scss/components/hero/_hero-external.scss +84 -0
  101. package/scss/components/hero/_hero.scss +321 -0
  102. package/scss/components/hero/_index.scss +14 -0
  103. package/scss/components/icon/_icon.scss +19 -0
  104. package/scss/components/icon/_index.scss +11 -0
  105. package/scss/components/info-bar/_index.scss +11 -0
  106. package/scss/components/info-bar/_info-bar.scss +21 -0
  107. package/scss/components/inline-loading/_index.scss +11 -0
  108. package/scss/components/inline-loading/_inline-loading.scss +159 -0
  109. package/scss/components/inline-loading/_keyframes.scss +12 -0
  110. package/scss/components/input/_index.scss +11 -0
  111. package/scss/components/input/_input.scss +87 -0
  112. package/scss/components/input/_vars.scss +31 -0
  113. package/scss/components/item/_index.scss +11 -0
  114. package/scss/components/item/_item.scss +227 -0
  115. package/scss/components/link/_index.scss +11 -0
  116. package/scss/components/link/_link.scss +109 -0
  117. package/scss/components/list/_index.scss +4 -0
  118. package/scss/components/list/_list.scss +144 -0
  119. package/scss/components/list-box/_index.scss +11 -0
  120. package/scss/components/list-box/_list-box.scss +813 -0
  121. package/scss/components/loading/_animation.scss +39 -0
  122. package/scss/components/loading/_functions.scss +10 -0
  123. package/scss/components/loading/_index.scss +11 -0
  124. package/scss/components/loading/_keyframes.scss +48 -0
  125. package/scss/components/loading/_loading.scss +72 -0
  126. package/scss/components/loading/_mixins.scss +42 -0
  127. package/scss/components/loading/_vars.scss +26 -0
  128. package/scss/components/main-navigation/_index.scss +14 -0
  129. package/scss/components/main-navigation/_main-navigation.scss +360 -0
  130. package/scss/components/main-navigation/_main-navigation_external.scss +527 -0
  131. package/scss/components/menu/_index.scss +11 -0
  132. package/scss/components/menu/_menu.scss +143 -0
  133. package/scss/components/modal/_index.scss +11 -0
  134. package/scss/components/modal/_mixins.scss +10 -0
  135. package/scss/components/modal/_modal.scss +224 -0
  136. package/scss/components/module/_index.scss +4 -0
  137. package/scss/components/module/_module.scss +199 -0
  138. package/scss/components/multiselect/_index.scss +11 -0
  139. package/scss/components/multiselect/_multiselect.scss +103 -0
  140. package/scss/components/notification/_index.scss +21 -0
  141. package/scss/components/notification/_inline-notification.scss +321 -0
  142. package/scss/components/notification/_mixins.scss +41 -0
  143. package/scss/components/notification/_notification.scss +480 -0
  144. package/scss/components/notification/_toast-notification.scss +249 -0
  145. package/scss/components/notification/_tokens.scss +126 -0
  146. package/scss/components/number-input/_index.scss +11 -0
  147. package/scss/components/number-input/_number-input.scss +195 -0
  148. package/scss/components/overflow-menu/_index.scss +11 -0
  149. package/scss/components/overflow-menu/_overflow-menu.scss +351 -0
  150. package/scss/components/pagination/_index.scss +11 -0
  151. package/scss/components/pagination/_pagination.scss +214 -0
  152. package/scss/components/pagination-nav/_index.scss +11 -0
  153. package/scss/components/pagination-nav/_mixins.scss +38 -0
  154. package/scss/components/pagination-nav/_pagination-nav.scss +171 -0
  155. package/scss/components/popover/_index.scss +11 -0
  156. package/scss/components/popover/_popover.scss +323 -0
  157. package/scss/components/progress-bar/_index.scss +11 -0
  158. package/scss/components/progress-bar/_progress-bar.scss +82 -0
  159. package/scss/components/progress-indicator/_index.scss +11 -0
  160. package/scss/components/progress-indicator/_progress-indicator.scss +328 -0
  161. package/scss/components/radio-button/_index.scss +4 -0
  162. package/scss/components/radio-button/_radio-button.scss +239 -0
  163. package/scss/components/react-dropzone/_index.scss +11 -0
  164. package/scss/components/react-dropzone/_react-dropzone.scss +58 -0
  165. package/scss/components/react-select/_index.scss +11 -0
  166. package/scss/components/react-select/_react-select.scss +90 -0
  167. package/scss/components/read-more/_index.scss +11 -0
  168. package/scss/components/read-more/_read-more.scss +102 -0
  169. package/scss/components/search/_index.scss +4 -0
  170. package/scss/components/search/_search.scss +436 -0
  171. package/scss/components/secondary-navigation/_index.scss +4 -0
  172. package/scss/components/secondary-navigation/_secondary-navigation.scss +61 -0
  173. package/scss/components/select/_index.scss +11 -0
  174. package/scss/components/select/_select.scss +224 -0
  175. package/scss/components/sidebar/_index.scss +11 -0
  176. package/scss/components/sidebar/_sidebar.scss +118 -0
  177. package/scss/components/skeleton-text/_index.scss +4 -0
  178. package/scss/components/skeleton-text/_skeleton-text.scss +22 -0
  179. package/scss/components/slider/_index.scss +4 -0
  180. package/scss/components/slider/_slider.scss +274 -0
  181. package/scss/components/step-navigation/_index.scss +4 -0
  182. package/scss/components/step-navigation/_step-navigation.scss +136 -0
  183. package/scss/components/step-navigation-item/_index.scss +4 -0
  184. package/scss/components/step-navigation-item/_step-navigation-item.scss +377 -0
  185. package/scss/components/story/_index.scss +11 -0
  186. package/scss/components/story/_story.scss +519 -0
  187. package/scss/components/structured-list/_index.scss +11 -0
  188. package/scss/components/structured-list/_mixins.scss +59 -0
  189. package/scss/components/structured-list/_structured-list.scss +235 -0
  190. package/scss/components/sub-navigation/_index.scss +4 -0
  191. package/scss/components/sub-navigation/_sub-navigation.scss +113 -0
  192. package/scss/components/table/_index.scss +11 -0
  193. package/scss/components/table/table.scss +88 -0
  194. package/scss/components/tabs/_index.scss +4 -0
  195. package/scss/components/tabs/_tabs.scss +185 -0
  196. package/scss/components/tabs/_vars.scss +23 -0
  197. package/scss/components/tag/_index.scss +12 -0
  198. package/scss/components/tag/_mixins.scss +19 -0
  199. package/scss/components/tag/_tag.scss +137 -0
  200. package/scss/components/tag/_tokens.scss +702 -0
  201. package/scss/components/text-area/_index.scss +11 -0
  202. package/scss/components/text-area/_text-area.scss +120 -0
  203. package/scss/components/text-input/_index.scss +11 -0
  204. package/scss/components/text-input/_text-input.scss +19 -0
  205. package/scss/components/tile/_index.scss +11 -0
  206. package/scss/components/tile/_tile.scss +269 -0
  207. package/scss/components/time-picker/_index.scss +11 -0
  208. package/scss/components/time-picker/_time-picker.scss +94 -0
  209. package/scss/components/toggle/_index.scss +11 -0
  210. package/scss/components/toggle/_toggle.scss +192 -0
  211. package/scss/components/tooltip/_index.scss +11 -0
  212. package/scss/components/tooltip/_mixins.scss +107 -0
  213. package/scss/components/tooltip/_tooltip.scss +128 -0
  214. package/scss/components/tooltip/_vars.scss +6 -0
  215. package/scss/components/tooltip/animations/fade.scss +10 -0
  216. package/scss/components/tooltip/themes/light-border.scss +158 -0
  217. package/scss/components/tooltip/themes/light.scss +28 -0
  218. package/scss/components/treeview/_index.scss +11 -0
  219. package/scss/components/treeview/_treeview.scss +177 -0
  220. package/scss/components/ui-shell/_functions.scss +19 -0
  221. package/scss/components/ui-shell/_index.scss +11 -0
  222. package/scss/components/ui-shell/_mixins.scss +56 -0
  223. package/scss/components/ui-shell/_ui-shell.scss +23 -0
  224. package/scss/components/ui-shell/content/_content.scss +34 -0
  225. package/scss/components/ui-shell/content/_index.scss +11 -0
  226. package/scss/components/ui-shell/header/_header.scss +382 -0
  227. package/scss/components/ui-shell/header/_index.scss +11 -0
  228. package/scss/components/ui-shell/header-panel/_header-panel.scss +41 -0
  229. package/scss/components/ui-shell/header-panel/_index.scss +11 -0
  230. package/scss/components/ui-shell/side-nav/_index.scss +11 -0
  231. package/scss/components/ui-shell/side-nav/_side-nav.scss +526 -0
  232. package/scss/components/ui-shell/switcher/_index.scss +11 -0
  233. package/scss/components/ui-shell/switcher/_switcher.scss +78 -0
  234. package/scss/components/unit/_index.scss +11 -0
  235. package/scss/components/unit/_unit.scss +277 -0
  236. package/scss/components/user/_index.scss +11 -0
  237. package/scss/components/user/_user.scss +104 -0
  238. package/scss/components/value/_index.scss +11 -0
  239. package/scss/components/value/_value.scss +41 -0
  240. package/scss/components/wrapper/_index.scss +11 -0
  241. package/scss/components/wrapper/_wrapper.scss +71 -0
  242. package/scss/utilities/_box-shadow.scss +14 -0
  243. package/scss/utilities/_button-reset.scss +31 -0
  244. package/scss/utilities/_component-reset.scss +25 -0
  245. package/scss/utilities/_component-tokens.scss +27 -0
  246. package/scss/utilities/_convert.scss +41 -0
  247. package/scss/utilities/_custom-property.scss +56 -0
  248. package/scss/utilities/_focus-outline.scss +68 -0
  249. package/scss/utilities/_high-contrast-mode.scss +37 -0
  250. package/scss/utilities/_index.scss +24 -0
  251. package/scss/utilities/_input-base.scss +63 -0
  252. package/scss/utilities/_keyframes.scss +76 -0
  253. package/scss/utilities/_layer-set.scss +31 -0
  254. package/scss/utilities/_layer.scss +52 -0
  255. package/scss/utilities/_placeholder-colors.scss +10 -0
  256. package/scss/utilities/_read-only.scss +19 -0
  257. package/scss/utilities/_rotate.scss +19 -0
  258. package/scss/utilities/_rtl.scss +21 -0
  259. package/scss/utilities/_skeleton.scss +44 -0
  260. package/scss/utilities/_text-gradient.scss +20 -0
  261. package/scss/utilities/_text-overflow.scss +23 -0
  262. package/scss/utilities/_text-truncate.scss +29 -0
  263. package/scss/utilities/_visually-hidden.scss +38 -0
  264. package/scss/utilities/_z-index.scss +38 -0
  265. package/styles.css +1 -0
@@ -0,0 +1,702 @@
1
+ //
2
+ // Copyright IBM Corp. 2020
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ @use 'sass:color';
9
+ @use '../../colors';
10
+ @use '../../theme' as *;
11
+ @use '../../themes';
12
+ @use '../../utilities/component-tokens';
13
+ @use '../../utilities/custom-property';
14
+
15
+ // prettier-ignore
16
+ $-tokens: (
17
+ // red
18
+ 'tag-background-red': (
19
+ fallback: colors.$red-20,
20
+ values: (
21
+ (
22
+ theme: themes.$white,
23
+ value: colors.$red-20,
24
+ ),
25
+ (
26
+ theme: themes.$g10,
27
+ value: colors.$red-20,
28
+ ),
29
+ (
30
+ theme: themes.$g90,
31
+ value: colors.$red-80,
32
+ ),
33
+ (
34
+ theme: themes.$g100,
35
+ value: colors.$red-80,
36
+ ),
37
+ ),
38
+ ),
39
+ 'tag-color-red': (
40
+ fallback: colors.$red-80,
41
+ values: (
42
+ (
43
+ theme: themes.$white,
44
+ value: colors.$red-80,
45
+ ),
46
+ (
47
+ theme: themes.$g10,
48
+ value: colors.$red-80,
49
+ ),
50
+ (
51
+ theme: themes.$g90,
52
+ value: colors.$red-30,
53
+ ),
54
+ (
55
+ theme: themes.$g100,
56
+ value: colors.$red-30,
57
+ ),
58
+ ),
59
+ ),
60
+ 'tag-hover-red': (
61
+ fallback: colors.$red-30,
62
+ values: (
63
+ (
64
+ theme: themes.$white,
65
+ value: colors.$red-30,
66
+ ),
67
+ (
68
+ theme: themes.$g10,
69
+ value: colors.$red-30,
70
+ ),
71
+ (
72
+ theme: themes.$g90,
73
+ value: colors.$red-70,
74
+ ),
75
+ (
76
+ theme: themes.$g100,
77
+ value: colors.$red-70,
78
+ ),
79
+ ),
80
+ ),
81
+
82
+ // magenta
83
+ 'tag-background-magenta': (
84
+ fallback: colors.$magenta-20,
85
+ values: (
86
+ (
87
+ theme: themes.$white,
88
+ value: colors.$magenta-20,
89
+ ),
90
+ (
91
+ theme: themes.$g10,
92
+ value: colors.$magenta-20,
93
+ ),
94
+ (
95
+ theme: themes.$g90,
96
+ value: colors.$magenta-80,
97
+ ),
98
+ (
99
+ theme: themes.$g100,
100
+ value: colors.$magenta-80,
101
+ ),
102
+ ),
103
+ ),
104
+ 'tag-color-magenta': (
105
+ fallback: colors.$magenta-80,
106
+ values: (
107
+ (
108
+ theme: themes.$white,
109
+ value: colors.$magenta-80,
110
+ ),
111
+ (
112
+ theme: themes.$g10,
113
+ value: colors.$magenta-80,
114
+ ),
115
+ (
116
+ theme: themes.$g90,
117
+ value: colors.$magenta-30,
118
+ ),
119
+ (
120
+ theme: themes.$g100,
121
+ value: colors.$magenta-30,
122
+ ),
123
+ ),
124
+ ),
125
+ 'tag-hover-magenta': (
126
+ fallback: colors.$magenta-30,
127
+ values: (
128
+ (
129
+ theme: themes.$white,
130
+ value: colors.$magenta-30,
131
+ ),
132
+ (
133
+ theme: themes.$g10,
134
+ value: colors.$magenta-30,
135
+ ),
136
+ (
137
+ theme: themes.$g90,
138
+ value: colors.$magenta-70,
139
+ ),
140
+ (
141
+ theme: themes.$g100,
142
+ value: colors.$magenta-70,
143
+ ),
144
+ ),
145
+ ),
146
+
147
+ // purple
148
+ 'tag-background-purple': (
149
+ fallback: colors.$purple-20,
150
+ values: (
151
+ (
152
+ theme: themes.$white,
153
+ value: colors.$purple-20,
154
+ ),
155
+ (
156
+ theme: themes.$g10,
157
+ value: colors.$purple-20,
158
+ ),
159
+ (
160
+ theme: themes.$g90,
161
+ value: colors.$purple-80,
162
+ ),
163
+ (
164
+ theme: themes.$g100,
165
+ value: colors.$purple-80,
166
+ ),
167
+ ),
168
+ ),
169
+ 'tag-color-purple': (
170
+ fallback: colors.$purple-80,
171
+ values: (
172
+ (
173
+ theme: themes.$white,
174
+ value: colors.$purple-80,
175
+ ),
176
+ (
177
+ theme: themes.$g10,
178
+ value: colors.$purple-80,
179
+ ),
180
+ (
181
+ theme: themes.$g90,
182
+ value: colors.$purple-30,
183
+ ),
184
+ (
185
+ theme: themes.$g100,
186
+ value: colors.$purple-30,
187
+ ),
188
+ ),
189
+ ),
190
+ 'tag-hover-purple': (
191
+ fallback: colors.$purple-30,
192
+ values: (
193
+ (
194
+ theme: themes.$white,
195
+ value: colors.$purple-30,
196
+ ),
197
+ (
198
+ theme: themes.$g10,
199
+ value: colors.$purple-30,
200
+ ),
201
+ (
202
+ theme: themes.$g90,
203
+ value: colors.$purple-70,
204
+ ),
205
+ (
206
+ theme: themes.$g100,
207
+ value: colors.$purple-70,
208
+ ),
209
+ ),
210
+ ),
211
+
212
+ // blue
213
+ 'tag-background-blue': (
214
+ fallback: colors.$blue-20,
215
+ values: (
216
+ (
217
+ theme: themes.$white,
218
+ value: colors.$blue-20,
219
+ ),
220
+ (
221
+ theme: themes.$g10,
222
+ value: colors.$blue-20,
223
+ ),
224
+ (
225
+ theme: themes.$g90,
226
+ value: colors.$blue-80,
227
+ ),
228
+ (
229
+ theme: themes.$g100,
230
+ value: colors.$blue-80,
231
+ ),
232
+ ),
233
+ ),
234
+ 'tag-color-blue': (
235
+ fallback: colors.$blue-80,
236
+ values: (
237
+ (
238
+ theme: themes.$white,
239
+ value: colors.$blue-80,
240
+ ),
241
+ (
242
+ theme: themes.$g10,
243
+ value: colors.$blue-80,
244
+ ),
245
+ (
246
+ theme: themes.$g90,
247
+ value: colors.$blue-30,
248
+ ),
249
+ (
250
+ theme: themes.$g100,
251
+ value: colors.$blue-30,
252
+ ),
253
+ ),
254
+ ),
255
+ 'tag-hover-blue': (
256
+ fallback: colors.$blue-30,
257
+ values: (
258
+ (
259
+ theme: themes.$white,
260
+ value: colors.$blue-30,
261
+ ),
262
+ (
263
+ theme: themes.$g10,
264
+ value: colors.$blue-30,
265
+ ),
266
+ (
267
+ theme: themes.$g90,
268
+ value: colors.$blue-70,
269
+ ),
270
+ (
271
+ theme: themes.$g100,
272
+ value: colors.$blue-70,
273
+ ),
274
+ ),
275
+ ),
276
+
277
+ // cyan
278
+ 'tag-background-cyan': (
279
+ fallback: colors.$cyan-20,
280
+ values: (
281
+ (
282
+ theme: themes.$white,
283
+ value: colors.$cyan-20,
284
+ ),
285
+ (
286
+ theme: themes.$g10,
287
+ value: colors.$cyan-20,
288
+ ),
289
+ (
290
+ theme: themes.$g90,
291
+ value: colors.$cyan-80,
292
+ ),
293
+ (
294
+ theme: themes.$g100,
295
+ value: colors.$cyan-80,
296
+ ),
297
+ ),
298
+ ),
299
+ 'tag-color-cyan': (
300
+ fallback: colors.$cyan-80,
301
+ values: (
302
+ (
303
+ theme: themes.$white,
304
+ value: colors.$cyan-80,
305
+ ),
306
+ (
307
+ theme: themes.$g10,
308
+ value: colors.$cyan-80,
309
+ ),
310
+ (
311
+ theme: themes.$g90,
312
+ value: colors.$cyan-30,
313
+ ),
314
+ (
315
+ theme: themes.$g100,
316
+ value: colors.$cyan-30,
317
+ ),
318
+ ),
319
+ ),
320
+ 'tag-hover-cyan': (
321
+ fallback: colors.$cyan-30,
322
+ values: (
323
+ (
324
+ theme: themes.$white,
325
+ value: colors.$cyan-30,
326
+ ),
327
+ (
328
+ theme: themes.$g10,
329
+ value: colors.$cyan-30,
330
+ ),
331
+ (
332
+ theme: themes.$g90,
333
+ value: colors.$cyan-70,
334
+ ),
335
+ (
336
+ theme: themes.$g100,
337
+ value: colors.$cyan-70,
338
+ ),
339
+ ),
340
+ ),
341
+
342
+ // teal
343
+ 'tag-background-teal': (
344
+ fallback: colors.$teal-20,
345
+ values: (
346
+ (
347
+ theme: themes.$white,
348
+ value: colors.$teal-20,
349
+ ),
350
+ (
351
+ theme: themes.$g10,
352
+ value: colors.$teal-20,
353
+ ),
354
+ (
355
+ theme: themes.$g90,
356
+ value: colors.$teal-80,
357
+ ),
358
+ (
359
+ theme: themes.$g100,
360
+ value: colors.$teal-80,
361
+ ),
362
+ ),
363
+ ),
364
+ 'tag-color-teal': (
365
+ fallback: colors.$teal-80,
366
+ values: (
367
+ (
368
+ theme: themes.$white,
369
+ value: colors.$teal-80,
370
+ ),
371
+ (
372
+ theme: themes.$g10,
373
+ value: colors.$teal-80,
374
+ ),
375
+ (
376
+ theme: themes.$g90,
377
+ value: colors.$teal-30,
378
+ ),
379
+ (
380
+ theme: themes.$g100,
381
+ value: colors.$teal-30,
382
+ ),
383
+ ),
384
+ ),
385
+ 'tag-hover-teal': (
386
+ fallback: colors.$teal-30,
387
+ values: (
388
+ (
389
+ theme: themes.$white,
390
+ value: colors.$teal-30,
391
+ ),
392
+ (
393
+ theme: themes.$g10,
394
+ value: colors.$teal-30,
395
+ ),
396
+ (
397
+ theme: themes.$g90,
398
+ value: colors.$teal-70,
399
+ ),
400
+ (
401
+ theme: themes.$g100,
402
+ value: colors.$teal-70,
403
+ ),
404
+ ),
405
+ ),
406
+
407
+ // green
408
+ 'tag-background-green': (
409
+ fallback: colors.$green-20,
410
+ values: (
411
+ (
412
+ theme: themes.$white,
413
+ value: colors.$green-20,
414
+ ),
415
+ (
416
+ theme: themes.$g10,
417
+ value: colors.$green-20,
418
+ ),
419
+ (
420
+ theme: themes.$g90,
421
+ value: colors.$green-80,
422
+ ),
423
+ (
424
+ theme: themes.$g100,
425
+ value: colors.$green-80,
426
+ ),
427
+ ),
428
+ ),
429
+ 'tag-color-green': (
430
+ fallback: colors.$green-80,
431
+ values: (
432
+ (
433
+ theme: themes.$white,
434
+ value: colors.$green-80,
435
+ ),
436
+ (
437
+ theme: themes.$g10,
438
+ value: colors.$green-80,
439
+ ),
440
+ (
441
+ theme: themes.$g90,
442
+ value: colors.$green-30,
443
+ ),
444
+ (
445
+ theme: themes.$g100,
446
+ value: colors.$green-30,
447
+ ),
448
+ ),
449
+ ),
450
+ 'tag-hover-green': (
451
+ fallback: colors.$green-30,
452
+ values: (
453
+ (
454
+ theme: themes.$white,
455
+ value: colors.$green-30,
456
+ ),
457
+ (
458
+ theme: themes.$g10,
459
+ value: colors.$green-30,
460
+ ),
461
+ (
462
+ theme: themes.$g90,
463
+ value: colors.$green-70,
464
+ ),
465
+ (
466
+ theme: themes.$g100,
467
+ value: colors.$green-70,
468
+ ),
469
+ ),
470
+ ),
471
+
472
+ // gray
473
+ 'tag-background-gray': (
474
+ fallback: colors.$gray-20,
475
+ values: (
476
+ (
477
+ theme: themes.$white,
478
+ value: colors.$gray-20,
479
+ ),
480
+ (
481
+ theme: themes.$g10,
482
+ value: colors.$gray-20,
483
+ ),
484
+ (
485
+ theme: themes.$g90,
486
+ value: colors.$gray-80,
487
+ ),
488
+ (
489
+ theme: themes.$g100,
490
+ value: colors.$gray-80,
491
+ ),
492
+ ),
493
+ ),
494
+ 'tag-color-gray': (
495
+ fallback: colors.$gray-80,
496
+ values: (
497
+ (
498
+ theme: themes.$white,
499
+ value: colors.$gray-80,
500
+ ),
501
+ (
502
+ theme: themes.$g10,
503
+ value: colors.$gray-80,
504
+ ),
505
+ (
506
+ theme: themes.$g90,
507
+ value: colors.$gray-30,
508
+ ),
509
+ (
510
+ theme: themes.$g100,
511
+ value: colors.$gray-30,
512
+ ),
513
+ ),
514
+ ),
515
+ 'tag-hover-gray': (
516
+ fallback: colors.$gray-30,
517
+ values: (
518
+ (
519
+ theme: themes.$white,
520
+ value: colors.$gray-30,
521
+ ),
522
+ (
523
+ theme: themes.$g10,
524
+ value: colors.$gray-30,
525
+ ),
526
+ (
527
+ theme: themes.$g90,
528
+ value: colors.$gray-70,
529
+ ),
530
+ (
531
+ theme: themes.$g100,
532
+ value: colors.$gray-70,
533
+ ),
534
+ ),
535
+ ),
536
+
537
+ // cool-gray
538
+ 'tag-background-cool-gray': (
539
+ fallback: colors.$cool-gray-20,
540
+ values: (
541
+ (
542
+ theme: themes.$white,
543
+ value: colors.$cool-gray-20,
544
+ ),
545
+ (
546
+ theme: themes.$g10,
547
+ value: colors.$cool-gray-20,
548
+ ),
549
+ (
550
+ theme: themes.$g90,
551
+ value: colors.$cool-gray-80,
552
+ ),
553
+ (
554
+ theme: themes.$g100,
555
+ value: colors.$cool-gray-80,
556
+ ),
557
+ ),
558
+ ),
559
+ 'tag-color-cool-gray': (
560
+ fallback: colors.$cool-gray-80,
561
+ values: (
562
+ (
563
+ theme: themes.$white,
564
+ value: colors.$cool-gray-80,
565
+ ),
566
+ (
567
+ theme: themes.$g10,
568
+ value: colors.$cool-gray-80,
569
+ ),
570
+ (
571
+ theme: themes.$g90,
572
+ value: colors.$cool-gray-30,
573
+ ),
574
+ (
575
+ theme: themes.$g100,
576
+ value: colors.$cool-gray-30,
577
+ ),
578
+ ),
579
+ ),
580
+ 'tag-hover-cool-gray': (
581
+ fallback: colors.$cool-gray-30,
582
+ values: (
583
+ (
584
+ theme: themes.$white,
585
+ value: colors.$cool-gray-30,
586
+ ),
587
+ (
588
+ theme: themes.$g10,
589
+ value: colors.$cool-gray-30,
590
+ ),
591
+ (
592
+ theme: themes.$g90,
593
+ value: colors.$cool-gray-70,
594
+ ),
595
+ (
596
+ theme: themes.$g100,
597
+ value: colors.$cool-gray-70,
598
+ ),
599
+ ),
600
+ ),
601
+
602
+ // warm-gray
603
+ 'tag-background-warm-gray': (
604
+ fallback: colors.$warm-gray-20,
605
+ values: (
606
+ (
607
+ theme: themes.$white,
608
+ value: colors.$warm-gray-20,
609
+ ),
610
+ (
611
+ theme: themes.$g10,
612
+ value: colors.$warm-gray-20,
613
+ ),
614
+ (
615
+ theme: themes.$g90,
616
+ value: colors.$warm-gray-80,
617
+ ),
618
+ (
619
+ theme: themes.$g100,
620
+ value: colors.$warm-gray-80,
621
+ ),
622
+ ),
623
+ ),
624
+ 'tag-color-warm-gray': (
625
+ fallback: colors.$warm-gray-80,
626
+ values: (
627
+ (
628
+ theme: themes.$white,
629
+ value: colors.$warm-gray-80,
630
+ ),
631
+ (
632
+ theme: themes.$g10,
633
+ value: colors.$warm-gray-80,
634
+ ),
635
+ (
636
+ theme: themes.$g90,
637
+ value: colors.$warm-gray-30,
638
+ ),
639
+ (
640
+ theme: themes.$g100,
641
+ value: colors.$warm-gray-30,
642
+ ),
643
+ ),
644
+ ),
645
+ 'tag-hover-warm-gray': (
646
+ fallback: colors.$warm-gray-30,
647
+ values: (
648
+ (
649
+ theme: themes.$white,
650
+ value: colors.$warm-gray-30,
651
+ ),
652
+ (
653
+ theme: themes.$g10,
654
+ value: colors.$warm-gray-30,
655
+ ),
656
+ (
657
+ theme: themes.$g90,
658
+ value: colors.$warm-gray-70,
659
+ ),
660
+ (
661
+ theme: themes.$g100,
662
+ value: colors.$warm-gray-70,
663
+ ),
664
+ ),
665
+ ),
666
+ );
667
+
668
+ $tag-background-red: custom-property.get-var('tag-background-red');
669
+ $tag-color-red: custom-property.get-var('tag-color-red');
670
+ $tag-hover-red: custom-property.get-var('tag-hover-red');
671
+ $tag-background-magenta: custom-property.get-var('tag-background-magenta');
672
+ $tag-color-magenta: custom-property.get-var('tag-color-magenta');
673
+ $tag-hover-magenta: custom-property.get-var('tag-hover-magenta');
674
+ $tag-background-purple: custom-property.get-var('tag-background-purple');
675
+ $tag-color-purple: custom-property.get-var('tag-color-purple');
676
+ $tag-hover-purple: custom-property.get-var('tag-hover-purple');
677
+ $tag-background-blue: custom-property.get-var('tag-background-blue');
678
+ $tag-color-blue: custom-property.get-var('tag-color-blue');
679
+ $tag-hover-blue: custom-property.get-var('tag-hover-blue');
680
+ $tag-background-cyan: custom-property.get-var('tag-background-cyan');
681
+ $tag-color-cyan: custom-property.get-var('tag-color-cyan');
682
+ $tag-hover-cyan: custom-property.get-var('tag-hover-cyan');
683
+ $tag-background-teal: custom-property.get-var('tag-background-teal');
684
+ $tag-color-teal: custom-property.get-var('tag-color-teal');
685
+ $tag-hover-teal: custom-property.get-var('tag-hover-teal');
686
+ $tag-background-green: custom-property.get-var('tag-background-green');
687
+ $tag-color-green: custom-property.get-var('tag-color-green');
688
+ $tag-hover-green: custom-property.get-var('tag-hover-green');
689
+ $tag-background-gray: custom-property.get-var('tag-background-gray');
690
+ $tag-color-gray: custom-property.get-var('tag-color-gray');
691
+ $tag-hover-gray: custom-property.get-var('tag-hover-gray');
692
+ $tag-background-cool-gray: custom-property.get-var('tag-background-cool-gray');
693
+ $tag-color-cool-gray: custom-property.get-var('tag-color-cool-gray');
694
+ $tag-hover-cool-gray: custom-property.get-var('tag-color-cool-gray');
695
+ $tag-background-warm-gray: custom-property.get-var('tag-background-warm-gray');
696
+ $tag-color-warm-gray: custom-property.get-var('tag-color-warm-gray');
697
+ $tag-hover-warm-gray: custom-property.get-var('tag-hover-warm-gray');
698
+
699
+ $white: component-tokens.get-tokens($-tokens, themes.$white);
700
+ $g10: component-tokens.get-tokens($-tokens, themes.$g10);
701
+ $g90: component-tokens.get-tokens($-tokens, themes.$g90);
702
+ $g100: component-tokens.get-tokens($-tokens, themes.$g100);
@@ -0,0 +1,11 @@
1
+ //
2
+ // Copyright IBM Corp. 2018, 2018
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ @forward 'text-area';
9
+ @use 'text-area';
10
+
11
+ @include text-area.text-area;