@graupl/graupl 1.0.0-beta.10 → 1.0.0-beta.12

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 (480) hide show
  1. package/dist/js/accordion.js +5 -0
  2. package/dist/js/accordion.js.map +1 -0
  3. package/dist/js/alert.js +5 -0
  4. package/dist/js/alert.js.map +1 -0
  5. package/dist/js/carousel.js +5 -0
  6. package/dist/js/carousel.js.map +1 -0
  7. package/dist/js/component/accordion.cjs.js +5 -0
  8. package/dist/js/component/accordion.cjs.js.map +1 -0
  9. package/dist/js/component/accordion.es.js +5 -0
  10. package/dist/js/component/accordion.es.js.map +1 -0
  11. package/dist/js/component/accordion.iife.js +5 -0
  12. package/dist/js/component/accordion.iife.js.map +1 -0
  13. package/dist/js/component/alert.cjs.js +5 -0
  14. package/dist/js/component/alert.cjs.js.map +1 -0
  15. package/dist/js/component/alert.es.js +5 -0
  16. package/dist/js/component/alert.es.js.map +1 -0
  17. package/dist/js/component/alert.iife.js +5 -0
  18. package/dist/js/component/alert.iife.js.map +1 -0
  19. package/dist/js/component/carousel.cjs.js +5 -0
  20. package/dist/js/component/carousel.cjs.js.map +1 -0
  21. package/dist/js/component/carousel.es.js +5 -0
  22. package/dist/js/component/carousel.es.js.map +1 -0
  23. package/dist/js/component/carousel.iife.js +5 -0
  24. package/dist/js/component/carousel.iife.js.map +1 -0
  25. package/dist/js/generator/accordion.cjs.js +5 -0
  26. package/dist/js/generator/accordion.cjs.js.map +1 -0
  27. package/dist/js/generator/accordion.es.js +5 -0
  28. package/dist/js/generator/accordion.es.js.map +1 -0
  29. package/dist/js/generator/accordion.iife.js +5 -0
  30. package/dist/js/generator/accordion.iife.js.map +1 -0
  31. package/dist/js/generator/alert.cjs.js +5 -0
  32. package/dist/js/generator/alert.cjs.js.map +1 -0
  33. package/dist/js/generator/alert.es.js +5 -0
  34. package/dist/js/generator/alert.es.js.map +1 -0
  35. package/dist/js/generator/alert.iife.js +5 -0
  36. package/dist/js/generator/alert.iife.js.map +1 -0
  37. package/dist/js/generator/carousel.cjs.js +5 -0
  38. package/dist/js/generator/carousel.cjs.js.map +1 -0
  39. package/dist/js/generator/carousel.es.js +5 -0
  40. package/dist/js/generator/carousel.es.js.map +1 -0
  41. package/dist/js/generator/carousel.iife.js +5 -0
  42. package/dist/js/generator/carousel.iife.js.map +1 -0
  43. package/dist/js/generator/navigation.cjs.js +3 -0
  44. package/dist/js/generator/navigation.cjs.js.map +1 -0
  45. package/dist/js/generator/navigation.es.js +3 -0
  46. package/dist/js/generator/navigation.es.js.map +1 -0
  47. package/dist/js/generator/navigation.iife.js +3 -0
  48. package/dist/js/generator/navigation.iife.js.map +1 -0
  49. package/dist/js/graupl.js +9 -0
  50. package/dist/js/graupl.js.map +1 -0
  51. package/dist/js/navigation.js +3 -0
  52. package/dist/js/navigation.js.map +1 -0
  53. package/package.json +24 -14
  54. package/.browserslistrc +0 -3
  55. package/.czrc +0 -3
  56. package/.devcontainer/devcontainer.json +0 -221
  57. package/.editorconfig +0 -13
  58. package/.env +0 -3
  59. package/.github/CODE_OF_CONDUCT.md +0 -73
  60. package/.github/COMMIT_CONVENTION.md +0 -17
  61. package/.github/CONTRIBUTING.md +0 -86
  62. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
  63. package/.github/ISSUE_TEMPLATE/documentation.md +0 -20
  64. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
  65. package/.github/SECURITY.md +0 -26
  66. package/.github/dependabot.yml +0 -17
  67. package/.github/pull_request_template.md +0 -5
  68. package/.github/workflows/codeql-analysis.yml +0 -71
  69. package/.github/workflows/docs.yml +0 -66
  70. package/.github/workflows/prerelease.yml +0 -125
  71. package/.github/workflows/release.yml +0 -111
  72. package/.github/workflows/test.yml +0 -78
  73. package/.husky/commit-msg +0 -3
  74. package/.husky/pre-commit +0 -4
  75. package/.prettierignore +0 -12
  76. package/.stylelintignore +0 -9
  77. package/.versionrc.cjs +0 -73
  78. package/.vscode/settings.json +0 -10
  79. package/CHANGELOG.md +0 -559
  80. package/build.js +0 -9
  81. package/combine-at-rules.cjs +0 -61
  82. package/commitlint.config.js +0 -5
  83. package/container/.env +0 -26
  84. package/container/build/app.dockerfile +0 -41
  85. package/container/docker-compose.yml +0 -27
  86. package/dist/js/graupl.cjs.js +0 -7
  87. package/dist/js/graupl.esm.js +0 -2561
  88. package/dist/js/graupl.iife.js +0 -7
  89. package/docs/.vitepress/config.js +0 -108
  90. package/docs/.vitepress/theme/custom.scss +0 -35
  91. package/docs/.vitepress/theme/index.js +0 -4
  92. package/docs/compiling-graupl.md +0 -57
  93. package/docs/components/alert.md +0 -130
  94. package/docs/components/button.md +0 -84
  95. package/docs/components/card.md +0 -369
  96. package/docs/components/index.md +0 -1
  97. package/docs/components/inputgroup.md +0 -159
  98. package/docs/components/menu.md +0 -326
  99. package/docs/components/navigation.md +0 -158
  100. package/docs/content.md +0 -237
  101. package/docs/defaults.md +0 -121
  102. package/docs/forms.md +0 -79
  103. package/docs/functions.md +0 -9
  104. package/docs/getting-started.md +0 -1
  105. package/docs/index.md +0 -1
  106. package/docs/introduction.md +0 -25
  107. package/docs/layout.md +0 -200
  108. package/docs/mixins.md +0 -47
  109. package/docs/state.md +0 -67
  110. package/docs/theme.md +0 -258
  111. package/docs/utilities/alignment.md +0 -411
  112. package/docs/utilities/background.md +0 -192
  113. package/docs/utilities/border.md +0 -268
  114. package/docs/utilities/color.md +0 -348
  115. package/docs/utilities/container.md +0 -3
  116. package/docs/utilities/display.md +0 -3
  117. package/docs/utilities/flex.md +0 -3
  118. package/docs/utilities/gradient.md +0 -3
  119. package/docs/utilities/height.md +0 -3
  120. package/docs/utilities/inset.md +0 -3
  121. package/docs/utilities/justification.md +0 -3
  122. package/docs/utilities/list.md +0 -3
  123. package/docs/utilities/order.md +0 -3
  124. package/docs/utilities/position.md +0 -3
  125. package/docs/utilities/ratio.md +0 -3
  126. package/docs/utilities/responsive-classes.md +0 -3
  127. package/docs/utilities/spacing.md +0 -3
  128. package/docs/utilities/typography.md +0 -3
  129. package/docs/utilities/visibility.md +0 -3
  130. package/docs/utilities/visually-hidden.md +0 -3
  131. package/docs/utilities/width.md +0 -3
  132. package/docs/utilities/z-index.md +0 -3
  133. package/docs/utilities.md +0 -357
  134. package/eslint.config.js +0 -74
  135. package/favicon.ico +0 -0
  136. package/index.html +0 -1214
  137. package/index.js +0 -12
  138. package/lint-staged.config.js +0 -6
  139. package/logo.svg +0 -296
  140. package/packages/core/build.js +0 -9
  141. package/packages/core/dist/css/base/button.css +0 -2
  142. package/packages/core/dist/css/base/button.css.map +0 -1
  143. package/packages/core/dist/css/base/form.css +0 -2
  144. package/packages/core/dist/css/base/form.css.map +0 -1
  145. package/packages/core/dist/css/base/link.css +0 -2
  146. package/packages/core/dist/css/base/link.css.map +0 -1
  147. package/packages/core/dist/css/base/table.css +0 -2
  148. package/packages/core/dist/css/base/table.css.map +0 -1
  149. package/packages/core/dist/css/base.css +0 -2
  150. package/packages/core/dist/css/base.css.map +0 -1
  151. package/packages/core/dist/css/component/accordion.css +0 -5
  152. package/packages/core/dist/css/component/accordion.css.map +0 -1
  153. package/packages/core/dist/css/component/alert.css +0 -2
  154. package/packages/core/dist/css/component/alert.css.map +0 -1
  155. package/packages/core/dist/css/component/card.css +0 -2
  156. package/packages/core/dist/css/component/card.css.map +0 -1
  157. package/packages/core/dist/css/component/carousel.css +0 -2
  158. package/packages/core/dist/css/component/carousel.css.map +0 -1
  159. package/packages/core/dist/css/component/input-group.css +0 -2
  160. package/packages/core/dist/css/component/input-group.css.map +0 -1
  161. package/packages/core/dist/css/component/list.css +0 -2
  162. package/packages/core/dist/css/component/list.css.map +0 -1
  163. package/packages/core/dist/css/component/menu.css +0 -2
  164. package/packages/core/dist/css/component/menu.css.map +0 -1
  165. package/packages/core/dist/css/component/navigation.css +0 -2
  166. package/packages/core/dist/css/component/navigation.css.map +0 -1
  167. package/packages/core/dist/css/component.css +0 -5
  168. package/packages/core/dist/css/component.css.map +0 -1
  169. package/packages/core/dist/css/graupl.css +0 -5
  170. package/packages/core/dist/css/graupl.css.map +0 -1
  171. package/packages/core/dist/css/init.css +0 -2
  172. package/packages/core/dist/css/init.css.map +0 -1
  173. package/packages/core/dist/css/layout/columns.css +0 -2
  174. package/packages/core/dist/css/layout/columns.css.map +0 -1
  175. package/packages/core/dist/css/layout/container.css +0 -2
  176. package/packages/core/dist/css/layout/container.css.map +0 -1
  177. package/packages/core/dist/css/layout/flex-columns.css +0 -2
  178. package/packages/core/dist/css/layout/flex-columns.css.map +0 -1
  179. package/packages/core/dist/css/layout.css +0 -5
  180. package/packages/core/dist/css/layout.css.map +0 -1
  181. package/packages/core/dist/css/normalize.css +0 -2
  182. package/packages/core/dist/css/normalize.css.map +0 -1
  183. package/packages/core/dist/css/state/focus.css +0 -2
  184. package/packages/core/dist/css/state/focus.css.map +0 -1
  185. package/packages/core/dist/css/state.css +0 -2
  186. package/packages/core/dist/css/state.css.map +0 -1
  187. package/packages/core/dist/css/theme/color.css +0 -2
  188. package/packages/core/dist/css/theme/color.css.map +0 -1
  189. package/packages/core/dist/css/theme/typography.css +0 -2
  190. package/packages/core/dist/css/theme/typography.css.map +0 -1
  191. package/packages/core/dist/css/theme.css +0 -2
  192. package/packages/core/dist/css/theme.css.map +0 -1
  193. package/packages/core/dist/css/utilities/alignment.css +0 -2
  194. package/packages/core/dist/css/utilities/alignment.css.map +0 -1
  195. package/packages/core/dist/css/utilities/background.css +0 -2
  196. package/packages/core/dist/css/utilities/background.css.map +0 -1
  197. package/packages/core/dist/css/utilities/border.css +0 -2
  198. package/packages/core/dist/css/utilities/border.css.map +0 -1
  199. package/packages/core/dist/css/utilities/color.css +0 -2
  200. package/packages/core/dist/css/utilities/color.css.map +0 -1
  201. package/packages/core/dist/css/utilities/container.css +0 -2
  202. package/packages/core/dist/css/utilities/container.css.map +0 -1
  203. package/packages/core/dist/css/utilities/display.css +0 -2
  204. package/packages/core/dist/css/utilities/display.css.map +0 -1
  205. package/packages/core/dist/css/utilities/flex.css +0 -2
  206. package/packages/core/dist/css/utilities/flex.css.map +0 -1
  207. package/packages/core/dist/css/utilities/gradient.css +0 -2
  208. package/packages/core/dist/css/utilities/gradient.css.map +0 -1
  209. package/packages/core/dist/css/utilities/height.css +0 -2
  210. package/packages/core/dist/css/utilities/height.css.map +0 -1
  211. package/packages/core/dist/css/utilities/inset.css +0 -2
  212. package/packages/core/dist/css/utilities/inset.css.map +0 -1
  213. package/packages/core/dist/css/utilities/justification.css +0 -2
  214. package/packages/core/dist/css/utilities/justification.css.map +0 -1
  215. package/packages/core/dist/css/utilities/list.css +0 -2
  216. package/packages/core/dist/css/utilities/list.css.map +0 -1
  217. package/packages/core/dist/css/utilities/order.css +0 -2
  218. package/packages/core/dist/css/utilities/order.css.map +0 -1
  219. package/packages/core/dist/css/utilities/position.css +0 -2
  220. package/packages/core/dist/css/utilities/position.css.map +0 -1
  221. package/packages/core/dist/css/utilities/ratio.css +0 -2
  222. package/packages/core/dist/css/utilities/ratio.css.map +0 -1
  223. package/packages/core/dist/css/utilities/spacing.css +0 -2
  224. package/packages/core/dist/css/utilities/spacing.css.map +0 -1
  225. package/packages/core/dist/css/utilities/typography.css +0 -2
  226. package/packages/core/dist/css/utilities/typography.css.map +0 -1
  227. package/packages/core/dist/css/utilities/visibility.css +0 -2
  228. package/packages/core/dist/css/utilities/visibility.css.map +0 -1
  229. package/packages/core/dist/css/utilities/visually-hidden.css +0 -2
  230. package/packages/core/dist/css/utilities/visually-hidden.css.map +0 -1
  231. package/packages/core/dist/css/utilities/width.css +0 -2
  232. package/packages/core/dist/css/utilities/width.css.map +0 -1
  233. package/packages/core/dist/css/utilities/z-index.css +0 -2
  234. package/packages/core/dist/css/utilities/z-index.css.map +0 -1
  235. package/packages/core/dist/css/utilities.css +0 -2
  236. package/packages/core/dist/css/utilities.css.map +0 -1
  237. package/packages/core/package.json +0 -58
  238. package/packages/core/scss/base/button.scss +0 -3
  239. package/packages/core/scss/base/form.scss +0 -3
  240. package/packages/core/scss/base/link.scss +0 -3
  241. package/packages/core/scss/base/table.scss +0 -3
  242. package/packages/core/scss/base.scss +0 -3
  243. package/packages/core/scss/component/accordion.scss +0 -3
  244. package/packages/core/scss/component/alert.scss +0 -3
  245. package/packages/core/scss/component/card.scss +0 -3
  246. package/packages/core/scss/component/carousel.scss +0 -3
  247. package/packages/core/scss/component/input-group.scss +0 -3
  248. package/packages/core/scss/component/list.scss +0 -3
  249. package/packages/core/scss/component/menu.scss +0 -3
  250. package/packages/core/scss/component/navigation.scss +0 -3
  251. package/packages/core/scss/component.scss +0 -3
  252. package/packages/core/scss/graupl.scss +0 -3
  253. package/packages/core/scss/init.scss +0 -3
  254. package/packages/core/scss/layout/columns.scss +0 -3
  255. package/packages/core/scss/layout/container.scss +0 -3
  256. package/packages/core/scss/layout/flex-columns.scss +0 -3
  257. package/packages/core/scss/layout.scss +0 -3
  258. package/packages/core/scss/normalize.scss +0 -3
  259. package/packages/core/scss/state/focus.scss +0 -3
  260. package/packages/core/scss/state.scss +0 -3
  261. package/packages/core/scss/theme/color.scss +0 -3
  262. package/packages/core/scss/theme/typography.scss +0 -3
  263. package/packages/core/scss/theme.scss +0 -3
  264. package/packages/core/scss/utilities/alignment.scss +0 -3
  265. package/packages/core/scss/utilities/background.scss +0 -3
  266. package/packages/core/scss/utilities/border.scss +0 -3
  267. package/packages/core/scss/utilities/color.scss +0 -3
  268. package/packages/core/scss/utilities/container.scss +0 -3
  269. package/packages/core/scss/utilities/display.scss +0 -3
  270. package/packages/core/scss/utilities/flex.scss +0 -3
  271. package/packages/core/scss/utilities/gradient.scss +0 -3
  272. package/packages/core/scss/utilities/height.scss +0 -3
  273. package/packages/core/scss/utilities/inset.scss +0 -3
  274. package/packages/core/scss/utilities/justification.scss +0 -3
  275. package/packages/core/scss/utilities/list.scss +0 -3
  276. package/packages/core/scss/utilities/order.scss +0 -3
  277. package/packages/core/scss/utilities/position.scss +0 -3
  278. package/packages/core/scss/utilities/ratio.scss +0 -3
  279. package/packages/core/scss/utilities/spacing.scss +0 -3
  280. package/packages/core/scss/utilities/typography.scss +0 -3
  281. package/packages/core/scss/utilities/visibility.scss +0 -3
  282. package/packages/core/scss/utilities/visually-hidden.scss +0 -3
  283. package/packages/core/scss/utilities/width.scss +0 -3
  284. package/packages/core/scss/utilities/z-index.scss +0 -3
  285. package/packages/core/scss/utilities.scss +0 -3
  286. package/packages/core/src/js/accordion/Accordion.js +0 -1163
  287. package/packages/core/src/js/accordion/AccordionItem.js +0 -496
  288. package/packages/core/src/js/accordion/index.js +0 -10
  289. package/packages/core/src/js/alert/Alert.js +0 -581
  290. package/packages/core/src/js/alert/index.js +0 -11
  291. package/packages/core/src/js/carousel/Carousel.js +0 -1427
  292. package/packages/core/src/js/carousel/index.js +0 -10
  293. package/packages/core/src/js/domHelpers.js +0 -37
  294. package/packages/core/src/js/eventHandlers.js +0 -39
  295. package/packages/core/src/js/navigation/index.js +0 -36
  296. package/packages/core/src/js/storage.js +0 -106
  297. package/packages/core/src/js/validate.js +0 -225
  298. package/packages/core/src/scss/_defaults.scss +0 -184
  299. package/packages/core/src/scss/_index.scss +0 -15
  300. package/packages/core/src/scss/_init.scss +0 -6
  301. package/packages/core/src/scss/_normalize.scss +0 -197
  302. package/packages/core/src/scss/_variables.scss +0 -95
  303. package/packages/core/src/scss/base/_index.scss +0 -6
  304. package/packages/core/src/scss/base/button/_defaults.scss +0 -49
  305. package/packages/core/src/scss/base/button/_index.scss +0 -206
  306. package/packages/core/src/scss/base/button/_mixins.scss +0 -104
  307. package/packages/core/src/scss/base/button/_variables.scss +0 -252
  308. package/packages/core/src/scss/base/form/_defaults.scss +0 -24
  309. package/packages/core/src/scss/base/form/_index.scss +0 -227
  310. package/packages/core/src/scss/base/form/_variables.scss +0 -245
  311. package/packages/core/src/scss/base/link/_defaults.scss +0 -35
  312. package/packages/core/src/scss/base/link/_index.scss +0 -245
  313. package/packages/core/src/scss/base/link/_variables.scss +0 -370
  314. package/packages/core/src/scss/base/table/_defaults.scss +0 -68
  315. package/packages/core/src/scss/base/table/_index.scss +0 -314
  316. package/packages/core/src/scss/base/table/_variables.scss +0 -309
  317. package/packages/core/src/scss/component/_index.scss +0 -10
  318. package/packages/core/src/scss/component/accordion/_defaults.scss +0 -40
  319. package/packages/core/src/scss/component/accordion/_index.scss +0 -198
  320. package/packages/core/src/scss/component/accordion/_variables.scss +0 -356
  321. package/packages/core/src/scss/component/alert/_defaults.scss +0 -49
  322. package/packages/core/src/scss/component/alert/_index.scss +0 -119
  323. package/packages/core/src/scss/component/alert/_variables.scss +0 -200
  324. package/packages/core/src/scss/component/card/_defaults.scss +0 -32
  325. package/packages/core/src/scss/component/card/_index.scss +0 -212
  326. package/packages/core/src/scss/component/card/_variables.scss +0 -216
  327. package/packages/core/src/scss/component/carousel/_defaults.scss +0 -43
  328. package/packages/core/src/scss/component/carousel/_index.scss +0 -192
  329. package/packages/core/src/scss/component/carousel/_variables.scss +0 -104
  330. package/packages/core/src/scss/component/input-group/_defaults.scss +0 -30
  331. package/packages/core/src/scss/component/input-group/_index.scss +0 -47
  332. package/packages/core/src/scss/component/input-group/_variables.scss +0 -66
  333. package/packages/core/src/scss/component/list/_defaults.scss +0 -15
  334. package/packages/core/src/scss/component/list/_index.scss +0 -52
  335. package/packages/core/src/scss/component/list/_variables.scss +0 -236
  336. package/packages/core/src/scss/component/menu/_defaults.scss +0 -57
  337. package/packages/core/src/scss/component/menu/_index.scss +0 -308
  338. package/packages/core/src/scss/component/menu/_variables.scss +0 -642
  339. package/packages/core/src/scss/component/navigation/_defaults.scss +0 -23
  340. package/packages/core/src/scss/component/navigation/_index.scss +0 -190
  341. package/packages/core/src/scss/component/navigation/_variables.scss +0 -290
  342. package/packages/core/src/scss/functions/_container.scss +0 -38
  343. package/packages/core/src/scss/functions/_important.scss +0 -36
  344. package/packages/core/src/scss/functions/_screen.scss +0 -38
  345. package/packages/core/src/scss/functions/_theme.scss +0 -39
  346. package/packages/core/src/scss/functions/_utility.scss +0 -28
  347. package/packages/core/src/scss/layout/_index.scss +0 -5
  348. package/packages/core/src/scss/layout/columns/_defaults.scss +0 -24
  349. package/packages/core/src/scss/layout/columns/_index.scss +0 -137
  350. package/packages/core/src/scss/layout/columns/_variables.scss +0 -55
  351. package/packages/core/src/scss/layout/container/_defaults.scss +0 -35
  352. package/packages/core/src/scss/layout/container/_index.scss +0 -628
  353. package/packages/core/src/scss/layout/container/_variables.scss +0 -114
  354. package/packages/core/src/scss/layout/flex-columns/_defaults.scss +0 -28
  355. package/packages/core/src/scss/layout/flex-columns/_index.scss +0 -184
  356. package/packages/core/src/scss/layout/flex-columns/_variables.scss +0 -30
  357. package/packages/core/src/scss/mixins/_animation.scss +0 -15
  358. package/packages/core/src/scss/mixins/_container.scss +0 -80
  359. package/packages/core/src/scss/mixins/_layer.scss +0 -16
  360. package/packages/core/src/scss/mixins/_screen.scss +0 -77
  361. package/packages/core/src/scss/mixins/_state.scss +0 -18
  362. package/packages/core/src/scss/mixins/_theme.scss +0 -15
  363. package/packages/core/src/scss/mixins/_utility.scss +0 -185
  364. package/packages/core/src/scss/mixins/_visually-hidden.scss +0 -30
  365. package/packages/core/src/scss/state/_index.scss +0 -3
  366. package/packages/core/src/scss/state/focus/_defaults.scss +0 -9
  367. package/packages/core/src/scss/state/focus/_index.scss +0 -42
  368. package/packages/core/src/scss/state/focus/_mixins.scss +0 -13
  369. package/packages/core/src/scss/state/focus/_variables.scss +0 -50
  370. package/packages/core/src/scss/theme/_index.scss +0 -4
  371. package/packages/core/src/scss/theme/color/_defaults.scss +0 -143
  372. package/packages/core/src/scss/theme/color/_index.scss +0 -42
  373. package/packages/core/src/scss/theme/color/_variables.scss +0 -133
  374. package/packages/core/src/scss/theme/typography/_defaults.scss +0 -54
  375. package/packages/core/src/scss/theme/typography/_index.scss +0 -120
  376. package/packages/core/src/scss/theme/typography/_variables.scss +0 -248
  377. package/packages/core/src/scss/utilities/_index.scss +0 -23
  378. package/packages/core/src/scss/utilities/_template/_defaults.scss +0 -41
  379. package/packages/core/src/scss/utilities/_template/_index.scss +0 -171
  380. package/packages/core/src/scss/utilities/_template/_variables.scss +0 -6
  381. package/packages/core/src/scss/utilities/alignment/_defaults.scss +0 -76
  382. package/packages/core/src/scss/utilities/alignment/_index.scss +0 -336
  383. package/packages/core/src/scss/utilities/alignment/_variables.scss +0 -6
  384. package/packages/core/src/scss/utilities/background/_defaults.scss +0 -122
  385. package/packages/core/src/scss/utilities/background/_index.scss +0 -634
  386. package/packages/core/src/scss/utilities/background/_variables.scss +0 -6
  387. package/packages/core/src/scss/utilities/border/_defaults.scss +0 -73
  388. package/packages/core/src/scss/utilities/border/_index.scss +0 -558
  389. package/packages/core/src/scss/utilities/border/_variables.scss +0 -6
  390. package/packages/core/src/scss/utilities/color/_defaults.scss +0 -49
  391. package/packages/core/src/scss/utilities/color/_index.scss +0 -469
  392. package/packages/core/src/scss/utilities/color/_variables.scss +0 -6
  393. package/packages/core/src/scss/utilities/container/_defaults.scss +0 -40
  394. package/packages/core/src/scss/utilities/container/_index.scss +0 -174
  395. package/packages/core/src/scss/utilities/container/_variables.scss +0 -6
  396. package/packages/core/src/scss/utilities/display/_defaults.scss +0 -47
  397. package/packages/core/src/scss/utilities/display/_index.scss +0 -184
  398. package/packages/core/src/scss/utilities/display/_variables.scss +0 -6
  399. package/packages/core/src/scss/utilities/flex/_defaults.scss +0 -99
  400. package/packages/core/src/scss/utilities/flex/_index.scss +0 -486
  401. package/packages/core/src/scss/utilities/flex/_variables.scss +0 -6
  402. package/packages/core/src/scss/utilities/gradient/_defaults.scss +0 -70
  403. package/packages/core/src/scss/utilities/gradient/_index.scss +0 -696
  404. package/packages/core/src/scss/utilities/gradient/_variables.scss +0 -29
  405. package/packages/core/src/scss/utilities/height/_defaults.scss +0 -54
  406. package/packages/core/src/scss/utilities/height/_index.scss +0 -525
  407. package/packages/core/src/scss/utilities/height/_variables.scss +0 -6
  408. package/packages/core/src/scss/utilities/inset/_defaults.scss +0 -55
  409. package/packages/core/src/scss/utilities/inset/_index.scss +0 -258
  410. package/packages/core/src/scss/utilities/inset/_variables.scss +0 -6
  411. package/packages/core/src/scss/utilities/justification/_defaults.scss +0 -73
  412. package/packages/core/src/scss/utilities/justification/_index.scss +0 -333
  413. package/packages/core/src/scss/utilities/justification/_variables.scss +0 -6
  414. package/packages/core/src/scss/utilities/list/_defaults.scss +0 -53
  415. package/packages/core/src/scss/utilities/list/_index.scss +0 -253
  416. package/packages/core/src/scss/utilities/list/_variables.scss +0 -6
  417. package/packages/core/src/scss/utilities/order/_defaults.scss +0 -36
  418. package/packages/core/src/scss/utilities/order/_index.scss +0 -246
  419. package/packages/core/src/scss/utilities/order/_variables.scss +0 -6
  420. package/packages/core/src/scss/utilities/position/_defaults.scss +0 -41
  421. package/packages/core/src/scss/utilities/position/_index.scss +0 -178
  422. package/packages/core/src/scss/utilities/position/_variables.scss +0 -6
  423. package/packages/core/src/scss/utilities/ratio/_defaults.scss +0 -42
  424. package/packages/core/src/scss/utilities/ratio/_index.scss +0 -188
  425. package/packages/core/src/scss/utilities/ratio/_variables.scss +0 -9
  426. package/packages/core/src/scss/utilities/spacing/_defaults.scss +0 -64
  427. package/packages/core/src/scss/utilities/spacing/_index.scss +0 -970
  428. package/packages/core/src/scss/utilities/spacing/_variables.scss +0 -6
  429. package/packages/core/src/scss/utilities/typography/_defaults.scss +0 -58
  430. package/packages/core/src/scss/utilities/typography/_index.scss +0 -1089
  431. package/packages/core/src/scss/utilities/typography/_variables.scss +0 -6
  432. package/packages/core/src/scss/utilities/visibility/_defaults.scss +0 -39
  433. package/packages/core/src/scss/utilities/visibility/_index.scss +0 -173
  434. package/packages/core/src/scss/utilities/visibility/_variables.scss +0 -6
  435. package/packages/core/src/scss/utilities/visually-hidden/_defaults.scss +0 -29
  436. package/packages/core/src/scss/utilities/visually-hidden/_index.scss +0 -189
  437. package/packages/core/src/scss/utilities/visually-hidden/_variables.scss +0 -6
  438. package/packages/core/src/scss/utilities/width/_defaults.scss +0 -54
  439. package/packages/core/src/scss/utilities/width/_index.scss +0 -525
  440. package/packages/core/src/scss/utilities/width/_variables.scss +0 -6
  441. package/packages/core/src/scss/utilities/z-index/_defaults.scss +0 -40
  442. package/packages/core/src/scss/utilities/z-index/_index.scss +0 -173
  443. package/packages/core/src/scss/utilities/z-index/_variables.scss +0 -6
  444. package/packages/core/vite.config.js +0 -28
  445. package/packages/icons/dist/css/base/button.css +0 -2
  446. package/packages/icons/dist/css/base/button.css.map +0 -1
  447. package/packages/icons/dist/css/base/link.css +0 -2
  448. package/packages/icons/dist/css/base/link.css.map +0 -1
  449. package/packages/icons/dist/css/base.css +0 -2
  450. package/packages/icons/dist/css/base.css.map +0 -1
  451. package/packages/icons/dist/css/component/icon.css +0 -2
  452. package/packages/icons/dist/css/component/icon.css.map +0 -1
  453. package/packages/icons/dist/css/component.css +0 -2
  454. package/packages/icons/dist/css/component.css.map +0 -1
  455. package/packages/icons/dist/css/icon.css +0 -2
  456. package/packages/icons/dist/css/icon.css.map +0 -1
  457. package/packages/icons/package.json +0 -48
  458. package/packages/icons/scss/base/button.scss +0 -3
  459. package/packages/icons/scss/base/link.scss +0 -3
  460. package/packages/icons/scss/base.scss +0 -3
  461. package/packages/icons/scss/component/icon.scss +0 -3
  462. package/packages/icons/scss/component.scss +0 -3
  463. package/packages/icons/scss/icon.scss +0 -3
  464. package/packages/icons/src/scss/_index.scss +0 -4
  465. package/packages/icons/src/scss/base/_index.scss +0 -4
  466. package/packages/icons/src/scss/base/button/_defaults.scss +0 -7
  467. package/packages/icons/src/scss/base/button/_index.scss +0 -58
  468. package/packages/icons/src/scss/base/button/_variables.scss +0 -7
  469. package/packages/icons/src/scss/base/link/_defaults.scss +0 -7
  470. package/packages/icons/src/scss/base/link/_index.scss +0 -58
  471. package/packages/icons/src/scss/base/link/_variables.scss +0 -7
  472. package/packages/icons/src/scss/component/_index.scss +0 -3
  473. package/packages/icons/src/scss/component/icon/_defaults.scss +0 -30
  474. package/packages/icons/src/scss/component/icon/_index.scss +0 -60
  475. package/packages/icons/src/scss/component/icon/_mixins.scss +0 -62
  476. package/packages/icons/src/scss/component/icon/_variables.scss +0 -24
  477. package/postcss.config.cjs +0 -11
  478. package/prettier.config.js +0 -16
  479. package/stylelint.config.js +0 -22
  480. package/vite.config.js +0 -28
