@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,970 +0,0 @@
1
- // @graupl/core spacing utilities styles.
2
- //
3
- // This file generates the spacing utility classes provided by Graupl.
4
- //
5
- // The following classes are generated by default:
6
- // - `.g-0`: Sets the gap property to Graupl's spacer 0 value.
7
- // - `.g-1`: Sets the gap property to Graupl's spacer 1 value.
8
- // - `.g-2`: Sets the gap property to Graupl's spacer 2 value.
9
- // - `.g-3`: Sets the gap property to Graupl's spacer 3 value.
10
- // - `.g-4`: Sets the gap property to Graupl's spacer 4 value.
11
- // - `.g-5`: Sets the gap property to Graupl's spacer 5 value.
12
- // - `.g-6`: Sets the gap property to Graupl's spacer 6 value.
13
- // - `.g-7`: Sets the gap property to Graupl's spacer 7 value.
14
- // - `.g-8`: Sets the gap property to Graupl's spacer 8 value.
15
- // - `.g-9`: Sets the gap property to Graupl's spacer 9 value.
16
- // - `.g-10`: Sets the gap property to Graupl's spacer 10 value.
17
- // - `.g-auto`: Sets the gap property to `auto`.
18
- // - `.rg-0`: Sets the row-gap property to Graupl's spacer 0 value.
19
- // - `.rg-1`: Sets the row-gap property to Graupl's spacer 1 value.
20
- // - `.rg-2`: Sets the row-gap property to Graupl's spacer 2 value.
21
- // - `.rg-3`: Sets the row-gap property to Graupl's spacer 3 value.
22
- // - `.rg-4`: Sets the row-gap property to Graupl's spacer 4 value.
23
- // - `.rg-5`: Sets the row-gap property to Graupl's spacer 5 value.
24
- // - `.rg-6`: Sets the row-gap property to Graupl's spacer 6 value.
25
- // - `.rg-7`: Sets the row-gap property to Graupl's spacer 7 value.
26
- // - `.rg-8`: Sets the row-gap property to Graupl's spacer 8 value.
27
- // - `.rg-9`: Sets the row-gap property to Graupl's spacer 9 value.
28
- // - `.rg-10`: Sets the row-gap property to Graupl's spacer 10 value.
29
- // - `.rg-auto`: Sets the row-gap property to `auto`.
30
- // - `.cg-0`: Sets the column-gap property to Graupl's spacer 0 value.
31
- // - `.cg-1`: Sets the column-gap property to Graupl's spacer 1 value.
32
- // - `.cg-2`: Sets the column-gap property to Graupl's spacer 2 value.
33
- // - `.cg-3`: Sets the column-gap property to Graupl's spacer 3 value.
34
- // - `.cg-4`: Sets the column-gap property to Graupl's spacer 4 value.
35
- // - `.cg-5`: Sets the column-gap property to Graupl's spacer 5 value.
36
- // - `.cg-6`: Sets the column-gap property to Graupl's spacer 6 value.
37
- // - `.cg-7`: Sets the column-gap property to Graupl's spacer 7 value.
38
- // - `.cg-8`: Sets the column-gap property to Graupl's spacer 8 value.
39
- // - `.cg-9`: Sets the column-gap property to Graupl's spacer 9 value.
40
- // - `.cg-10`: Sets the column-gap property to Graupl's spacer 10 value.
41
- // - `.cg-auto`: Sets the column-gap property to `auto`.
42
- // - `.p-0`: Sets the padding property to Graupl's spacer 0 value.
43
- // - `.p-1`: Sets the padding property to Graupl's spacer 1 value.
44
- // - `.p-2`: Sets the padding property to Graupl's spacer 2 value.
45
- // - `.p-3`: Sets the padding property to Graupl's spacer 3 value.
46
- // - `.p-4`: Sets the padding property to Graupl's spacer 4 value.
47
- // - `.p-5`: Sets the padding property to Graupl's spacer 5 value.
48
- // - `.p-6`: Sets the padding property to Graupl's spacer 6 value.
49
- // - `.p-7`: Sets the padding property to Graupl's spacer 7 value.
50
- // - `.p-8`: Sets the padding property to Graupl's spacer 8 value.
51
- // - `.p-9`: Sets the padding property to Graupl's spacer 9 value.
52
- // - `.p-10`: Sets the padding property to Graupl's spacer 10 value.
53
- // - `.p-auto`: Sets the padding property to `auto`.
54
- // - `.pt-0`: Sets the padding-top property to Graupl's spacer 0 value.
55
- // - `.pt-1`: Sets the padding-top property to Graupl's spacer 1 value.
56
- // - `.pt-2`: Sets the padding-top property to Graupl's spacer 2 value.
57
- // - `.pt-3`: Sets the padding-top property to Graupl's spacer 3 value.
58
- // - `.pt-4`: Sets the padding-top property to Graupl's spacer 4 value.
59
- // - `.pt-5`: Sets the padding-top property to Graupl's spacer 5 value.
60
- // - `.pt-6`: Sets the padding-top property to Graupl's spacer 6 value.
61
- // - `.pt-7`: Sets the padding-top property to Graupl's spacer 7 value.
62
- // - `.pt-8`: Sets the padding-top property to Graupl's spacer 8 value.
63
- // - `.pt-9`: Sets the padding-top property to Graupl's spacer 9 value.
64
- // - `.pt-10`: Sets the padding-top property to Graupl's spacer 10 value.
65
- // - `.pt-auto`: Sets the padding-top property to `auto`.
66
- // - `.pr-0`: Sets the padding-right property to Graupl's spacer 0 value.
67
- // - `.pr-1`: Sets the padding-right property to Graupl's spacer 1 value.
68
- // - `.pr-2`: Sets the padding-right property to Graupl's spacer 2 value.
69
- // - `.pr-3`: Sets the padding-right property to Graupl's spacer 3 value.
70
- // - `.pr-4`: Sets the padding-right property to Graupl's spacer 4 value.
71
- // - `.pr-5`: Sets the padding-right property to Graupl's spacer 5 value.
72
- // - `.pr-6`: Sets the padding-right property to Graupl's spacer 6 value.
73
- // - `.pr-7`: Sets the padding-right property to Graupl's spacer 7 value.
74
- // - `.pr-8`: Sets the padding-right property to Graupl's spacer 8 value.
75
- // - `.pr-9`: Sets the padding-right property to Graupl's spacer 9 value.
76
- // - `.pr-10`: Sets the padding-right property to Graupl's spacer 10 value.
77
- // - `.pr-auto`: Sets the padding-right property to `auto`.
78
- // - `.pb-0`: Sets the padding-bottom property to Graupl's spacer 0 value.
79
- // - `.pb-1`: Sets the padding-bottom property to Graupl's spacer 1 value.
80
- // - `.pb-2`: Sets the padding-bottom property to Graupl's spacer 2 value.
81
- // - `.pb-3`: Sets the padding-bottom property to Graupl's spacer 3 value.
82
- // - `.pb-4`: Sets the padding-bottom property to Graupl's spacer 4 value.
83
- // - `.pb-5`: Sets the padding-bottom property to Graupl's spacer 5 value.
84
- // - `.pb-6`: Sets the padding-bottom property to Graupl's spacer 6 value.
85
- // - `.pb-7`: Sets the padding-bottom property to Graupl's spacer 7 value.
86
- // - `.pb-8`: Sets the padding-bottom property to Graupl's spacer 8 value.
87
- // - `.pb-9`: Sets the padding-bottom property to Graupl's spacer 9 value.
88
- // - `.pb-10`: Sets the padding-bottom property to Graupl's spacer 10 value.
89
- // - `.pb-auto`: Sets the padding-bottom property to `auto`.
90
- // - `.pl-0`: Sets the padding-left property to Graupl's spacer 0 value.
91
- // - `.pl-1`: Sets the padding-left property to Graupl's spacer 1 value.
92
- // - `.pl-2`: Sets the padding-left property to Graupl's spacer 2 value.
93
- // - `.pl-3`: Sets the padding-left property to Graupl's spacer 3 value.
94
- // - `.pl-4`: Sets the padding-left property to Graupl's spacer 4 value.
95
- // - `.pl-5`: Sets the padding-left property to Graupl's spacer 5 value.
96
- // - `.pl-6`: Sets the padding-left property to Graupl's spacer 6 value.
97
- // - `.pl-7`: Sets the padding-left property to Graupl's spacer 7 value.
98
- // - `.pl-8`: Sets the padding-left property to Graupl's spacer 8 value.
99
- // - `.pl-9`: Sets the padding-left property to Graupl's spacer 9 value.
100
- // - `.pl-10`: Sets the padding-left property to Graupl's spacer 10 value.
101
- // - `.pl-auto`: Sets the padding-left property to `auto`.
102
- // - `.px-0`: Sets the padding-right and padding-left property to Graupl's spacer 0 value.
103
- // - `.px-1`: Sets the padding-right and padding-left property to Graupl's spacer 1 value.
104
- // - `.px-2`: Sets the padding-right and padding-left property to Graupl's spacer 2 value.
105
- // - `.px-3`: Sets the padding-right and padding-left property to Graupl's spacer 3 value.
106
- // - `.px-4`: Sets the padding-right and padding-left property to Graupl's spacer 4 value.
107
- // - `.px-5`: Sets the padding-right and padding-left property to Graupl's spacer 5 value.
108
- // - `.px-6`: Sets the padding-right and padding-left property to Graupl's spacer 6 value.
109
- // - `.px-7`: Sets the padding-right and padding-left property to Graupl's spacer 7 value.
110
- // - `.px-8`: Sets the padding-right and padding-left property to Graupl's spacer 8 value.
111
- // - `.px-9`: Sets the padding-right and padding-left property to Graupl's spacer 9 value.
112
- // - `.px-10`: Sets the padding-right and padding-left property to Graupl's spacer 10 value.
113
- // - `.px-auto`: Sets the padding-right and padding-left property to `auto`.
114
- // - `.py-0`: Sets the padding-top and padding-bottom property to Graupl's spacer 0 value.
115
- // - `.py-1`: Sets the padding-top and padding-bottom property to Graupl's spacer 1 value.
116
- // - `.py-2`: Sets the padding-top and padding-bottom property to Graupl's spacer 2 value.
117
- // - `.py-3`: Sets the padding-top and padding-bottom property to Graupl's spacer 3 value.
118
- // - `.py-4`: Sets the padding-top and padding-bottom property to Graupl's spacer 4 value.
119
- // - `.py-5`: Sets the padding-top and padding-bottom property to Graupl's spacer 5 value.
120
- // - `.py-6`: Sets the padding-top and padding-bottom property to Graupl's spacer 6 value.
121
- // - `.py-7`: Sets the padding-top and padding-bottom property to Graupl's spacer 7 value.
122
- // - `.py-8`: Sets the padding-top and padding-bottom property to Graupl's spacer 8 value.
123
- // - `.py-9`: Sets the padding-top and padding-bottom property to Graupl's spacer 9 value.
124
- // - `.py-10`: Sets the padding-top and padding-bottom property to Graupl's spacer 10 value.
125
- // - `.py-auto`: Sets the padding-top and padding-bottom property to `auto`.
126
- // - `.pbs-0`: Sets the padding-block-start property to Graupl's spacer 0 value.
127
- // - `.pbs-1`: Sets the padding-block-start property to Graupl's spacer 1 value.
128
- // - `.pbs-2`: Sets the padding-block-start property to Graupl's spacer 2 value.
129
- // - `.pbs-3`: Sets the padding-block-start property to Graupl's spacer 3 value.
130
- // - `.pbs-4`: Sets the padding-block-start property to Graupl's spacer 4 value.
131
- // - `.pbs-5`: Sets the padding-block-start property to Graupl's spacer 5 value.
132
- // - `.pbs-6`: Sets the padding-block-start property to Graupl's spacer 6 value.
133
- // - `.pbs-7`: Sets the padding-block-start property to Graupl's spacer 7 value.
134
- // - `.pbs-8`: Sets the padding-block-start property to Graupl's spacer 8 value.
135
- // - `.pbs-9`: Sets the padding-block-start property to Graupl's spacer 9 value.
136
- // - `.pbs-10`: Sets the padding-block-start property to Graupl's spacer 10 value.
137
- // - `.pbs-auto`: Sets the padding-block-start property to `auto`.
138
- // - `.pbe-0`: Sets the padding-block-end property to Graupl's spacer 0 value.
139
- // - `.pbe-1`: Sets the padding-block-end property to Graupl's spacer 1 value.
140
- // - `.pbe-2`: Sets the padding-block-end property to Graupl's spacer 2 value.
141
- // - `.pbe-3`: Sets the padding-block-end property to Graupl's spacer 3 value.
142
- // - `.pbe-4`: Sets the padding-block-end property to Graupl's spacer 4 value.
143
- // - `.pbe-5`: Sets the padding-block-end property to Graupl's spacer 5 value.
144
- // - `.pbe-6`: Sets the padding-block-end property to Graupl's spacer 6 value.
145
- // - `.pbe-7`: Sets the padding-block-end property to Graupl's spacer 7 value.
146
- // - `.pbe-8`: Sets the padding-block-end property to Graupl's spacer 8 value.
147
- // - `.pbe-9`: Sets the padding-block-end property to Graupl's spacer 9 value.
148
- // - `.pbe-10`: Sets the padding-block-end property to Graupl's spacer 10 value.
149
- // - `.pbe-auto`: Sets the padding-block-end property to `auto`.
150
- // - `.pbse-0`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 0 value.
151
- // - `.pbse-1`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 1 value.
152
- // - `.pbse-2`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 2 value.
153
- // - `.pbse-3`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 3 value.
154
- // - `.pbse-4`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 4 value.
155
- // - `.pbse-5`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 5 value.
156
- // - `.pbse-6`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 6 value.
157
- // - `.pbse-7`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 7 value.
158
- // - `.pbse-8`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 8 value.
159
- // - `.pbse-9`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 9 value.
160
- // - `.pbse-10`: Sets the padding-block-start and padding-block-end property to Graupl's spacer 10 value.
161
- // - `.pbse-auto`: Sets the padding-block-start and padding-block-end property to `auto`.
162
- // - `.pis-0`: Sets the padding-inline-start property to Graupl's spacer 0 value.
163
- // - `.pis-1`: Sets the padding-inline-start property to Graupl's spacer 1 value.
164
- // - `.pis-2`: Sets the padding-inline-start property to Graupl's spacer 2 value.
165
- // - `.pis-3`: Sets the padding-inline-start property to Graupl's spacer 3 value.
166
- // - `.pis-4`: Sets the padding-inline-start property to Graupl's spacer 4 value.
167
- // - `.pis-5`: Sets the padding-inline-start property to Graupl's spacer 5 value.
168
- // - `.pis-6`: Sets the padding-inline-start property to Graupl's spacer 6 value.
169
- // - `.pis-7`: Sets the padding-inline-start property to Graupl's spacer 7 value.
170
- // - `.pis-8`: Sets the padding-inline-start property to Graupl's spacer 8 value.
171
- // - `.pis-9`: Sets the padding-inline-start property to Graupl's spacer 9 value.
172
- // - `.pis-10`: Sets the padding-inline-start property to Graupl's spacer 10 value.
173
- // - `.pis-auto`: Sets the padding-inline-start property to `auto`.
174
- // - `.pie-0`: Sets the padding-inline-end property to Graupl's spacer 0 value.
175
- // - `.pie-1`: Sets the padding-inline-end property to Graupl's spacer 1 value.
176
- // - `.pie-2`: Sets the padding-inline-end property to Graupl's spacer 2 value.
177
- // - `.pie-3`: Sets the padding-inline-end property to Graupl's spacer 3 value.
178
- // - `.pie-4`: Sets the padding-inline-end property to Graupl's spacer 4 value.
179
- // - `.pie-5`: Sets the padding-inline-end property to Graupl's spacer 5 value.
180
- // - `.pie-6`: Sets the padding-inline-end property to Graupl's spacer 6 value.
181
- // - `.pie-7`: Sets the padding-inline-end property to Graupl's spacer 7 value.
182
- // - `.pie-8`: Sets the padding-inline-end property to Graupl's spacer 8 value.
183
- // - `.pie-9`: Sets the padding-inline-end property to Graupl's spacer 9 value.
184
- // - `.pie-10`: Sets the padding-inline-end property to Graupl's spacer 10 value.
185
- // - `.pie-auto`: Sets the padding-inline-end property to `auto`.
186
- // - `.pise-0`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 0 value.
187
- // - `.pise-1`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 1 value.
188
- // - `.pise-2`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 2 value.
189
- // - `.pise-3`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 3 value.
190
- // - `.pise-4`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 4 value.
191
- // - `.pise-5`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 5 value.
192
- // - `.pise-6`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 6 value.
193
- // - `.pise-7`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 7 value.
194
- // - `.pise-8`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 8 value.
195
- // - `.pise-9`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 9 value.
196
- // - `.pise-10`: Sets the padding-inline-start and padding-inline-end property to Graupl's spacer 10 value.
197
- // - `.pise-auto`: Sets the padding-inline-start and padding-inline-end property to `auto`.
198
- // - `.m-0`: Sets the margin property to Graupl's spacer 0 value.
199
- // - `.m-1`: Sets the margin property to Graupl's spacer 1 value.
200
- // - `.m-2`: Sets the margin property to Graupl's spacer 2 value.
201
- // - `.m-3`: Sets the margin property to Graupl's spacer 3 value.
202
- // - `.m-4`: Sets the margin property to Graupl's spacer 4 value.
203
- // - `.m-5`: Sets the margin property to Graupl's spacer 5 value.
204
- // - `.m-6`: Sets the margin property to Graupl's spacer 6 value.
205
- // - `.m-7`: Sets the margin property to Graupl's spacer 7 value.
206
- // - `.m-8`: Sets the margin property to Graupl's spacer 8 value.
207
- // - `.m-9`: Sets the margin property to Graupl's spacer 9 value.
208
- // - `.m-10`: Sets the margin property to Graupl's spacer 10 value.
209
- // - `.m-auto`: Sets the margin property to `auto`.
210
- // - `.mt-0`: Sets the margin-top property to Graupl's spacer 0 value.
211
- // - `.mt-1`: Sets the margin-top property to Graupl's spacer 1 value.
212
- // - `.mt-2`: Sets the margin-top property to Graupl's spacer 2 value.
213
- // - `.mt-3`: Sets the margin-top property to Graupl's spacer 3 value.
214
- // - `.mt-4`: Sets the margin-top property to Graupl's spacer 4 value.
215
- // - `.mt-5`: Sets the margin-top property to Graupl's spacer 5 value.
216
- // - `.mt-6`: Sets the margin-top property to Graupl's spacer 6 value.
217
- // - `.mt-7`: Sets the margin-top property to Graupl's spacer 7 value.
218
- // - `.mt-8`: Sets the margin-top property to Graupl's spacer 8 value.
219
- // - `.mt-9`: Sets the margin-top property to Graupl's spacer 9 value.
220
- // - `.mt-10`: Sets the margin-top property to Graupl's spacer 10 value.
221
- // - `.mt-auto`: Sets the margin-top property to `auto`.
222
- // - `.mr-0`: Sets the margin-right property to Graupl's spacer 0 value.
223
- // - `.mr-1`: Sets the margin-right property to Graupl's spacer 1 value.
224
- // - `.mr-2`: Sets the margin-right property to Graupl's spacer 2 value.
225
- // - `.mr-3`: Sets the margin-right property to Graupl's spacer 3 value.
226
- // - `.mr-4`: Sets the margin-right property to Graupl's spacer 4 value.
227
- // - `.mr-5`: Sets the margin-right property to Graupl's spacer 5 value.
228
- // - `.mr-6`: Sets the margin-right property to Graupl's spacer 6 value.
229
- // - `.mr-7`: Sets the margin-right property to Graupl's spacer 7 value.
230
- // - `.mr-8`: Sets the margin-right property to Graupl's spacer 8 value.
231
- // - `.mr-9`: Sets the margin-right property to Graupl's spacer 9 value.
232
- // - `.mr-10`: Sets the margin-right property to Graupl's spacer 10 value.
233
- // - `.mr-auto`: Sets the margin-right property to `auto`.
234
- // - `.mb-0`: Sets the margin-bottom property to Graupl's spacer 0 value.
235
- // - `.mb-1`: Sets the margin-bottom property to Graupl's spacer 1 value.
236
- // - `.mb-2`: Sets the margin-bottom property to Graupl's spacer 2 value.
237
- // - `.mb-3`: Sets the margin-bottom property to Graupl's spacer 3 value.
238
- // - `.mb-4`: Sets the margin-bottom property to Graupl's spacer 4 value.
239
- // - `.mb-5`: Sets the margin-bottom property to Graupl's spacer 5 value.
240
- // - `.mb-6`: Sets the margin-bottom property to Graupl's spacer 6 value.
241
- // - `.mb-7`: Sets the margin-bottom property to Graupl's spacer 7 value.
242
- // - `.mb-8`: Sets the margin-bottom property to Graupl's spacer 8 value.
243
- // - `.mb-9`: Sets the margin-bottom property to Graupl's spacer 9 value.
244
- // - `.mb-10`: Sets the margin-bottom property to Graupl's spacer 10 value.
245
- // - `.mb-auto`: Sets the margin-bottom property to `auto`.
246
- // - `.ml-0`: Sets the margin-left property to Graupl's spacer 0 value.
247
- // - `.ml-1`: Sets the margin-left property to Graupl's spacer 1 value.
248
- // - `.ml-2`: Sets the margin-left property to Graupl's spacer 2 value.
249
- // - `.ml-3`: Sets the margin-left property to Graupl's spacer 3 value.
250
- // - `.ml-4`: Sets the margin-left property to Graupl's spacer 4 value.
251
- // - `.ml-5`: Sets the margin-left property to Graupl's spacer 5 value.
252
- // - `.ml-6`: Sets the margin-left property to Graupl's spacer 6 value.
253
- // - `.ml-7`: Sets the margin-left property to Graupl's spacer 7 value.
254
- // - `.ml-8`: Sets the margin-left property to Graupl's spacer 8 value.
255
- // - `.ml-9`: Sets the margin-left property to Graupl's spacer 9 value.
256
- // - `.ml-10`: Sets the margin-left property to Graupl's spacer 10 value.
257
- // - `.ml-auto`: Sets the margin-left property to `auto`.
258
- // - `.mx-0`: Sets the margin-right and margin-left property to Graupl's spacer 0 value.
259
- // - `.mx-1`: Sets the margin-right and margin-left property to Graupl's spacer 1 value.
260
- // - `.mx-2`: Sets the margin-right and margin-left property to Graupl's spacer 2 value.
261
- // - `.mx-3`: Sets the margin-right and margin-left property to Graupl's spacer 3 value.
262
- // - `.mx-4`: Sets the margin-right and margin-left property to Graupl's spacer 4 value.
263
- // - `.mx-5`: Sets the margin-right and margin-left property to Graupl's spacer 5 value.
264
- // - `.mx-6`: Sets the margin-right and margin-left property to Graupl's spacer 6 value.
265
- // - `.mx-7`: Sets the margin-right and margin-left property to Graupl's spacer 7 value.
266
- // - `.mx-8`: Sets the margin-right and margin-left property to Graupl's spacer 8 value.
267
- // - `.mx-9`: Sets the margin-right and margin-left property to Graupl's spacer 9 value.
268
- // - `.mx-10`: Sets the margin-right and margin-left property to Graupl's spacer 10 value.
269
- // - `.mx-auto`: Sets the margin-right and margin-left property to `auto`.
270
- // - `.my-0`: Sets the margin-top and margin-bottom property to Graupl's spacer 0 value.
271
- // - `.my-1`: Sets the margin-top and margin-bottom property to Graupl's spacer 1 value.
272
- // - `.my-2`: Sets the margin-top and margin-bottom property to Graupl's spacer 2 value.
273
- // - `.my-3`: Sets the margin-top and margin-bottom property to Graupl's spacer 3 value.
274
- // - `.my-4`: Sets the margin-top and margin-bottom property to Graupl's spacer 4 value.
275
- // - `.my-5`: Sets the margin-top and margin-bottom property to Graupl's spacer 5 value.
276
- // - `.my-6`: Sets the margin-top and margin-bottom property to Graupl's spacer 6 value.
277
- // - `.my-7`: Sets the margin-top and margin-bottom property to Graupl's spacer 7 value.
278
- // - `.my-8`: Sets the margin-top and margin-bottom property to Graupl's spacer 8 value.
279
- // - `.my-9`: Sets the margin-top and margin-bottom property to Graupl's spacer 9 value.
280
- // - `.my-10`: Sets the margin-top and margin-bottom property to Graupl's spacer 10 value.
281
- // - `.my-auto`: Sets the margin-top and margin-bottom property to `auto`.
282
- // - `.mbs-0`: Sets the margin-block-start property to Graupl's spacer 0 value.
283
- // - `.mbs-1`: Sets the margin-block-start property to Graupl's spacer 1 value.
284
- // - `.mbs-2`: Sets the margin-block-start property to Graupl's spacer 2 value.
285
- // - `.mbs-3`: Sets the margin-block-start property to Graupl's spacer 3 value.
286
- // - `.mbs-4`: Sets the margin-block-start property to Graupl's spacer 4 value.
287
- // - `.mbs-5`: Sets the margin-block-start property to Graupl's spacer 5 value.
288
- // - `.mbs-6`: Sets the margin-block-start property to Graupl's spacer 6 value.
289
- // - `.mbs-7`: Sets the margin-block-start property to Graupl's spacer 7 value.
290
- // - `.mbs-8`: Sets the margin-block-start property to Graupl's spacer 8 value.
291
- // - `.mbs-9`: Sets the margin-block-start property to Graupl's spacer 9 value.
292
- // - `.mbs-10`: Sets the margin-block-start property to Graupl's spacer 10 value.
293
- // - `.mbs-auto`: Sets the margin-block-start property to `auto`.
294
- // - `.mbe-0`: Sets the margin-block-end property to Graupl's spacer 0 value.
295
- // - `.mbe-1`: Sets the margin-block-end property to Graupl's spacer 1 value.
296
- // - `.mbe-2`: Sets the margin-block-end property to Graupl's spacer 2 value.
297
- // - `.mbe-3`: Sets the margin-block-end property to Graupl's spacer 3 value.
298
- // - `.mbe-4`: Sets the margin-block-end property to Graupl's spacer 4 value.
299
- // - `.mbe-5`: Sets the margin-block-end property to Graupl's spacer 5 value.
300
- // - `.mbe-6`: Sets the margin-block-end property to Graupl's spacer 6 value.
301
- // - `.mbe-7`: Sets the margin-block-end property to Graupl's spacer 7 value.
302
- // - `.mbe-8`: Sets the margin-block-end property to Graupl's spacer 8 value.
303
- // - `.mbe-9`: Sets the margin-block-end property to Graupl's spacer 9 value.
304
- // - `.mbe-10`: Sets the margin-block-end property to Graupl's spacer 10 value.
305
- // - `.mbe-auto`: Sets the margin-block-end property to `auto`.
306
- // - `.mbse-0`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 0 value.
307
- // - `.mbse-1`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 1 value.
308
- // - `.mbse-2`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 2 value.
309
- // - `.mbse-3`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 3 value.
310
- // - `.mbse-4`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 4 value.
311
- // - `.mbse-5`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 5 value.
312
- // - `.mbse-6`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 6 value.
313
- // - `.mbse-7`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 7 value.
314
- // - `.mbse-8`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 8 value.
315
- // - `.mbse-9`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 9 value.
316
- // - `.mbse-10`: Sets the margin-block-start and margin-block-end property to Graupl's spacer 10 value.
317
- // - `.mbse-auto`: Sets the margin-block-start and margin-block-end property to `auto`.
318
- // - `.mis-0`: Sets the margin-inline-start property to Graupl's spacer 0 value.
319
- // - `.mis-1`: Sets the margin-inline-start property to Graupl's spacer 1 value.
320
- // - `.mis-2`: Sets the margin-inline-start property to Graupl's spacer 2 value.
321
- // - `.mis-3`: Sets the margin-inline-start property to Graupl's spacer 3 value.
322
- // - `.mis-4`: Sets the margin-inline-start property to Graupl's spacer 4 value.
323
- // - `.mis-5`: Sets the margin-inline-start property to Graupl's spacer 5 value.
324
- // - `.mis-6`: Sets the margin-inline-start property to Graupl's spacer 6 value.
325
- // - `.mis-7`: Sets the margin-inline-start property to Graupl's spacer 7 value.
326
- // - `.mis-8`: Sets the margin-inline-start property to Graupl's spacer 8 value.
327
- // - `.mis-9`: Sets the margin-inline-start property to Graupl's spacer 9 value.
328
- // - `.mis-10`: Sets the margin-inline-start property to Graupl's spacer 10 value.
329
- // - `.mis-auto`: Sets the margin-inline-start property to `auto`.
330
- // - `.mie-0`: Sets the margin-inline-end property to Graupl's spacer 0 value.
331
- // - `.mie-1`: Sets the margin-inline-end property to Graupl's spacer 1 value.
332
- // - `.mie-2`: Sets the margin-inline-end property to Graupl's spacer 2 value.
333
- // - `.mie-3`: Sets the margin-inline-end property to Graupl's spacer 3 value.
334
- // - `.mie-4`: Sets the margin-inline-end property to Graupl's spacer 4 value.
335
- // - `.mie-5`: Sets the margin-inline-end property to Graupl's spacer 5 value.
336
- // - `.mie-6`: Sets the margin-inline-end property to Graupl's spacer 6 value.
337
- // - `.mie-7`: Sets the margin-inline-end property to Graupl's spacer 7 value.
338
- // - `.mie-8`: Sets the margin-inline-end property to Graupl's spacer 8 value.
339
- // - `.mie-9`: Sets the margin-inline-end property to Graupl's spacer 9 value.
340
- // - `.mie-10`: Sets the margin-inline-end property to Graupl's spacer 10 value.
341
- // - `.mie-auto`: Sets the margin-inline-end property to `auto`.
342
- // - `.mise-0`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 0 value.
343
- // - `.mise-1`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 1 value.
344
- // - `.mise-2`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 2 value.
345
- // - `.mise-3`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 3 value.
346
- // - `.mise-4`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 4 value.
347
- // - `.mise-5`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 5 value.
348
- // - `.mise-6`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 6 value.
349
- // - `.mise-7`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 7 value.
350
- // - `.mise-8`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 8 value.
351
- // - `.mise-9`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 9 value.
352
- // - `.mise-10`: Sets the margin-inline-start and margin-inline-end property to Graupl's spacer 10 value.
353
- // - `.mise-auto`: Sets the margin-inline-start and margin-inline-end property to `auto`.
354
- //
355
- // The following custom properties control the generated classes:
356
- // - N/A.
357
- //
358
- // The following variables control the generated classes:
359
- // - `$selector-base`: The base selector for the utility classes.
360
- // - `$use-important`: A flag to determine if the `!important` flag should be added to the utility classes.
361
- // - `$screen-aware`: A flag to generate screen-aware utility classes.
362
- // - `$theme-aware`: A flag to generate theme-aware utility classes.
363
- // - `$state-aware`: A flag to generate state-aware utility classes.
364
- // - `$container-aware`: A flag to generate container-aware utility classes.
365
- // - `$screen-aware-separator`: The separator for screen-aware utility classes.
366
- // - `$theme-aware-separator`: The separator for theme-aware utility classes.
367
- // - `$state-aware-separator`: The separator for state-aware utility classes.
368
- // - `$container-aware-separator`: The separator for container-aware utility classes.
369
- // - `$screen-aware-selector-prefix`: The prefix for screen-aware utility classes.
370
- // - `$theme-aware-selector-prefix`: The prefix for theme-aware utility classes.
371
- // - `$state-aware-selector-prefix`: The prefix for state-aware utility classes.
372
- // - `$container-aware-selector-prefix`: The prefix for container-aware utility classes.
373
- // - `$base-spacing-properties`: The base properties and values for the spacing utility classes.
374
- // - `$custom-spacing-properties`: The custom properties and values for the spacing utility classes.
375
- // - `$spacing-properties`: The combined properties and values for the spacing utility classes.
376
- //
377
- // Generating responsive utility classes can be done by setting `$screen-aware`, `$theme-aware`, or `$state-aware` to `true`.
378
- // By default, only screen-aware utility classes are generated.
379
- //
380
- // When set to true, screen-aware utility classes will be generated for each screen size in the following pattern:
381
- // - `.{screen-prefix}{screen-name}:{prefix}{value}`
382
- //
383
- // e.g. `.md:m-1` will set the `margin` property to Graupl's spacer 1 value on screens equal to or larger than the `md` breakpoint.
384
- //
385
- // When set to true, theme-aware utility classes will be generated for each theme in the following pattern:
386
- // - `.{theme-prefix}{theme-name}:{prefix}{value}`
387
- //
388
- // e.g. `.dark:m-1` will set the `margin` property to Graupl's spacer 1 value when the `dark` theme is active.
389
- //
390
- // When set to true, state-aware utility classes will be generated for each state in the following pattern:
391
- // - `.{state-prefix}{state-name}:{prefix}{value}`
392
- //
393
- // e.g. `.active:m-1` will set the `margin` property to Graupl's spacer 1 value when the `active` state is active.
394
- //
395
- // When set to true, container-aware utility classes will be generated for each container in the following pattern:
396
- // - `.{container-prefix}{container-name}:{prefix}{value}`
397
- //
398
- // e.g. `.cq:md:m-1` will set the `margin` property to Graupl's spacer 1 value when the parent container is larger than the `md` breakpoint.
399
- //
400
- // @example
401
- // <div class="m-1">...</div>
402
- //
403
- // @example
404
- // <div class="m-1 md:m-4">...</div>
405
-
406
- @use "../../defaults" as root-defaults;
407
- @use "../../functions/important";
408
- @use "../../layout/columns/defaults" as columns-defaults;
409
- @use "../../layout/flex-columns/defaults" as flex-columns-defaults;
410
- @use "../../mixins/layer" as *;
411
- @use "../../mixins/utility";
412
- @use "../../theme/color/variables" as color;
413
- @use "../../variables" as root-variables;
414
- @use "defaults";
415
- @use "sass:map";
416
- @use "variables" as *;
417
-
418
- @include layer(utilities) {
419
- // `.`
420
- $selector-prefix: defaults.$selector-base;
421
-
422
- // For each spacing property, create a utility class.
423
- @each $name, $property in defaults.$spacing-properties {
424
- @each $key, $value in root-variables.$spacers {
425
- // `.m-1` or `.p-1`
426
- $selector: #{$selector-prefix}#{$name}-#{$key};
427
-
428
- // If we're dealing with gap, column-gap, or row-gap inside of #{columns-defaults.$columns-selector}, we should update
429
- // the columns-column-gap property instead of the raw property.
430
- @if $name == "g" {
431
- @include utility.create(
432
- $selector,
433
- $property,
434
- $value,
435
- $important: defaults.$use-important
436
- ) {
437
- // `&.columns`
438
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
439
- --#{root-defaults.$prefix}columns-column-gap: #{important.insert(
440
- $value
441
- )};
442
- --#{root-defaults.$prefix}columns-row-gap: #{important.insert(
443
- $value
444
- )};
445
- }
446
-
447
- // `&.flex-columns`
448
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
449
- --#{root-defaults.$prefix}flex-columns-column-gap: #{important.insert(
450
- $value
451
- )};
452
- --#{root-defaults.$prefix}flex-columns-row-gap: #{important.insert(
453
- $value
454
- )};
455
- }
456
- }
457
- } @else if $name == "cg" {
458
- @include utility.create(
459
- $selector,
460
- $property,
461
- $value,
462
- $important: defaults.$use-important
463
- ) {
464
- // `&.columns`
465
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
466
- --#{root-defaults.$prefix}columns-column-gap: #{important.insert(
467
- $value
468
- )};
469
- }
470
-
471
- // `&.flex-columns`
472
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
473
- --#{root-defaults.$prefix}flex-columns-column-gap: #{important.insert(
474
- $value
475
- )};
476
- }
477
- }
478
- } @else if $name == "rg" {
479
- @include utility.create(
480
- $selector,
481
- $property,
482
- $value,
483
- $important: defaults.$use-important
484
- ) {
485
- // `&.columns`
486
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
487
- --#{root-defaults.$prefix}columns-row-gap: #{important.insert(
488
- $value
489
- )};
490
- }
491
-
492
- // `&.flex-columns`
493
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
494
- --#{root-defaults.$prefix}flex-columns-row-gap: #{important.insert(
495
- $value
496
- )};
497
- }
498
- }
499
- } @else {
500
- @include utility.create(
501
- $selector,
502
- $property,
503
- $value,
504
- $important: defaults.$use-important
505
- );
506
- }
507
- }
508
-
509
- // `.m-auto` or `.p-auto`
510
- $selector: "#{$selector-prefix}#{$name}-auto";
511
-
512
- // Create the "auto" utility class.
513
- @include utility.create(
514
- $selector,
515
- $property,
516
- auto,
517
- $important: defaults.$use-important
518
- );
519
- }
520
-
521
- // Generate screen-aware utilities.
522
- @if defaults.$screen-aware and root-defaults.$screen-aware-utilities {
523
- @each $screen-name in map.keys(root-defaults.$screen-sizes) {
524
- // `.md:` or `.lg:`
525
- $selector-prefix: #{defaults.$selector-base}#{defaults.$screen-aware-selector-prefix}#{$screen-name}#{defaults.$screen-aware-separator};
526
-
527
- // For each spacing property, create a utility class.
528
- @each $name, $property in defaults.$spacing-properties {
529
- @each $key, $value in root-variables.$spacers {
530
- // `.md:m-1` or `.lg:p-1`
531
- $selector: #{$selector-prefix}#{$name}-#{$key};
532
-
533
- // If we're dealing with gap, column-gap, or row-gap inside of #{columns-defaults.$columns-selector}, we should update
534
- // the columns-column-gap property instead of the raw property.
535
- @if $name == "g" {
536
- @include utility.create(
537
- $selector,
538
- $property,
539
- $value,
540
- $important: defaults.$use-important,
541
- $screen: $screen-name
542
- ) {
543
- // `&.columns`
544
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
545
- --#{root-defaults.$prefix}columns-column-gap: #{important.insert(
546
- $value
547
- )};
548
- --#{root-defaults.$prefix}columns-row-gap: #{important.insert(
549
- $value
550
- )};
551
- }
552
-
553
- // `&.flex-columns`
554
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
555
- --#{root-defaults.$prefix}flex-columns-column-gap: #{important.insert(
556
- $value
557
- )};
558
- --#{root-defaults.$prefix}flex-columns-row-gap: #{important.insert(
559
- $value
560
- )};
561
- }
562
- }
563
- } @else if $name == "cg" {
564
- @include utility.create(
565
- $selector,
566
- $property,
567
- $value,
568
- $important: defaults.$use-important,
569
- $screen: $screen-name
570
- ) {
571
- // `&.columns`
572
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
573
- --#{root-defaults.$prefix}columns-column-gap: #{important.insert(
574
- $value
575
- )};
576
- }
577
-
578
- // `&.flex-columns`
579
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
580
- --#{root-defaults.$prefix}flex-columns-column-gap: #{important.insert(
581
- $value
582
- )};
583
- }
584
- }
585
- } @else if $name == "rg" {
586
- @include utility.create(
587
- $selector,
588
- $property,
589
- $value,
590
- $important: defaults.$use-important,
591
- $screen: $screen-name
592
- ) {
593
- // `&.columns`
594
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
595
- --#{root-defaults.$prefix}columns-row-gap: #{important.insert(
596
- $value
597
- )};
598
- }
599
-
600
- // `&.flex-columns`
601
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
602
- --#{root-defaults.$prefix}flex-columns-row-gap: #{important.insert(
603
- $value
604
- )};
605
- }
606
- }
607
- } @else {
608
- @include utility.create(
609
- $selector,
610
- $property,
611
- $value,
612
- $important: defaults.$use-important,
613
- $screen: $screen-name
614
- );
615
- }
616
- }
617
-
618
- // `.md:m-auto` or `.lg:p-auto`
619
- $selector: "#{$selector-prefix}#{$name}-auto";
620
-
621
- // Create the "auto" utility class.
622
- @include utility.create(
623
- $selector,
624
- $property,
625
- auto,
626
- $important: defaults.$use-important,
627
- $screen: $screen-name
628
- );
629
- }
630
- }
631
- }
632
-
633
- // Generate theme-aware utilities.
634
- @if defaults.$theme-aware and root-defaults.$theme-aware-utilities {
635
- @each $theme-name, $colors in color.$themes {
636
- @if $theme-name != active {
637
- // `.dark:` or `.light:`
638
- $selector-prefix: #{defaults.$selector-base}#{defaults.$theme-aware-selector-prefix}#{$theme-name}#{defaults.$theme-aware-separator};
639
-
640
- // For each spacing property, create a utility class.
641
- @each $name, $property in defaults.$spacing-properties {
642
- @each $key, $value in root-variables.$spacers {
643
- // `.dark:m-1` or `.light:p-1`
644
- $selector: #{$selector-prefix}#{$name}-#{$key};
645
-
646
- // If we're dealing with gap, column-gap, or row-gap inside of #{columns-defaults.$columns-selector}, we should update
647
- // the columns-column-gap property instead of the raw property.
648
- @if $name == "g" {
649
- @include utility.create(
650
- $selector,
651
- $property,
652
- $value,
653
- $important: defaults.$use-important,
654
- $theme: $theme-name
655
- ) {
656
- // `&.columns`
657
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
658
- --#{root-defaults.$prefix}columns-column-gap: #{important.insert(
659
- $value
660
- )};
661
- --#{root-defaults.$prefix}columns-row-gap: #{important.insert(
662
- $value
663
- )};
664
- }
665
-
666
- // `&.flex-columns`
667
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
668
- --#{root-defaults.$prefix}flex-columns-column-gap: #{important.insert(
669
- $value
670
- )};
671
- --#{root-defaults.$prefix}flex-columns-row-gap: #{important.insert(
672
- $value
673
- )};
674
- }
675
- }
676
- } @else if $name == "cg" {
677
- @include utility.create(
678
- $selector,
679
- $property,
680
- $value,
681
- $important: defaults.$use-important,
682
- $theme: $theme-name
683
- ) {
684
- // `&.columns`
685
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
686
- --#{root-defaults.$prefix}columns-column-gap: #{important.insert(
687
- $value
688
- )};
689
- }
690
-
691
- // `&.flex-columns`
692
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
693
- --#{root-defaults.$prefix}flex-columns-column-gap: #{important.insert(
694
- $value
695
- )};
696
- }
697
- }
698
- } @else if $name == "rg" {
699
- @include utility.create(
700
- $selector,
701
- $property,
702
- $value,
703
- $important: defaults.$use-important,
704
- $theme: $theme-name
705
- ) {
706
- // `&.columns`
707
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
708
- --#{root-defaults.$prefix}columns-row-gap: #{important.insert(
709
- $value
710
- )};
711
- }
712
-
713
- // `&.flex-columns`
714
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
715
- --#{root-defaults.$prefix}flex-columns-row-gap: #{important.insert(
716
- $value
717
- )};
718
- }
719
- }
720
- } @else {
721
- @include utility.create(
722
- $selector,
723
- $property,
724
- $value,
725
- $important: defaults.$use-important,
726
- $theme: $theme-name
727
- );
728
- }
729
- }
730
-
731
- // `.dark:m-auto` or `.light:p-auto`
732
- $selector: "#{$selector-prefix}#{$name}-auto";
733
-
734
- // Create the "auto" utility class.
735
- @include utility.create(
736
- $selector,
737
- $property,
738
- auto,
739
- $important: defaults.$use-important,
740
- $theme: $theme-name
741
- );
742
- }
743
- }
744
- }
745
- }
746
-
747
- // Generate state-aware utilities.
748
- @if defaults.$state-aware and root-defaults.$state-aware-utilities {
749
- @each $state-name, $value in root-defaults.$state-selectors {
750
- // `.hover:` or `.focus:`
751
- $selector-prefix: #{defaults.$selector-base}#{defaults.$state-aware-selector-prefix}#{$state-name}#{defaults.$state-aware-separator};
752
-
753
- // For each spacing property, create a utility class.
754
- @each $name, $property in defaults.$spacing-properties {
755
- @each $key, $value in root-variables.$spacers {
756
- // `.hover:m-1` or `.focus:p-1`
757
- $selector: #{$selector-prefix}#{$name}-#{$key};
758
-
759
- // If we're dealing with gap, column-gap, or row-gap inside of #{columns-defaults.$columns-selector}, we should update
760
- // the columns-column-gap property instead of the raw property.
761
- @if $name == "g" {
762
- @include utility.create(
763
- $selector,
764
- $property,
765
- $value,
766
- $important: defaults.$use-important,
767
- $state: $state-name
768
- ) {
769
- // `&.columns`
770
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
771
- --#{root-defaults.$prefix}columns-column-gap: #{important.insert(
772
- $value
773
- )};
774
- --#{root-defaults.$prefix}columns-row-gap: #{important.insert(
775
- $value
776
- )};
777
- }
778
-
779
- // `&.flex-columns`
780
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
781
- --#{root-defaults.$prefix}flex-columns-column-gap: #{important.insert(
782
- $value
783
- )};
784
- --#{root-defaults.$prefix}flex-columns-row-gap: #{important.insert(
785
- $value
786
- )};
787
- }
788
- }
789
- } @else if $name == "cg" {
790
- @include utility.create(
791
- $selector,
792
- $property,
793
- $value,
794
- $important: defaults.$use-important,
795
- $state: $state-name
796
- ) {
797
- // `&.columns`
798
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
799
- --#{root-defaults.$prefix}columns-column-gap: #{important.insert(
800
- $value
801
- )};
802
- }
803
-
804
- // `&.flex-columns`
805
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
806
- --#{root-defaults.$prefix}flex-columns-column-gap: #{important.insert(
807
- $value
808
- )};
809
- }
810
- }
811
- } @else if $name == "rg" {
812
- @include utility.create(
813
- $selector,
814
- $property,
815
- $value,
816
- $important: defaults.$use-important,
817
- $state: $state-name
818
- ) {
819
- // `&.columns`
820
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
821
- --#{root-defaults.$prefix}columns-row-gap: #{important.insert(
822
- $value
823
- )};
824
- }
825
-
826
- // `&.flex-columns`
827
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
828
- --#{root-defaults.$prefix}flex-columns-row-gap: #{important.insert(
829
- $value
830
- )};
831
- }
832
- }
833
- } @else {
834
- @include utility.create(
835
- $selector,
836
- $property,
837
- $value,
838
- $important: defaults.$use-important,
839
- $state: $state-name
840
- );
841
- }
842
- }
843
-
844
- // `.hover:m-auto` or `.focus:p-auto`
845
- $selector: "#{$selector-prefix}#{$name}-auto";
846
-
847
- // Create the "auto" utility class.
848
- @include utility.create(
849
- $selector,
850
- $property,
851
- auto,
852
- $important: defaults.$use-important,
853
- $state: $state-name
854
- );
855
- }
856
- }
857
- }
858
-
859
- // Generate container-aware utilities.
860
- @if defaults.$container-aware and root-defaults.$container-aware-utilities {
861
- @each $container-name in map.keys(root-defaults.$container-sizes) {
862
- // `.md:` or `.lg:`
863
- $selector-prefix: #{defaults.$selector-base}#{defaults.$container-aware-selector-prefix}#{$container-name}#{defaults.$container-aware-separator};
864
-
865
- // For each spacing property, create a utility class.
866
- @each $name, $property in defaults.$spacing-properties {
867
- @each $key, $value in root-variables.$spacers {
868
- // `.md:m-1` or `.lg:p-1`
869
- $selector: #{$selector-prefix}#{$name}-#{$key};
870
-
871
- // If we're dealing with gap, column-gap, or row-gap inside of #{columns-defaults.$columns-selector}, we should update
872
- // the columns-column-gap property instead of the raw property.
873
- @if $name == "g" {
874
- @include utility.create(
875
- $selector,
876
- $property,
877
- $value,
878
- $important: defaults.$use-important,
879
- $container: $container-name
880
- ) {
881
- // `&.columns`
882
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
883
- --#{root-defaults.$prefix}columns-column-gap: #{important.insert(
884
- $value
885
- )};
886
- --#{root-defaults.$prefix}columns-row-gap: #{important.insert(
887
- $value
888
- )};
889
- }
890
-
891
- // `&.flex-columns`
892
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
893
- --#{root-defaults.$prefix}flex-columns-column-gap: #{important.insert(
894
- $value
895
- )};
896
- --#{root-defaults.$prefix}flex-columns-row-gap: #{important.insert(
897
- $value
898
- )};
899
- }
900
- }
901
- } @else if $name == "cg" {
902
- @include utility.create(
903
- $selector,
904
- $property,
905
- $value,
906
- $important: defaults.$use-important,
907
- $container: $container-name
908
- ) {
909
- // `&.columns`
910
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
911
- --#{root-defaults.$prefix}columns-column-gap: #{important.insert(
912
- $value
913
- )};
914
- }
915
-
916
- // `&.flex-columns`
917
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
918
- --#{root-defaults.$prefix}flex-columns-column-gap: #{important.insert(
919
- $value
920
- )};
921
- }
922
- }
923
- } @else if $name == "rg" {
924
- @include utility.create(
925
- $selector,
926
- $property,
927
- $value,
928
- $important: defaults.$use-important,
929
- $container: $container-name
930
- ) {
931
- // `&.columns`
932
- &#{columns-defaults.$columns-selector-base}#{columns-defaults.$columns-selector} {
933
- --#{root-defaults.$prefix}columns-row-gap: #{important.insert(
934
- $value
935
- )};
936
- }
937
-
938
- // `&.flex-columns`
939
- &#{flex-columns-defaults.$flex-columns-selector-base}#{flex-columns-defaults.$flex-columns-selector} {
940
- --#{root-defaults.$prefix}flex-columns-row-gap: #{important.insert(
941
- $value
942
- )};
943
- }
944
- }
945
- } @else {
946
- @include utility.create(
947
- $selector,
948
- $property,
949
- $value,
950
- $important: defaults.$use-important,
951
- $container: $container-name
952
- );
953
- }
954
- }
955
-
956
- // `.md:m-auto` or `.lg:p-auto`
957
- $selector: "#{$selector-prefix}#{$name}-auto";
958
-
959
- // Create the "auto" utility class.
960
- @include utility.create(
961
- $selector,
962
- $property,
963
- auto,
964
- $important: defaults.$use-important,
965
- $container: $container-name
966
- );
967
- }
968
- }
969
- }
970
- }