@@ -1,1089 +0,0 @@
1
- // @graupl/core typography utilities styles.
2
- //
3
- // This file generates the typography utility classes provided by Graupl.
4
- //
5
- // The following classes are generated by default:
6
- // - `.text-xs`: Sets the font size property to Graupl's extra small font size.
7
- // - `.text-sm`: Sets the font size property to Graupl's small font size.
8
- // - `.text-base`: Sets the font size property to Graupl's base font size.
9
- // - `.text-lg`: Sets the font size property to Graupl's large font size.
10
- // - `.text-xl`: Sets the font size property to Graupl's extra large font size.
11
- // - `.text-2xl`: Sets the font size property to Graupl's 2 extra large font size.
12
- // - `.text-3xl`: Sets the font size property to Graupl's 3 extra large font size.
13
- // - `.text-4xl`: Sets the font size property to Graupl's 4 extra large font size.
14
- // - `.text-5xl`: Sets the font size property to Graupl's 5 extra large font size.
15
- // - `.text-paragraph`: Sets the font size, margin, font weight, and line height properties to Graupl's paragraph styles.
16
- // - `.text-small`: Sets the font size, margin, font weight, and line height properties to Graupl's small text styles.
17
- // - `.text-h1`: Sets the font size, margin, font family, font weight, and line height properties to Graupl's h1 styles.
18
- // - `.text-h2`: Sets the font size, margin, font family, font weight, and line height properties to Graupl's h2 styles.
19
- // - `.text-h3`: Sets the font size, margin, font family, font weight, and line height properties to Graupl's h3 styles.
20
- // - `.text-h4`: Sets the font size, margin, font family, font weight, and line height properties to Graupl's h4 styles.
21
- // - `.text-h5`: Sets the font size, margin, font family, font weight, and line height properties to Graupl's h5 styles.
22
- // - `.text-h6`: Sets the font size, margin, font family, font weight, and line height properties to Graupl's h6 styles.
23
- // - `.font-weight-light`: Sets the font weight property to Graupl's light font weight.
24
- // - `.font-weight-normal`: Sets the font weight property to Graupl's normal font weight.
25
- // - `.font-weight-bold`: Sets the font weight property to Graupl's bold font weight.
26
- // - `.font-normal`: Sets the font style property to `normal`.
27
- // - `.font-italic`: Sets the font style property to `italic`.
28
- // - `.text-uppercase`: Sets the text transform property to `uppercase`.
29
- // - `.text-lowercase`: Sets the text transform property to `lowercase`.
30
- // - `.text-capitalize`: Sets the text transform property to `capitalize`.
31
- // - `.text-none`: Sets the text transform property to `none`.
32
- //
33
- // The following custom properties control the generated classes:
34
- // - N/A.
35
- //
36
- // The following variables control the generated classes:
37
- // - `$selector-base`: The base selector for the utility classes.
38
- // - `$use-important`: A flag to determine if the `!important` flag should be added to the utility classes.
39
- // - `$screen-aware`: A flag to generate screen-aware utility classes.
40
- // - `$theme-aware`: A flag to generate theme-aware utility classes.
41
- // - `$state-aware`: A flag to generate state-aware utility classes.
42
- // - `$container-aware`: A flag to generate container-aware utility classes.
43
- // - `$screen-aware-separator`: The separator for screen-aware utility classes.
44
- // - `$theme-aware-separator`: The separator for theme-aware utility classes.
45
- // - `$state-aware-separator`: The separator for state-aware utility classes.
46
- // - `$container-aware-separator`: The separator for container-aware utility classes.
47
- // - `$screen-aware-selector-prefix`: The prefix for screen-aware utility classes.
48
- // - `$theme-aware-selector-prefix`: The prefix for theme-aware utility classes.
49
- // - `$state-aware-selector-prefix`: The prefix for state-aware utility classes.
50
- // - `$container-aware-selector-prefix`: The prefix for container-aware utility classes.
51
- // - `$text-selector-prefix`: The prefix for the text utility classes.
52
- // - `$font-weight-selector-prefix`: The prefix for the font weight utility classes.
53
- // - `$font-style-selector-prefix`: The prefix for the font style utility classes.
54
- // - `$base-font-style-properties`: The base properties and values for the font style utility classes.
55
- // - `$custom-font-style-properties`: The custom properties and values for the font style utility classes.
56
- // - `$font-style-properties`: The combined properties and values for the font style utility classes.
57
- // - `$text-transform-selector-prefix`: The prefix for the text transform utility classes.
58
- // - `$base-text-transform-properties`: The base properties and values for the text transform utility classes.
59
- // - `$custom-text-transform-properties`: The custom properties and values for the text transform utility classes.
60
- // - `$text-transform-properties`: The combined properties and values for the text transform utility classes.
61
- //
62
- // Generating responsive utility classes can be done by setting `$screen-aware`, `$theme-aware`, or `$state-aware` to `true`.
63
- // By default, no responsive utility classes are generated.
64
- //
65
- // When set to true, screen-aware utility classes will be generated for each screen size in the following pattern:
66
- // - `.{screen-prefix}{screen-name}:{prefix}{value}`
67
- //
68
- // e.g. `.md:text-2xl` will set the `font-size` property to Graupl's 2 extra large font size on screens equal to or larger than the `md` breakpoint.
69
- //
70
- // When set to true, theme-aware utility classes will be generated for each theme in the following pattern:
71
- // - `.{theme-prefix}{theme-name}:{prefix}{value}`
72
- //
73
- // e.g. `.dark:text-paragraph` will set the `font-size`, `margin`, `font-weight`, and `line-height` properties to Graupl's paragraph styles when the `dark` theme is active.
74
- //
75
- // When set to true, state-aware utility classes will be generated for each state in the following pattern:
76
- // - `.{state-prefix}{state-name}:{prefix}{value}`
77
- //
78
- // e.g. `.hover:text-paragraph` will set the `font-size`, `margin`, `font-weight`, and `line-height` properties to Graupl's paragraph styles when the element is hovered.
79
- //
80
- // When set to true, container-aware utility classes will be generated for each container in the following pattern:
81
- // - `.{container-prefix}{container-name}:{prefix}{value}`
82
- //
83
- // e.g. `.cq:md:text-paragraph` will set the `font-size`, `margin`, `font-weight`, and `line-height` properties to Graupl's paragraph styles when the parent container is larger than the `md` breakpoint.
84
- //
85
- // @example
86
- // <span class="text-h3">This is an h3-styled element.</span>
87
-
88
- @use "../../defaults" as root-defaults;
89
- @use "../../functions/important";
90
- @use "../../mixins/layer" as *;
91
- @use "../../mixins/screen";
92
- @use "../../mixins/utility";
93
- @use "../../theme/color/variables" as color;
94
- @use "../../theme/typography/variables" as typography;
95
- @use "defaults";
96
- @use "sass:map";
97
- @use "variables" as *;
98
-
99
- @include layer(utilities) {
100
- // `.`
101
- $selector-prefix: defaults.$selector-base;
102
-
103
- // For each font size property, create a utility class.
104
- @each $size, $value in typography.$font-sizes {
105
- // e.g. `.text-2xl` or `.text-3xl`
106
- $selector: #{$selector-prefix}#{defaults.$text-selector-prefix}#{$size};
107
-
108
- @include utility.create($selector, font-size, $value);
109
- }
110
-
111
- // Create utility classes for each type of text style in Graupl.
112
- // These will apply not only the font size, but also the margin, font weight, and line height.
113
- // This will allow for a more consistent and maintainable typography system.
114
- //
115
- // `.text-paragraph`
116
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}paragraph";
117
-
118
- @include utility.create-mapped(
119
- $selector,
120
- (
121
- margin: typography.$paragraph-margin,
122
- font-size: typography.$paragraph-font-size,
123
- font-weight: typography.$paragraph-font-weight,
124
- line-height: typography.$paragraph-line-height,
125
- color: typography.$paragraph-color,
126
- ),
127
- $important: defaults.$use-important
128
- );
129
-
130
- // `.text-small`
131
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}small";
132
-
133
- @include utility.create-mapped(
134
- $selector,
135
- (
136
- margin: typography.$small-margin,
137
- font-size: typography.$small-font-size,
138
- font-weight: typography.$small-font-weight,
139
- line-height: typography.$small-line-height,
140
- color: typography.$small-color,
141
- ),
142
- $important: defaults.$use-important
143
- );
144
-
145
- // `.text-h1`
146
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h1";
147
-
148
- @include utility.create-mapped(
149
- $selector,
150
- (
151
- margin: typography.$h1-margin,
152
- font-family: typography.$h1-font-family,
153
- font-size: typography.$h1-font-size,
154
- font-weight: typography.$h1-font-weight,
155
- line-height: typography.$h1-line-height,
156
- color: typography.$h1-color,
157
- ),
158
- $important: defaults.$use-important
159
- );
160
-
161
- // `.text-h2`
162
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h2";
163
-
164
- @include utility.create-mapped(
165
- $selector,
166
- (
167
- margin: typography.$h2-margin,
168
- font-family: typography.$h2-font-family,
169
- font-size: typography.$h2-font-size,
170
- font-weight: typography.$h2-font-weight,
171
- line-height: typography.$h2-line-height,
172
- color: typography.$h2-color,
173
- ),
174
- $important: defaults.$use-important
175
- );
176
-
177
- // `.text-h3`
178
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h3";
179
-
180
- @include utility.create-mapped(
181
- $selector,
182
- (
183
- margin: typography.$h3-margin,
184
- font-family: typography.$h3-font-family,
185
- font-size: typography.$h3-font-size,
186
- font-weight: typography.$h3-font-weight,
187
- line-height: typography.$h3-line-height,
188
- color: typography.$h3-color,
189
- ),
190
- $important: defaults.$use-important
191
- );
192
-
193
- // `.text-h4`
194
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h4";
195
-
196
- @include utility.create-mapped(
197
- $selector,
198
- (
199
- margin: typography.$h4-margin,
200
- font-family: typography.$h4-font-family,
201
- font-size: typography.$h4-font-size,
202
- font-weight: typography.$h4-font-weight,
203
- line-height: typography.$h4-line-height,
204
- color: typography.$h4-color,
205
- ),
206
- $important: defaults.$use-important
207
- );
208
-
209
- // `.text-h5`
210
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h5";
211
-
212
- @include utility.create-mapped(
213
- $selector,
214
- (
215
- margin: typography.$h5-margin,
216
- font-family: typography.$h5-font-family,
217
- font-size: typography.$h5-font-size,
218
- font-weight: typography.$h5-font-weight,
219
- line-height: typography.$h5-line-height,
220
- color: typography.$h5-color,
221
- ),
222
- $important: defaults.$use-important
223
- );
224
-
225
- // `.text-h6`
226
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h6";
227
-
228
- @include utility.create-mapped(
229
- $selector,
230
- (
231
- margin: typography.$h6-margin,
232
- font-family: typography.$h6-font-family,
233
- font-size: typography.$h6-font-size,
234
- font-weight: typography.$h6-font-weight,
235
- line-height: typography.$h6-line-height,
236
- color: typography.$h6-color,
237
- ),
238
- $important: defaults.$use-important
239
- );
240
-
241
- // For each font weight property, create a utility class.
242
- @each $weight, $value in typography.$font-weights {
243
- // e.g. `.font-bold` or `.font-normal`
244
- $selector: #{$selector-prefix}#{defaults.$font-weight-selector-prefix}#{$weight};
245
-
246
- @include utility.create(
247
- $selector,
248
- font-weight,
249
- $value,
250
- $important: defaults.$use-important
251
- );
252
- }
253
-
254
- // For each font style property, create a utility class.
255
- @each $style, $value in defaults.$font-style-properties {
256
- // e.g. `.font-normal` or `.font-italic`
257
- $selector: #{$selector-prefix}#{defaults.$font-style-selector-prefix}#{$style};
258
-
259
- @include utility.create(
260
- $selector,
261
- font-style,
262
- $value,
263
- $important: defaults.$use-important
264
- );
265
- }
266
-
267
- // For each text transform property, create a utility class.
268
- @each $transform, $value in defaults.$text-transform-properties {
269
- // e.g. `.text-uppercase` or `.text-lowercase`
270
- $selector: #{$selector-prefix}#{defaults.$text-transform-selector-prefix}#{$transform};
271
-
272
- @include utility.create(
273
- $selector,
274
- text-transform,
275
- $value,
276
- $important: defaults.$use-important
277
- );
278
- }
279
-
280
- // Generate screen-aware utilities.
281
- @if defaults.$screen-aware and root-defaults.$screen-aware-utilities {
282
- @each $screen-name in map.keys(root-defaults.$screen-sizes) {
283
- // e.g. `.md:` or `.lg:`
284
- $selector-prefix: #{defaults.$selector-base}#{defaults.$screen-aware-selector-prefix}#{$screen-name}#{defaults.$screen-aware-separator};
285
-
286
- // For each font size property, create a utility class.
287
- @each $size, $value in typography.$font-sizes {
288
- // e.g. `.md:text-2xl` or `.lg:text-3xl`
289
- $selector: #{$selector-prefix}#{defaults.$text-selector-prefix}#{$size};
290
-
291
- @include utility.create(
292
- $selector,
293
- font-size,
294
- $value,
295
- $important: defaults.$use-important,
296
- $screen: $screen-name
297
- );
298
- }
299
-
300
- // Create utility classes for each type of text style in Graupl.
301
- // These will apply not only the font size, but also the margin, font weight, and line height.
302
- // This will allow for a more consistent and maintainable typography system.
303
- //
304
- // e.g. `.md:text-paragraph` or `.lg:text-paragraph`
305
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}paragraph";
306
-
307
- @include utility.create-mapped(
308
- $selector,
309
- (
310
- margin: typography.$paragraph-margin,
311
- font-size: typography.$paragraph-font-size,
312
- font-weight: typography.$paragraph-font-weight,
313
- line-height: typography.$paragraph-line-height,
314
- color: typography.$paragraph-color,
315
- ),
316
- $important: defaults.$use-important,
317
- $screen: $screen-name
318
- );
319
-
320
- // e.g. `.md:text-small` or `.lg:text-small`
321
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}small";
322
-
323
- @include utility.create-mapped(
324
- $selector,
325
- (
326
- margin: typography.$small-margin,
327
- font-size: typography.$small-font-size,
328
- font-weight: typography.$small-font-weight,
329
- line-height: typography.$small-line-height,
330
- color: typography.$small-color,
331
- ),
332
- $important: defaults.$use-important,
333
- $screen: $screen-name
334
- );
335
-
336
- // e.g. `.md:text-h1` or `.lg:text-h1`
337
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h1";
338
-
339
- @include utility.create-mapped(
340
- $selector,
341
- (
342
- margin: typography.$h1-margin,
343
- font-family: typography.$h1-font-family,
344
- font-size: typography.$h1-font-size,
345
- font-weight: typography.$h1-font-weight,
346
- line-height: typography.$h1-line-height,
347
- color: typography.$h1-color,
348
- ),
349
- $important: defaults.$use-important,
350
- $screen: $screen-name
351
- );
352
-
353
- // e.g. `.md:text-h2` or `.lg:text-h2`
354
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h2";
355
-
356
- @include utility.create-mapped(
357
- $selector,
358
- (
359
- margin: typography.$h2-margin,
360
- font-family: typography.$h2-font-family,
361
- font-size: typography.$h2-font-size,
362
- font-weight: typography.$h2-font-weight,
363
- line-height: typography.$h2-line-height,
364
- color: typography.$h2-color,
365
- ),
366
- $important: defaults.$use-important,
367
- $screen: $screen-name
368
- );
369
-
370
- // e.g. `.md:text-h3` or `.lg:text-h3`
371
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h3";
372
-
373
- @include utility.create-mapped(
374
- $selector,
375
- (
376
- margin: typography.$h3-margin,
377
- font-family: typography.$h3-font-family,
378
- font-size: typography.$h3-font-size,
379
- font-weight: typography.$h3-font-weight,
380
- line-height: typography.$h3-line-height,
381
- color: typography.$h3-color,
382
- ),
383
- $important: defaults.$use-important,
384
- $screen: $screen-name
385
- );
386
-
387
- // e.g. `.md:text-h4` or `.lg:text-h4`
388
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h4";
389
-
390
- @include utility.create-mapped(
391
- $selector,
392
- (
393
- margin: typography.$h4-margin,
394
- font-family: typography.$h4-font-family,
395
- font-size: typography.$h4-font-size,
396
- font-weight: typography.$h4-font-weight,
397
- line-height: typography.$h4-line-height,
398
- color: typography.$h4-color,
399
- ),
400
- $important: defaults.$use-important,
401
- $screen: $screen-name
402
- );
403
-
404
- // e.g. `.md:text-h5` or `.lg:text-h5`
405
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h5";
406
-
407
- @include utility.create-mapped(
408
- $selector,
409
- (
410
- margin: typography.$h5-margin,
411
- font-family: typography.$h5-font-family,
412
- font-size: typography.$h5-font-size,
413
- font-weight: typography.$h5-font-weight,
414
- line-height: typography.$h5-line-height,
415
- color: typography.$h5-color,
416
- ),
417
- $important: defaults.$use-important,
418
- $screen: $screen-name
419
- );
420
-
421
- // e.g. `.md:text-h6` or `.lg:text-h6`
422
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h6";
423
-
424
- @include utility.create-mapped(
425
- $selector,
426
- (
427
- margin: typography.$h6-margin,
428
- font-family: typography.$h6-font-family,
429
- font-size: typography.$h6-font-size,
430
- font-weight: typography.$h6-font-weight,
431
- line-height: typography.$h6-line-height,
432
- color: typography.$h6-color,
433
- ),
434
- $important: defaults.$use-important,
435
- $screen: $screen-name
436
- );
437
-
438
- // For each font weight property, create a utility class.
439
- @each $weight, $value in typography.$font-weights {
440
- // e.g. `.md:font-bold` or `.lg:font-normal`
441
- $selector: #{$selector-prefix}#{defaults.$font-weight-selector-prefix}#{$weight};
442
-
443
- @include utility.create(
444
- $selector,
445
- font-weight,
446
- $value,
447
- $important: defaults.$use-important,
448
- $screen: $screen-name
449
- );
450
- }
451
-
452
- // For each font style property, create a utility class.
453
- @each $style, $value in defaults.$font-style-properties {
454
- // e.g. `.md:font-normal` or `.lg:font-italic`
455
- $selector: #{$selector-prefix}#{defaults.$font-style-selector-prefix}#{$style};
456
-
457
- @include utility.create(
458
- $selector,
459
- font-style,
460
- $value,
461
- $important: defaults.$use-important,
462
- $screen: $screen-name
463
- );
464
- }
465
-
466
- // For each text transform property, create a utility class.
467
- @each $transform, $value in defaults.$text-transform-properties {
468
- // e.g. `.md:text-uppercase` or `.lg:text-lowercase`
469
- $selector: #{$selector-prefix}#{defaults.$text-transform-selector-prefix}#{$transform};
470
-
471
- @include utility.create(
472
- $selector,
473
- text-transform,
474
- $value,
475
- $important: defaults.$use-important,
476
- $screen: $screen-name
477
- );
478
- }
479
- }
480
- }
481
-
482
- // Generate theme-aware utilities.
483
- @if defaults.$theme-aware and root-defaults.$theme-aware-utilities {
484
- @each $theme-name, $colors in color.$themes {
485
- @if $theme-name != active {
486
- // e.g. `.dark:` or `.light:`
487
- $selector-prefix: #{defaults.$selector-base}#{defaults.$theme-aware-selector-prefix}#{$theme-name}#{defaults.$theme-aware-separator};
488
-
489
- // For each font size property, create a utility class.
490
- @each $size, $value in typography.$font-sizes {
491
- // e.g. `.dark:text-2xl` or `.light:text-3xl`
492
- $selector: #{$selector-prefix}#{defaults.$text-selector-prefix}#{$size};
493
-
494
- @include utility.create(
495
- $selector,
496
- font-size,
497
- $value,
498
- $important: defaults.$use-important,
499
- $theme: $theme-name
500
- );
501
- }
502
-
503
- // Create utility classes for each type of text style in Graupl.
504
- // These will apply not only the font size, but also the margin, font weight, and line height.
505
- // This will allow for a more consistent and maintainable typography system.
506
- //
507
- // e.g. `.dark:text-paragraph` or `.light:text-paragraph`
508
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}paragraph";
509
-
510
- @include utility.create-mapped(
511
- $selector,
512
- (
513
- margin: typography.$paragraph-margin,
514
- font-size: typography.$paragraph-font-size,
515
- font-weight: typography.$paragraph-font-weight,
516
- line-height: typography.$paragraph-line-height,
517
- color: typography.$paragraph-color,
518
- ),
519
- $important: defaults.$use-important,
520
- $theme: $theme-name
521
- );
522
-
523
- // e.g. `.dark:text-small` or `.light:text-small`
524
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}small";
525
-
526
- @include utility.create-mapped(
527
- $selector,
528
- (
529
- margin: typography.$small-margin,
530
- font-size: typography.$small-font-size,
531
- font-weight: typography.$small-font-weight,
532
- line-height: typography.$small-line-height,
533
- color: typography.$small-color,
534
- ),
535
- $important: defaults.$use-important,
536
- $theme: $theme-name
537
- );
538
-
539
- // e.g. `.dark:text-h1` or `.light:text-h1`
540
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h1";
541
-
542
- @include utility.create-mapped(
543
- $selector,
544
- (
545
- margin: typography.$h1-margin,
546
- font-family: typography.$h1-font-family,
547
- font-size: typography.$h1-font-size,
548
- font-weight: typography.$h1-font-weight,
549
- line-height: typography.$h1-line-height,
550
- color: typography.$h1-color,
551
- ),
552
- $important: defaults.$use-important,
553
- $theme: $theme-name
554
- );
555
-
556
- // e.g. `.dark:text-h2` or `.light:text-h2`
557
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h2";
558
-
559
- @include utility.create-mapped(
560
- $selector,
561
- (
562
- margin: typography.$h2-margin,
563
- font-family: typography.$h2-font-family,
564
- font-size: typography.$h2-font-size,
565
- font-weight: typography.$h2-font-weight,
566
- line-height: typography.$h2-line-height,
567
- color: typography.$h2-color,
568
- ),
569
- $important: defaults.$use-important,
570
- $theme: $theme-name
571
- );
572
-
573
- // e.g. `.dark:text-h3` or `.light:text-h3`
574
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h3";
575
-
576
- @include utility.create-mapped(
577
- $selector,
578
- (
579
- margin: typography.$h3-margin,
580
- font-family: typography.$h3-font-family,
581
- font-size: typography.$h3-font-size,
582
- font-weight: typography.$h3-font-weight,
583
- line-height: typography.$h3-line-height,
584
- color: typography.$h3-color,
585
- ),
586
- $important: defaults.$use-important,
587
- $theme: $theme-name
588
- );
589
-
590
- // e.g. `.dark:text-h4` or `.light:text-h4`
591
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h4";
592
-
593
- @include utility.create-mapped(
594
- $selector,
595
- (
596
- margin: typography.$h4-margin,
597
- font-family: typography.$h4-font-family,
598
- font-size: typography.$h4-font-size,
599
- font-weight: typography.$h4-font-weight,
600
- line-height: typography.$h4-line-height,
601
- color: typography.$h4-color,
602
- ),
603
- $important: defaults.$use-important,
604
- $theme: $theme-name
605
- );
606
-
607
- // e.g. `.dark:text-h5` or `.light:text-h5`
608
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h5";
609
-
610
- @include utility.create-mapped(
611
- $selector,
612
- (
613
- margin: typography.$h5-margin,
614
- font-family: typography.$h5-font-family,
615
- font-size: typography.$h5-font-size,
616
- font-weight: typography.$h5-font-weight,
617
- line-height: typography.$h5-line-height,
618
- color: typography.$h5-color,
619
- ),
620
- $important: defaults.$use-important,
621
- $theme: $theme-name
622
- );
623
-
624
- // e.g. `.dark:text-h6` or `.light:text-h6`
625
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h6";
626
-
627
- @include utility.create-mapped(
628
- $selector,
629
- (
630
- margin: typography.$h6-margin,
631
- font-family: typography.$h6-font-family,
632
- font-size: typography.$h6-font-size,
633
- font-weight: typography.$h6-font-weight,
634
- line-height: typography.$h6-line-height,
635
- color: typography.$h6-color,
636
- ),
637
- $important: defaults.$use-important,
638
- $theme: $theme-name
639
- );
640
-
641
- // For each font weight property, create a utility class.
642
- @each $weight, $value in typography.$font-weights {
643
- // e.g. `.dark:font-bold` or `.light:font-normal`
644
- $selector: #{$selector-prefix}#{defaults.$font-weight-selector-prefix}#{$weight};
645
-
646
- @include utility.create(
647
- $selector,
648
- font-weight,
649
- $value,
650
- $important: defaults.$use-important,
651
- $theme: $theme-name
652
- );
653
- }
654
-
655
- // For each font style property, create a utility class.
656
- @each $style, $value in defaults.$font-style-properties {
657
- // e.g. `.dark:font-normal` or `.light:font-italic`
658
- $selector: #{$selector-prefix}#{defaults.$font-style-selector-prefix}#{$style};
659
-
660
- @include utility.create(
661
- $selector,
662
- font-style,
663
- $value,
664
- $important: defaults.$use-important,
665
- $theme: $theme-name
666
- );
667
- }
668
-
669
- // For each text transform property, create a utility class.
670
- @each $transform, $value in defaults.$text-transform-properties {
671
- // e.g. `.dark:text-uppercase` or `.light:text-lowercase`
672
- $selector: #{$selector-prefix}#{defaults.$text-transform-selector-prefix}#{$transform};
673
-
674
- @include utility.create(
675
- $selector,
676
- text-transform,
677
- $value,
678
- $important: defaults.$use-important,
679
- $theme: $theme-name
680
- );
681
- }
682
- }
683
- }
684
- }
685
-
686
- // Generate state-aware utilities.
687
- @if defaults.$state-aware and root-defaults.$state-aware-utilities {
688
- @each $state-name, $value in root-defaults.$state-selectors {
689
- // e.g. `.hover:` or `.focus:`
690
- $selector-prefix: #{defaults.$selector-base}#{defaults.$state-aware-selector-prefix}#{$state-name}#{defaults.$state-aware-separator};
691
-
692
- // For each font size property, create a utility class.
693
- @each $size, $value in typography.$font-sizes {
694
- // e.g. `.hover:text-2xl` or `.focus:text-3xl`
695
- $selector: #{$selector-prefix}#{defaults.$text-selector-prefix}#{$size};
696
-
697
- @include utility.create(
698
- $selector,
699
- font-size,
700
- $value,
701
- $important: defaults.$use-important,
702
- $state: $state-name
703
- );
704
- }
705
-
706
- // Create utility classes for each type of text style in Graupl.
707
- // These will apply not only the font size, but also the margin, font weight, and line height.
708
- // This will allow for a more consistent and maintainable typography system.
709
- //
710
- // e.g. `.hover:text-paragraph` or `.focus:text-paragraph`
711
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}paragraph";
712
-
713
- @include utility.create-mapped(
714
- $selector,
715
- (
716
- margin: typography.$paragraph-margin,
717
- font-size: typography.$paragraph-font-size,
718
- font-weight: typography.$paragraph-font-weight,
719
- line-height: typography.$paragraph-line-height,
720
- color: typography.$paragraph-color,
721
- ),
722
- $important: defaults.$use-important,
723
- $state: $state-name
724
- );
725
-
726
- // e.g. `.hover:text-small` or `.focus:text-small`
727
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}small";
728
-
729
- @include utility.create-mapped(
730
- $selector,
731
- (
732
- margin: typography.$small-margin,
733
- font-size: typography.$small-font-size,
734
- font-weight: typography.$small-font-weight,
735
- line-height: typography.$small-line-height,
736
- color: typography.$small-color,
737
- ),
738
- $important: defaults.$use-important,
739
- $state: $state-name
740
- );
741
-
742
- // e.g. `.hover:text-h1` or `.focus:text-h1`
743
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h1";
744
-
745
- @include utility.create-mapped(
746
- $selector,
747
- (
748
- margin: typography.$h1-margin,
749
- font-family: typography.$h1-font-family,
750
- font-size: typography.$h1-font-size,
751
- font-weight: typography.$h1-font-weight,
752
- line-height: typography.$h1-line-height,
753
- color: typography.$h1-color,
754
- ),
755
- $important: defaults.$use-important,
756
- $state: $state-name
757
- );
758
-
759
- // e.g. `.hover:text-h2` or `.focus:text-h2`
760
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h2";
761
-
762
- @include utility.create-mapped(
763
- $selector,
764
- (
765
- margin: typography.$h2-margin,
766
- font-family: typography.$h2-font-family,
767
- font-size: typography.$h2-font-size,
768
- font-weight: typography.$h2-font-weight,
769
- line-height: typography.$h2-line-height,
770
- color: typography.$h2-color,
771
- ),
772
- $important: defaults.$use-important,
773
- $state: $state-name
774
- );
775
-
776
- // e.g. `.hover:text-h3` or `.focus:text-h3`
777
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h3";
778
-
779
- @include utility.create-mapped(
780
- $selector,
781
- (
782
- margin: typography.$h3-margin,
783
- font-family: typography.$h3-font-family,
784
- font-size: typography.$h3-font-size,
785
- font-weight: typography.$h3-font-weight,
786
- line-height: typography.$h3-line-height,
787
- color: typography.$h3-color,
788
- ),
789
- $important: defaults.$use-important,
790
- $state: $state-name
791
- );
792
-
793
- // e.g. `.hover:text-h4` or `.focus:text-h4`
794
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h4";
795
-
796
- @include utility.create-mapped(
797
- $selector,
798
- (
799
- margin: typography.$h4-margin,
800
- font-family: typography.$h4-font-family,
801
- font-size: typography.$h4-font-size,
802
- font-weight: typography.$h4-font-weight,
803
- line-height: typography.$h4-line-height,
804
- color: typography.$h4-color,
805
- ),
806
- $important: defaults.$use-important,
807
- $state: $state-name
808
- );
809
-
810
- // e.g. `.hover:text-h5` or `.focus:text-h5`
811
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h5";
812
-
813
- @include utility.create-mapped(
814
- $selector,
815
- (
816
- margin: typography.$h5-margin,
817
- font-family: typography.$h5-font-family,
818
- font-size: typography.$h5-font-size,
819
- font-weight: typography.$h5-font-weight,
820
- line-height: typography.$h5-line-height,
821
- color: typography.$h5-color,
822
- ),
823
- $important: defaults.$use-important,
824
- $state: $state-name
825
- );
826
-
827
- // e.g. `.hover:text-h6` or `.focus:text-h6`
828
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h6";
829
-
830
- @include utility.create-mapped(
831
- $selector,
832
- (
833
- margin: typography.$h6-margin,
834
- font-family: typography.$h6-font-family,
835
- font-size: typography.$h6-font-size,
836
- font-weight: typography.$h6-font-weight,
837
- line-height: typography.$h6-line-height,
838
- color: typography.$h6-color,
839
- ),
840
- $important: defaults.$use-important,
841
- $state: $state-name
842
- );
843
-
844
- // For each font weight property, create a utility class.
845
- @each $weight, $value in typography.$font-weights {
846
- // e.g. `.hover:font-bold` or `.focus:font-normal`
847
- $selector: #{$selector-prefix}#{defaults.$font-weight-selector-prefix}#{$weight};
848
-
849
- @include utility.create(
850
- $selector,
851
- font-weight,
852
- $value,
853
- $important: defaults.$use-important,
854
- $state: $state-name
855
- );
856
- }
857
-
858
- // For each font style property, create a utility class.
859
- @each $style, $value in defaults.$font-style-properties {
860
- // e.g. `.hover:font-normal` or `.focus:font-italic`
861
- $selector: #{$selector-prefix}#{defaults.$font-style-selector-prefix}#{$style};
862
-
863
- @include utility.create(
864
- $selector,
865
- font-style,
866
- $value,
867
- $important: defaults.$use-important,
868
- $state: $state-name
869
- );
870
- }
871
-
872
- // For each text transform property, create a utility class.
873
- @each $transform, $value in defaults.$text-transform-properties {
874
- // e.g. `.hover:text-uppercase` or `.focus:text-lowercase`
875
- $selector: #{$selector-prefix}#{defaults.$text-transform-selector-prefix}#{$transform};
876
-
877
- @include utility.create(
878
- $selector,
879
- text-transform,
880
- $value,
881
- $important: defaults.$use-important,
882
- $state: $state-name
883
- );
884
- }
885
- }
886
- }
887
-
888
- // Generate container-aware utilities.
889
- @if defaults.$container-aware and root-defaults.$container-aware-utilities {
890
- @each $container-name in map.keys(root-defaults.$container-sizes) {
891
- // e.g. `.md:` or `.lg:`
892
- $selector-prefix: #{defaults.$selector-base}#{defaults.$container-aware-selector-prefix}#{$container-name}#{defaults.$container-aware-separator};
893
-
894
- // For each font size property, create a utility class.
895
- @each $size, $value in typography.$font-sizes {
896
- // e.g. `.md:text-2xl` or `.lg:text-3xl`
897
- $selector: #{$selector-prefix}#{defaults.$text-selector-prefix}#{$size};
898
-
899
- @include utility.create(
900
- $selector,
901
- font-size,
902
- $value,
903
- $important: defaults.$use-important,
904
- $container: $container-name
905
- );
906
- }
907
-
908
- // Create utility classes for each type of text style in Graupl.
909
- // These will apply not only the font size, but also the margin, font weight, and line height.
910
- // This will allow for a more consistent and maintainable typography system.
911
- //
912
- // e.g. `.md:text-paragraph` or `.lg:text-paragraph`
913
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}paragraph";
914
-
915
- @include utility.create-mapped(
916
- $selector,
917
- (
918
- margin: typography.$paragraph-margin,
919
- font-size: typography.$paragraph-font-size,
920
- font-weight: typography.$paragraph-font-weight,
921
- line-height: typography.$paragraph-line-height,
922
- color: typography.$paragraph-color,
923
- ),
924
- $important: defaults.$use-important,
925
- $container: $container-name
926
- );
927
-
928
- // e.g. `.md:text-small` or `.lg:text-small`
929
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}small";
930
-
931
- @include utility.create-mapped(
932
- $selector,
933
- (
934
- margin: typography.$small-margin,
935
- font-size: typography.$small-font-size,
936
- font-weight: typography.$small-font-weight,
937
- line-height: typography.$small-line-height,
938
- color: typography.$small-color,
939
- ),
940
- $important: defaults.$use-important,
941
- $container: $container-name
942
- );
943
-
944
- // e.g. `.md:text-h1` or `.lg:text-h1`
945
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h1";
946
-
947
- @include utility.create-mapped(
948
- $selector,
949
- (
950
- margin: typography.$h1-margin,
951
- font-family: typography.$h1-font-family,
952
- font-size: typography.$h1-font-size,
953
- font-weight: typography.$h1-font-weight,
954
- line-height: typography.$h1-line-height,
955
- color: typography.$h1-color,
956
- ),
957
- $important: defaults.$use-important,
958
- $container: $container-name
959
- );
960
-
961
- // e.g. `.md:text-h2` or `.lg:text-h2`
962
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h2";
963
-
964
- @include utility.create-mapped(
965
- $selector,
966
- (
967
- margin: typography.$h2-margin,
968
- font-family: typography.$h2-font-family,
969
- font-size: typography.$h2-font-size,
970
- font-weight: typography.$h2-font-weight,
971
- line-height: typography.$h2-line-height,
972
- color: typography.$h2-color,
973
- ),
974
- $important: defaults.$use-important,
975
- $container: $container-name
976
- );
977
-
978
- // e.g. `.md:text-h3` or `.lg:text-h3`
979
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h3";
980
-
981
- @include utility.create-mapped(
982
- $selector,
983
- (
984
- margin: typography.$h3-margin,
985
- font-family: typography.$h3-font-family,
986
- font-size: typography.$h3-font-size,
987
- font-weight: typography.$h3-font-weight,
988
- line-height: typography.$h3-line-height,
989
- color: typography.$h3-color,
990
- ),
991
- $important: defaults.$use-important,
992
- $container: $container-name
993
- );
994
-
995
- // e.g. `.md:text-h4` or `.lg:text-h4`
996
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h4";
997
-
998
- @include utility.create-mapped(
999
- $selector,
1000
- (
1001
- margin: typography.$h4-margin,
1002
- font-family: typography.$h4-font-family,
1003
- font-size: typography.$h4-font-size,
1004
- font-weight: typography.$h4-font-weight,
1005
- line-height: typography.$h4-line-height,
1006
- color: typography.$h4-color,
1007
- ),
1008
- $important: defaults.$use-important,
1009
- $container: $container-name
1010
- );
1011
-
1012
- // e.g. `.md:text-h5` or `.lg:text-h5`
1013
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h5";
1014
-
1015
- @include utility.create-mapped(
1016
- $selector,
1017
- (
1018
- margin: typography.$h5-margin,
1019
- font-family: typography.$h5-font-family,
1020
- font-size: typography.$h5-font-size,
1021
- font-weight: typography.$h5-font-weight,
1022
- line-height: typography.$h5-line-height,
1023
- color: typography.$h5-color,
1024
- ),
1025
- $important: defaults.$use-important,
1026
- $container: $container-name
1027
- );
1028
-
1029
- // e.g. `.md:text-h6` or `.lg:text-h6`
1030
- $selector: "#{$selector-prefix}#{defaults.$text-selector-prefix}h6";
1031
-
1032
- @include utility.create-mapped(
1033
- $selector,
1034
- (
1035
- margin: typography.$h6-margin,
1036
- font-family: typography.$h6-font-family,
1037
- font-size: typography.$h6-font-size,
1038
- font-weight: typography.$h6-font-weight,
1039
- line-height: typography.$h6-line-height,
1040
- color: typography.$h6-color,
1041
- ),
1042
- $important: defaults.$use-important,
1043
- $container: $container-name
1044
- );
1045
-
1046
- // For each font weight property, create a utility class.
1047
- @each $weight, $value in typography.$font-weights {
1048
- // e.g. `.md:font-bold` or `.lg:font-normal`
1049
- $selector: #{$selector-prefix}#{defaults.$font-weight-selector-prefix}#{$weight};
1050
-
1051
- @include utility.create(
1052
- $selector,
1053
- font-weight,
1054
- $value,
1055
- $important: defaults.$use-important,
1056
- $container: $container-name
1057
- );
1058
- }
1059
-
1060
- // For each font style property, create a utility class.
1061
- @each $style, $value in defaults.$font-style-properties {
1062
- // e.g. `.md:font-normal` or `.lg:font-italic`
1063
- $selector: #{$selector-prefix}#{defaults.$font-style-selector-prefix}#{$style};
1064
-
1065
- @include utility.create(
1066
- $selector,
1067
- font-style,
1068
- $value,
1069
- $important: defaults.$use-important,
1070
- $container: $container-name
1071
- );
1072
- }
1073
-
1074
- // For each text transform property, create a utility class.
1075
- @each $transform, $value in defaults.$text-transform-properties {
1076
- // e.g. `.md:text-uppercase` or `.lg:text-lowercase`
1077
- $selector: #{$selector-prefix}#{defaults.$text-transform-selector-prefix}#{$transform};
1078
-
1079
- @include utility.create(
1080
- $selector,
1081
- text-transform,
1082
- $value,
1083
- $important: defaults.$use-important,
1084
- $container: $container-name
1085
- );
1086
- }
1087
- }
1088
- }
1089
- }