@graupl/graupl 1.0.0-beta.2 → 1.0.0-beta.20
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.
- package/README.md +9 -0
- package/dist/css/base/button.css +1 -1
- package/dist/css/base/button.css.map +1 -1
- package/dist/css/base/form.css +1 -1
- package/dist/css/base/form.css.map +1 -1
- package/dist/css/base/link.css +1 -1
- package/dist/css/base/link.css.map +1 -1
- package/dist/css/base/table.css +1 -1
- package/dist/css/base/table.css.map +1 -1
- package/dist/css/base.css +1 -1
- package/dist/css/base.css.map +1 -1
- package/dist/css/component/accordion.css +4 -1
- package/dist/css/component/accordion.css.map +1 -1
- package/dist/css/component/alert.css +1 -1
- package/dist/css/component/alert.css.map +1 -1
- package/dist/css/component/badge.css +2 -0
- package/dist/css/component/badge.css.map +1 -0
- package/dist/css/component/card.css +1 -1
- package/dist/css/component/card.css.map +1 -1
- package/dist/css/component/carousel.css +1 -1
- package/dist/css/component/carousel.css.map +1 -1
- package/dist/css/component/disclosure.css +2 -0
- package/dist/css/component/disclosure.css.map +1 -0
- package/dist/css/component/input-group.css.map +1 -1
- package/dist/css/component/list.css +1 -1
- package/dist/css/component/list.css.map +1 -1
- package/dist/css/component/menu.css +1 -1
- package/dist/css/component/menu.css.map +1 -1
- package/dist/css/component/navigation.css +1 -1
- package/dist/css/component/navigation.css.map +1 -1
- package/dist/css/component.css +4 -1
- package/dist/css/component.css.map +1 -1
- package/dist/css/graupl.css +4 -1
- package/dist/css/graupl.css.map +1 -1
- package/dist/css/init.css.map +1 -1
- package/dist/css/layout/columns.css +1 -1
- package/dist/css/layout/columns.css.map +1 -1
- package/dist/css/layout/container.css +1 -1
- package/dist/css/layout/container.css.map +1 -1
- package/dist/css/layout/flex-columns.css +1 -1
- package/dist/css/layout/flex-columns.css.map +1 -1
- package/dist/css/layout.css +4 -1
- package/dist/css/layout.css.map +1 -1
- package/dist/css/normalize.css.map +1 -1
- package/dist/css/state/focus.css +1 -1
- package/dist/css/state/focus.css.map +1 -1
- package/dist/css/state.css +1 -1
- package/dist/css/state.css.map +1 -1
- package/dist/css/theme/color.css +1 -1
- package/dist/css/theme/color.css.map +1 -1
- package/dist/css/theme/typography.css +1 -1
- package/dist/css/theme/typography.css.map +1 -1
- package/dist/css/theme.css +1 -1
- package/dist/css/theme.css.map +1 -1
- package/dist/css/utilities/alignment.css.map +1 -1
- package/dist/css/utilities/background.css +2 -0
- package/dist/css/utilities/background.css.map +1 -0
- package/dist/css/utilities/border.css +1 -1
- package/dist/css/utilities/border.css.map +1 -1
- package/dist/css/utilities/color.css +1 -1
- package/dist/css/utilities/color.css.map +1 -1
- package/dist/css/utilities/container.css +2 -0
- package/dist/css/utilities/container.css.map +1 -0
- package/dist/css/utilities/display.css +1 -1
- package/dist/css/utilities/display.css.map +1 -1
- package/dist/css/utilities/flex.css.map +1 -1
- package/dist/css/utilities/gradient.css +2 -0
- package/dist/css/utilities/gradient.css.map +1 -0
- package/dist/css/utilities/height.css +1 -1
- package/dist/css/utilities/height.css.map +1 -1
- package/dist/css/utilities/inset.css.map +1 -1
- package/dist/css/utilities/justification.css.map +1 -1
- package/dist/css/utilities/list.css.map +1 -1
- package/dist/css/utilities/order.css.map +1 -1
- package/dist/css/utilities/position.css +2 -0
- package/dist/css/utilities/position.css.map +1 -0
- package/dist/css/utilities/ratio.css +1 -1
- package/dist/css/utilities/ratio.css.map +1 -1
- package/dist/css/utilities/spacing.css +1 -1
- package/dist/css/utilities/spacing.css.map +1 -1
- package/dist/css/utilities/typography.css +1 -1
- package/dist/css/utilities/typography.css.map +1 -1
- package/dist/css/utilities/visibility.css +1 -1
- package/dist/css/utilities/visibility.css.map +1 -1
- package/dist/css/utilities/visually-hidden.css +2 -0
- package/dist/css/utilities/visually-hidden.css.map +1 -0
- package/dist/css/utilities/width.css +1 -1
- package/dist/css/utilities/width.css.map +1 -1
- package/dist/css/utilities/z-index.css +2 -0
- package/dist/css/utilities/z-index.css.map +1 -0
- package/dist/css/utilities.css +1 -1
- package/dist/css/utilities.css.map +1 -1
- package/dist/js/accordion.js +5 -0
- package/dist/js/accordion.js.map +1 -0
- package/dist/js/alert.js +5 -0
- package/dist/js/alert.js.map +1 -0
- package/dist/js/carousel.js +5 -0
- package/dist/js/carousel.js.map +1 -0
- package/dist/js/component/accordion.cjs.js +4 -2
- package/dist/js/component/accordion.cjs.js.map +1 -0
- package/dist/js/component/accordion.es.js +5 -0
- package/dist/js/component/accordion.es.js.map +1 -0
- package/dist/js/component/accordion.iife.js +4 -2
- package/dist/js/component/accordion.iife.js.map +1 -0
- package/dist/js/component/alert.cjs.js +4 -2
- package/dist/js/component/alert.cjs.js.map +1 -0
- package/dist/js/component/alert.es.js +5 -0
- package/dist/js/component/alert.es.js.map +1 -0
- package/dist/js/component/alert.iife.js +4 -2
- package/dist/js/component/alert.iife.js.map +1 -0
- package/dist/js/component/carousel.cjs.js +4 -2
- package/dist/js/component/carousel.cjs.js.map +1 -0
- package/dist/js/component/carousel.es.js +5 -0
- package/dist/js/component/carousel.es.js.map +1 -0
- package/dist/js/component/carousel.iife.js +4 -2
- package/dist/js/component/carousel.iife.js.map +1 -0
- package/dist/js/component/disclosure.cjs.js +5 -0
- package/dist/js/component/disclosure.cjs.js.map +1 -0
- package/dist/js/component/disclosure.es.js +5 -0
- package/dist/js/component/disclosure.es.js.map +1 -0
- package/dist/js/component/disclosure.iife.js +5 -0
- package/dist/js/component/disclosure.iife.js.map +1 -0
- package/dist/js/generator/accordion.cjs.js +5 -0
- package/dist/js/generator/accordion.cjs.js.map +1 -0
- package/dist/js/generator/accordion.es.js +5 -0
- package/dist/js/generator/accordion.es.js.map +1 -0
- package/dist/js/generator/accordion.iife.js +5 -0
- package/dist/js/generator/accordion.iife.js.map +1 -0
- package/dist/js/generator/alert.cjs.js +5 -0
- package/dist/js/generator/alert.cjs.js.map +1 -0
- package/dist/js/generator/alert.es.js +5 -0
- package/dist/js/generator/alert.es.js.map +1 -0
- package/dist/js/generator/alert.iife.js +5 -0
- package/dist/js/generator/alert.iife.js.map +1 -0
- package/dist/js/generator/carousel.cjs.js +5 -0
- package/dist/js/generator/carousel.cjs.js.map +1 -0
- package/dist/js/generator/carousel.es.js +5 -0
- package/dist/js/generator/carousel.es.js.map +1 -0
- package/dist/js/generator/carousel.iife.js +5 -0
- package/dist/js/generator/carousel.iife.js.map +1 -0
- package/dist/js/generator/disclosure.cjs.js +5 -0
- package/dist/js/generator/disclosure.cjs.js.map +1 -0
- package/dist/js/generator/disclosure.es.js +5 -0
- package/dist/js/generator/disclosure.es.js.map +1 -0
- package/dist/js/generator/disclosure.iife.js +5 -0
- package/dist/js/generator/disclosure.iife.js.map +1 -0
- package/dist/js/generator/navigation.cjs.js +3 -0
- package/dist/js/generator/navigation.cjs.js.map +1 -0
- package/dist/js/generator/navigation.es.js +3 -0
- package/dist/js/generator/navigation.es.js.map +1 -0
- package/dist/js/generator/navigation.iife.js +3 -0
- package/dist/js/generator/navigation.iife.js.map +1 -0
- package/dist/js/graupl.js +11 -0
- package/dist/js/graupl.js.map +1 -0
- package/dist/js/navigation.js +3 -0
- package/dist/js/navigation.js.map +1 -0
- package/package.json +49 -41
- package/scss/base/button.scss +1 -1
- package/scss/base/form.scss +1 -1
- package/scss/base/link.scss +1 -1
- package/scss/base/table.scss +1 -1
- package/scss/base.scss +1 -1
- package/scss/component/accordion.scss +1 -1
- package/scss/component/alert.scss +1 -1
- package/scss/component/badge.scss +3 -0
- package/scss/component/card.scss +1 -1
- package/scss/component/carousel.scss +1 -1
- package/scss/component/disclosure.scss +3 -0
- package/scss/component/input-group.scss +1 -1
- package/scss/component/list.scss +1 -1
- package/scss/component/menu.scss +1 -1
- package/scss/component/navigation.scss +1 -1
- package/scss/component.scss +1 -1
- package/scss/graupl.scss +1 -1
- package/scss/init.scss +1 -1
- package/scss/layout/columns.scss +1 -1
- package/scss/layout/container.scss +1 -1
- package/scss/layout/flex-columns.scss +1 -1
- package/scss/layout.scss +1 -1
- package/scss/normalize.scss +1 -1
- package/scss/state/focus.scss +1 -1
- package/scss/state.scss +1 -1
- package/scss/theme/color.scss +1 -1
- package/scss/theme/typography.scss +1 -1
- package/scss/theme.scss +1 -1
- package/scss/utilities/alignment.scss +1 -1
- package/scss/utilities/background.scss +3 -0
- package/scss/utilities/border.scss +1 -1
- package/scss/utilities/color.scss +1 -1
- package/scss/utilities/container.scss +3 -0
- package/scss/utilities/display.scss +1 -1
- package/scss/utilities/flex.scss +1 -1
- package/scss/utilities/gradient.scss +3 -0
- package/scss/utilities/height.scss +1 -1
- package/scss/utilities/inset.scss +1 -1
- package/scss/utilities/justification.scss +1 -1
- package/scss/utilities/list.scss +1 -1
- package/scss/utilities/order.scss +1 -1
- package/scss/utilities/position.scss +3 -0
- package/scss/utilities/ratio.scss +1 -1
- package/scss/utilities/spacing.scss +1 -1
- package/scss/utilities/typography.scss +1 -1
- package/scss/utilities/visibility.scss +1 -1
- package/scss/utilities/visually-hidden.scss +3 -0
- package/scss/utilities/width.scss +1 -1
- package/scss/utilities/z-index.scss +3 -0
- package/scss/utilities.scss +1 -1
- package/.browserslistrc +0 -3
- package/.czrc +0 -3
- package/.editorconfig +0 -13
- package/.github/CODE_OF_CONDUCT.md +0 -73
- package/.github/COMMIT_CONVENTION.md +0 -17
- package/.github/CONTRIBUTING.md +0 -86
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -30
- package/.github/ISSUE_TEMPLATE/documentation.md +0 -20
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/SECURITY.md +0 -26
- package/.github/dependabot.yml +0 -17
- package/.github/pull_request_template.md +0 -5
- package/.github/workflows/codeql-analysis.yml +0 -71
- package/.github/workflows/docs.yml +0 -59
- package/.github/workflows/test.yml +0 -27
- package/.husky/commit-msg +0 -3
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -12
- package/.stylelintignore +0 -9
- package/.versionrc.cjs +0 -61
- package/CHANGELOG.md +0 -392
- package/build.js +0 -7
- package/commitlint.config.js +0 -5
- package/dist/css/utilities/postion.css +0 -2
- package/dist/css/utilities/postion.css.map +0 -1
- package/dist/js/component/accordion.esm.js +0 -1289
- package/dist/js/component/alert.esm.js +0 -529
- package/dist/js/component/carousel.esm.js +0 -1110
- package/dist/js/graupl.cjs.js +0 -5
- package/dist/js/graupl.esm.js +0 -1462
- package/dist/js/graupl.iife.js +0 -5
- package/docs/.vitepress/config.js +0 -78
- package/docs/.vitepress/theme/custom.scss +0 -35
- package/docs/.vitepress/theme/index.js +0 -4
- package/docs/compiling-graupl.md +0 -56
- package/docs/components/alert.md +0 -130
- package/docs/components/button.md +0 -84
- package/docs/components/card.md +0 -369
- package/docs/components/index.md +0 -1
- package/docs/components/inputgroup.md +0 -159
- package/docs/components/menu.md +0 -326
- package/docs/components/navigation.md +0 -158
- package/docs/content.md +0 -237
- package/docs/defaults.md +0 -121
- package/docs/forms.md +0 -79
- package/docs/functions.md +0 -9
- package/docs/getting-started.md +0 -1
- package/docs/index.md +0 -1
- package/docs/introduction.md +0 -25
- package/docs/layout.md +0 -200
- package/docs/mixins.md +0 -47
- package/docs/state.md +0 -67
- package/docs/theme.md +0 -258
- package/docs/utilities.md +0 -357
- package/eslint.config.js +0 -74
- package/index.html +0 -923
- package/index.js +0 -12
- package/lint-staged.config.js +0 -6
- package/postcss.config.cjs +0 -12
- package/prettier.config.js +0 -16
- package/scss/utilities/postion.scss +0 -3
- package/src/js/accordion/Accordion.js +0 -1163
- package/src/js/accordion/AccordionItem.js +0 -496
- package/src/js/accordion/index.js +0 -10
- package/src/js/alert/Alert.js +0 -581
- package/src/js/alert/index.js +0 -11
- package/src/js/carousel/Carousel.js +0 -1427
- package/src/js/carousel/index.js +0 -10
- package/src/js/domHelpers.js +0 -37
- package/src/js/eventHandlers.js +0 -39
- package/src/js/navigation/index.js +0 -36
- package/src/js/storage.js +0 -106
- package/src/js/validate.js +0 -225
- package/src/scss/_defaults.scss +0 -145
- package/src/scss/_index.scss +0 -15
- package/src/scss/_init.scss +0 -3
- package/src/scss/_normalize.scss +0 -197
- package/src/scss/_variables.scss +0 -53
- package/src/scss/base/_index.scss +0 -6
- package/src/scss/base/button/_defaults.scss +0 -60
- package/src/scss/base/button/_index.scss +0 -107
- package/src/scss/base/button/_mixins.scss +0 -166
- package/src/scss/base/button/_variables.scss +0 -176
- package/src/scss/base/form/_defaults.scss +0 -17
- package/src/scss/base/form/_index.scss +0 -93
- package/src/scss/base/form/_variables.scss +0 -153
- package/src/scss/base/link/_defaults.scss +0 -50
- package/src/scss/base/link/_index.scss +0 -134
- package/src/scss/base/link/_variables.scss +0 -262
- package/src/scss/base/table/_defaults.scss +0 -53
- package/src/scss/base/table/_index.scss +0 -121
- package/src/scss/base/table/_variables.scss +0 -135
- package/src/scss/component/_index.scss +0 -10
- package/src/scss/component/accordion/_defaults.scss +0 -40
- package/src/scss/component/accordion/_index.scss +0 -180
- package/src/scss/component/accordion/_variables.scss +0 -316
- package/src/scss/component/alert/_defaults.scss +0 -49
- package/src/scss/component/alert/_index.scss +0 -118
- package/src/scss/component/alert/_variables.scss +0 -170
- package/src/scss/component/card/_defaults.scss +0 -32
- package/src/scss/component/card/_index.scss +0 -178
- package/src/scss/component/card/_variables.scss +0 -186
- package/src/scss/component/carousel/_defaults.scss +0 -43
- package/src/scss/component/carousel/_index.scss +0 -188
- package/src/scss/component/carousel/_variables.scss +0 -104
- package/src/scss/component/input-group/_defaults.scss +0 -30
- package/src/scss/component/input-group/_index.scss +0 -47
- package/src/scss/component/input-group/_variables.scss +0 -66
- package/src/scss/component/list/_defaults.scss +0 -15
- package/src/scss/component/list/_index.scss +0 -50
- package/src/scss/component/list/_variables.scss +0 -176
- package/src/scss/component/menu/_defaults.scss +0 -66
- package/src/scss/component/menu/_index.scss +0 -305
- package/src/scss/component/menu/_variables.scss +0 -500
- package/src/scss/component/navigation/_defaults.scss +0 -29
- package/src/scss/component/navigation/_index.scss +0 -189
- package/src/scss/component/navigation/_variables.scss +0 -237
- package/src/scss/functions/_important.scss +0 -13
- package/src/scss/functions/_screen.scss +0 -38
- package/src/scss/functions/_theme.scss +0 -39
- package/src/scss/functions/_utility.scss +0 -28
- package/src/scss/layout/_index.scss +0 -5
- package/src/scss/layout/columns/_defaults.scss +0 -19
- package/src/scss/layout/columns/_index.scss +0 -58
- package/src/scss/layout/columns/_variables.scss +0 -51
- package/src/scss/layout/container/_defaults.scss +0 -17
- package/src/scss/layout/container/_index.scss +0 -41
- package/src/scss/layout/container/_variables.scss +0 -50
- package/src/scss/layout/flex-columns/_defaults.scss +0 -18
- package/src/scss/layout/flex-columns/_index.scss +0 -80
- package/src/scss/layout/flex-columns/_variables.scss +0 -26
- package/src/scss/mixins/_animation.scss +0 -15
- package/src/scss/mixins/_layer.scss +0 -16
- package/src/scss/mixins/_screen.scss +0 -77
- package/src/scss/mixins/_state.scss +0 -18
- package/src/scss/mixins/_theme.scss +0 -15
- package/src/scss/mixins/_utility.scss +0 -132
- package/src/scss/mixins/_visually-hidden.scss +0 -20
- package/src/scss/state/_index.scss +0 -3
- package/src/scss/state/focus/_defaults.scss +0 -10
- package/src/scss/state/focus/_index.scss +0 -13
- package/src/scss/state/focus/_mixins.scss +0 -15
- package/src/scss/state/focus/_variables.scss +0 -44
- package/src/scss/theme/_index.scss +0 -4
- package/src/scss/theme/color/_defaults.scss +0 -143
- package/src/scss/theme/color/_index.scss +0 -42
- package/src/scss/theme/color/_variables.scss +0 -129
- package/src/scss/theme/typography/_defaults.scss +0 -54
- package/src/scss/theme/typography/_index.scss +0 -111
- package/src/scss/theme/typography/_variables.scss +0 -231
- package/src/scss/utilities/_index.scss +0 -18
- package/src/scss/utilities/alignment/_defaults.scss +0 -64
- package/src/scss/utilities/alignment/_index.scss +0 -168
- package/src/scss/utilities/alignment/_variables.scss +0 -6
- package/src/scss/utilities/border/_defaults.scss +0 -61
- package/src/scss/utilities/border/_index.scss +0 -269
- package/src/scss/utilities/border/_variables.scss +0 -6
- package/src/scss/utilities/color/_defaults.scss +0 -37
- package/src/scss/utilities/color/_index.scss +0 -202
- package/src/scss/utilities/color/_variables.scss +0 -6
- package/src/scss/utilities/display/_defaults.scss +0 -36
- package/src/scss/utilities/display/_index.scss +0 -134
- package/src/scss/utilities/display/_variables.scss +0 -6
- package/src/scss/utilities/flex/_defaults.scss +0 -87
- package/src/scss/utilities/flex/_index.scss +0 -255
- package/src/scss/utilities/flex/_variables.scss +0 -6
- package/src/scss/utilities/height/_defaults.scss +0 -43
- package/src/scss/utilities/height/_index.scss +0 -236
- package/src/scss/utilities/height/_variables.scss +0 -6
- package/src/scss/utilities/inset/_defaults.scss +0 -43
- package/src/scss/utilities/inset/_index.scss +0 -90
- package/src/scss/utilities/inset/_variables.scss +0 -6
- package/src/scss/utilities/justification/_defaults.scss +0 -61
- package/src/scss/utilities/justification/_index.scss +0 -168
- package/src/scss/utilities/justification/_variables.scss +0 -6
- package/src/scss/utilities/list/_defaults.scss +0 -41
- package/src/scss/utilities/list/_index.scss +0 -125
- package/src/scss/utilities/list/_variables.scss +0 -6
- package/src/scss/utilities/order/_defaults.scss +0 -24
- package/src/scss/utilities/order/_index.scss +0 -111
- package/src/scss/utilities/order/_variables.scss +0 -6
- package/src/scss/utilities/position/_defaults.scss +0 -28
- package/src/scss/utilities/position/_index.scss +0 -82
- package/src/scss/utilities/position/_variables.scss +0 -6
- package/src/scss/utilities/ratio/_defaults.scss +0 -30
- package/src/scss/utilities/ratio/_index.scss +0 -91
- package/src/scss/utilities/ratio/_variables.scss +0 -9
- package/src/scss/utilities/spacing/_defaults.scss +0 -51
- package/src/scss/utilities/spacing/_index.scss +0 -382
- package/src/scss/utilities/spacing/_variables.scss +0 -6
- package/src/scss/utilities/typography/_defaults.scss +0 -46
- package/src/scss/utilities/typography/_index.scss +0 -658
- package/src/scss/utilities/typography/_variables.scss +0 -6
- package/src/scss/utilities/visibility/_defaults.scss +0 -27
- package/src/scss/utilities/visibility/_index.scss +0 -82
- package/src/scss/utilities/visibility/_variables.scss +0 -6
- package/src/scss/utilities/width/_defaults.scss +0 -43
- package/src/scss/utilities/width/_index.scss +0 -236
- package/src/scss/utilities/width/_variables.scss +0 -6
- package/stylelint.config.js +0 -22
- package/vite.config.js +0 -57
package/docs/mixins.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# Mixins
|
|
2
|
-
|
|
3
|
-
A mixin used to define layers. So the styling is exported in the correct order.
|
|
4
|
-
|
|
5
|
-
`*@mixin* layer($layer)`
|
|
6
|
-
|
|
7
|
-
A media query for targetting users who have not requested reduced motion.
|
|
8
|
-
|
|
9
|
-
```jsx
|
|
10
|
-
@mixin animation-on {
|
|
11
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
12
|
-
@content;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
A media query for targetting users who have requested reduced motion.
|
|
18
|
-
|
|
19
|
-
```jsx
|
|
20
|
-
@mixin animation-off {
|
|
21
|
-
@media (prefers-reduced-motion: reduce) {
|
|
22
|
-
@content;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
A media query for targetting specific screen sizes.
|
|
28
|
-
|
|
29
|
-
```sass
|
|
30
|
-
@mixin screen($size) {
|
|
31
|
-
$screen-size: map.get(root-defaults.$screen-sizes, $size);
|
|
32
|
-
|
|
33
|
-
@media screen and #{$screen-size} {
|
|
34
|
-
@content;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
```sass
|
|
40
|
-
@mixin screen-trigger($size) {
|
|
41
|
-
$screen-size-trigger: map.get(root-defaults.$screen-size-triggers, $size);
|
|
42
|
-
|
|
43
|
-
@media screen and #{$screen-size-trigger} {
|
|
44
|
-
@content;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
```
|
package/docs/state.md
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
## State
|
|
2
|
-
|
|
3
|
-
State is used to style elements when a pseudo element is active like focus.
|
|
4
|
-
|
|
5
|
-
Defaults
|
|
6
|
-
|
|
7
|
-
```sass
|
|
8
|
-
$focus-outline-style: dotted !default;
|
|
9
|
-
$focus-box-shadow-style: inset !default;
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
Variables
|
|
13
|
-
|
|
14
|
-
The focus width property:
|
|
15
|
-
|
|
16
|
-
```scss
|
|
17
|
-
--#{root-defaults.$prefix}focus-width
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
The focus outline color property:
|
|
22
|
-
|
|
23
|
-
```scss
|
|
24
|
-
--#{root-defaults.$prefix}focus-outline-color
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
The focus outline width property:
|
|
29
|
-
|
|
30
|
-
```scss
|
|
31
|
-
--#{root-defaults.$prefix}focus-outline-width
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
The focus outline style property:
|
|
36
|
-
|
|
37
|
-
```scss
|
|
38
|
-
--#{root-defaults.$prefix}focus-outline-style
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
The focus outline offset property:
|
|
43
|
-
|
|
44
|
-
```scss
|
|
45
|
-
--#{root-defaults.$prefix}focus-outline-offset
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
The focus box shadow color property:
|
|
50
|
-
|
|
51
|
-
```scss
|
|
52
|
-
--#{root-defaults.$prefix}focus-box-shadow-color
|
|
53
|
-
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
The focus box shadow style property:
|
|
57
|
-
|
|
58
|
-
```scss
|
|
59
|
-
--#{root-defaults.$prefix}focus-box-shadow-style
|
|
60
|
-
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
The focus box shadow property:
|
|
64
|
-
|
|
65
|
-
```scss
|
|
66
|
-
--#{root-defaults.$prefix}focus-box-shadow
|
|
67
|
-
```
|
package/docs/theme.md
DELETED
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
# Theme
|
|
2
|
-
|
|
3
|
-
## Color
|
|
4
|
-
|
|
5
|
-
Defaults
|
|
6
|
-
|
|
7
|
-
```sass
|
|
8
|
-
// Colours.
|
|
9
|
-
$default-colors: (
|
|
10
|
-
primary: (
|
|
11
|
-
100: hsl(219deg 100% 95%),
|
|
12
|
-
200: hsl(219deg 90% 80%),
|
|
13
|
-
300: hsl(219deg 80% 65%),
|
|
14
|
-
400: hsl(219deg 75% 55%),
|
|
15
|
-
500: hsl(219deg 75% 50%),
|
|
16
|
-
600: hsl(219deg 75% 45%),
|
|
17
|
-
700: hsl(219deg 80% 35%),
|
|
18
|
-
800: hsl(219deg 90% 20%),
|
|
19
|
-
900: hsl(219deg 100% 10%),
|
|
20
|
-
),
|
|
21
|
-
secondary: (
|
|
22
|
-
100: hsl(235deg 40% 95%),
|
|
23
|
-
200: hsl(235deg 30% 80%),
|
|
24
|
-
300: hsl(235deg 20% 65%),
|
|
25
|
-
400: hsl(235deg 15% 55%),
|
|
26
|
-
500: hsl(235deg 15% 50%),
|
|
27
|
-
600: hsl(235deg 15% 45%),
|
|
28
|
-
700: hsl(235deg 20% 35%),
|
|
29
|
-
800: hsl(235deg 30% 20%),
|
|
30
|
-
900: hsl(235deg 40% 10%),
|
|
31
|
-
),
|
|
32
|
-
tertiary: (
|
|
33
|
-
100: hsl(340deg 85% 95%),
|
|
34
|
-
200: hsl(340deg 75% 80%),
|
|
35
|
-
300: hsl(340deg 65% 65%),
|
|
36
|
-
400: hsl(340deg 60% 55%),
|
|
37
|
-
500: hsl(340deg 60% 50%),
|
|
38
|
-
600: hsl(340deg 60% 45%),
|
|
39
|
-
700: hsl(340deg 65% 35%),
|
|
40
|
-
800: hsl(340deg 75% 20%),
|
|
41
|
-
900: hsl(340deg 85% 10%),
|
|
42
|
-
),
|
|
43
|
-
);
|
|
44
|
-
$custom-colors: () !default;
|
|
45
|
-
$colors: map.merge($default-colors, $custom-colors);
|
|
46
|
-
|
|
47
|
-
// A map for reversing the shade values of the dark theme.
|
|
48
|
-
$base-dark-map: (
|
|
49
|
-
100: 900,
|
|
50
|
-
200: 800,
|
|
51
|
-
300: 700,
|
|
52
|
-
400: 600,
|
|
53
|
-
500: 500,
|
|
54
|
-
600: 400,
|
|
55
|
-
700: 300,
|
|
56
|
-
800: 200,
|
|
57
|
-
900: 100,
|
|
58
|
-
);
|
|
59
|
-
$custom-dark-map: () !default;
|
|
60
|
-
$dark-map: map.merge($base-dark-map, $custom-dark-map);
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
Variables
|
|
65
|
-
|
|
66
|
-
```sass
|
|
67
|
-
// A custom variable is defined for each color and shade.
|
|
68
|
-
--#{root-defaults.$prefix}#{$color}--#{$shade}
|
|
69
|
-
|
|
70
|
-
// There are three modes for the theme.
|
|
71
|
-
// Active is what is currently being used.
|
|
72
|
-
--#{root-defaults.$prefix}theme-active--#{$color}--#{$shade}
|
|
73
|
-
// Theme dark is the color used when dark mode is active.
|
|
74
|
-
--#{root-defaults.$prefix}theme-dark--#{$color}--#{$shade}
|
|
75
|
-
// Light theme is the color active whne light mode is active
|
|
76
|
-
--#{root-defaults.$prefix}theme-light--#{$color}--#{$shade}
|
|
77
|
-
|
|
78
|
-
// Globaly defined root color and root background.
|
|
79
|
-
--#{root-defaults.$prefix}root-color
|
|
80
|
-
--#{root-defaults.$prefix}root-background
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
## Typography
|
|
84
|
-
|
|
85
|
-
Defaults
|
|
86
|
-
|
|
87
|
-
```sass
|
|
88
|
-
// font properties.
|
|
89
|
-
$font-size-base: 1rem !default;
|
|
90
|
-
$root-font-size: clamp(0.85rem, calc(0.8rem + 0.5vw), 1.25rem) !default;
|
|
91
|
-
$line-height: 1.2em !default;
|
|
92
|
-
|
|
93
|
-
// Multipliers for font sizes.
|
|
94
|
-
// This uses a minor third scale.
|
|
95
|
-
// See: https://typescale.com/?size=16&scale=1.250&text=A%20Visual%20Type%20Scale&font=Lato&fontweight=400&bodyfont=body_font_default&bodyfontweight=400&lineheight=1.75&backgroundcolor=%23ffffff&fontcolor=%23000000
|
|
96
|
-
$base-font-size-multipliers: (
|
|
97
|
-
xs: 0.694,
|
|
98
|
-
sm: 0.833,
|
|
99
|
-
base: 1,
|
|
100
|
-
lg: 1.2,
|
|
101
|
-
xl: 1.44,
|
|
102
|
-
2xl: 1.728,
|
|
103
|
-
3xl: 2.074,
|
|
104
|
-
4xl: 2.488,
|
|
105
|
-
5xl: 2.986,
|
|
106
|
-
);
|
|
107
|
-
$custom-font-size-multipliers: () !default;
|
|
108
|
-
$font-size-multipliers: map.merge(
|
|
109
|
-
$base-font-size-multipliers,
|
|
110
|
-
$custom-font-size-multipliers
|
|
111
|
-
);
|
|
112
|
-
|
|
113
|
-
// Weights.
|
|
114
|
-
$base-font-weights: (
|
|
115
|
-
light: 300,
|
|
116
|
-
normal: 400,
|
|
117
|
-
bold: 700,
|
|
118
|
-
);
|
|
119
|
-
$custom-font-weights: () !default;
|
|
120
|
-
$font-weights: map.merge($base-font-weights, $custom-font-weights);
|
|
121
|
-
|
|
122
|
-
/* stylelint-disable-next-line scss/dollar-variable-colon-space-after */
|
|
123
|
-
$root-font-family:
|
|
124
|
-
system-ui,
|
|
125
|
-
-apple-system,
|
|
126
|
-
blinkmacsystemfont,
|
|
127
|
-
"Segoe UI",
|
|
128
|
-
roboto,
|
|
129
|
-
"Helvetica Neue",
|
|
130
|
-
arial,
|
|
131
|
-
sans-serif !default;
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
Variables
|
|
135
|
-
|
|
136
|
-
The font properties:
|
|
137
|
-
|
|
138
|
-
```scss
|
|
139
|
-
--#{root-defaults.$prefix}font-size-base
|
|
140
|
-
--#{root-defaults.$prefix}line-height
|
|
141
|
-
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
The font size properties:
|
|
145
|
-
|
|
146
|
-
```scss
|
|
147
|
-
--#{root-defaults.$prefix}font-#{$key}
|
|
148
|
-
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
The font weight properties:
|
|
152
|
-
|
|
153
|
-
```scss
|
|
154
|
-
--#{root-defaults.$prefix}font-weight-#{$key}
|
|
155
|
-
--#{root-defaults.$prefix}font-weight-bold
|
|
156
|
-
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
The root properties:
|
|
160
|
-
|
|
161
|
-
```scss
|
|
162
|
-
--#{root-defaults.$prefix}root-font-family
|
|
163
|
-
--#{root-defaults.$prefix}root-font-size
|
|
164
|
-
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
The typography properties:
|
|
168
|
-
|
|
169
|
-
```scss
|
|
170
|
-
--#{root-defaults.$prefix}body-font-size
|
|
171
|
-
--#{root-defaults.$prefix}body-line-height
|
|
172
|
-
--#{root-defaults.$prefix}body-font-weight
|
|
173
|
-
--#{root-defaults.$prefix}paragraph-font-size
|
|
174
|
-
--#{root-defaults.$prefix}paragraph-line-height
|
|
175
|
-
--#{root-defaults.$prefix}paragraph-margin
|
|
176
|
-
--#{root-defaults.$prefix}paragraph-font-weight
|
|
177
|
-
--#{root-defaults.$prefix}small-font-size
|
|
178
|
-
--#{root-defaults.$prefix}small-line-height
|
|
179
|
-
--#{root-defaults.$prefix}small-margin
|
|
180
|
-
--#{root-defaults.$prefix}small-font-weight
|
|
181
|
-
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
The heading properties:
|
|
185
|
-
|
|
186
|
-
```scss
|
|
187
|
-
--#{root-defaults.$prefix}heading-font-family
|
|
188
|
-
--#{root-defaults.$prefix}heading-line-height
|
|
189
|
-
--#{root-defaults.$prefix}heading-margin
|
|
190
|
-
--#{root-defaults.$prefix}heading-font-weight
|
|
191
|
-
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
The H1 properties:
|
|
195
|
-
|
|
196
|
-
```scss
|
|
197
|
-
--#{root-defaults.$prefix}h1-font-size
|
|
198
|
-
--#{root-defaults.$prefix}h1-line-height
|
|
199
|
-
--#{root-defaults.$prefix}h1-margin
|
|
200
|
-
--#{root-defaults.$prefix}h1-font-family
|
|
201
|
-
--#{root-defaults.$prefix}h1-font-weight
|
|
202
|
-
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
The H2 properties:
|
|
206
|
-
|
|
207
|
-
```scss
|
|
208
|
-
--#{root-defaults.$prefix}h2-font-size
|
|
209
|
-
--#{root-defaults.$prefix}h2-line-height
|
|
210
|
-
--#{root-defaults.$prefix}h2-margin
|
|
211
|
-
--#{root-defaults.$prefix}h2-font-family
|
|
212
|
-
--#{root-defaults.$prefix}h2-font-weight
|
|
213
|
-
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
The H3 properties:
|
|
217
|
-
|
|
218
|
-
```scss
|
|
219
|
-
--#{root-defaults.$prefix}h3-font-size
|
|
220
|
-
--#{root-defaults.$prefix}h3-line-height
|
|
221
|
-
--#{root-defaults.$prefix}h3-margin
|
|
222
|
-
--#{root-defaults.$prefix}h3-font-family
|
|
223
|
-
--#{root-defaults.$prefix}h3-font-weight
|
|
224
|
-
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
The H4 properties:
|
|
228
|
-
|
|
229
|
-
```scss
|
|
230
|
-
--#{root-defaults.$prefix}h4-font-size
|
|
231
|
-
--#{root-defaults.$prefix}h4-line-height
|
|
232
|
-
--#{root-defaults.$prefix}h4-margin
|
|
233
|
-
--#{root-defaults.$prefix}h4-font-family
|
|
234
|
-
--#{root-defaults.$prefix}h4-font-weight
|
|
235
|
-
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
The H5 properties:
|
|
239
|
-
|
|
240
|
-
```scss
|
|
241
|
-
--#{root-defaults.$prefix}h5-font-size
|
|
242
|
-
--#{root-defaults.$prefix}h5-line-height
|
|
243
|
-
--#{root-defaults.$prefix}h5-margin
|
|
244
|
-
--#{root-defaults.$prefix}h5-font-family
|
|
245
|
-
--#{root-defaults.$prefix}h5-font-weight
|
|
246
|
-
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
The H6 properties:
|
|
250
|
-
|
|
251
|
-
```scss
|
|
252
|
-
--#{root-defaults.$prefix}h6-font-size
|
|
253
|
-
--#{root-defaults.$prefix}h6-line-height
|
|
254
|
-
--#{root-defaults.$prefix}h6-margin
|
|
255
|
-
--#{root-defaults.$prefix}h6-font-family
|
|
256
|
-
--#{root-defaults.$prefix}h6-font-weight
|
|
257
|
-
|
|
258
|
-
```
|
package/docs/utilities.md
DELETED
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
## Utilities
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
### Alignment
|
|
6
|
-
|
|
7
|
-
**Variables**
|
|
8
|
-
|
|
9
|
-
Property Prefixes
|
|
10
|
-
|
|
11
|
-
- $align-content-class-prefix: "align-content-" !default;
|
|
12
|
-
- $align-items-class-prefix: "align-items-” !default;
|
|
13
|
-
- $align-self-class-prefix: "align-self-" !default;
|
|
14
|
-
|
|
15
|
-
Custom Variables to extend properties
|
|
16
|
-
|
|
17
|
-
- $custom-align-content-properties
|
|
18
|
-
- $custom-align-items-properties
|
|
19
|
-
- $custom-align-self-properties
|
|
20
|
-
|
|
21
|
-
Align Content
|
|
22
|
-
|
|
23
|
-
- align-content-normal
|
|
24
|
-
- align-content-start
|
|
25
|
-
- align-content-end
|
|
26
|
-
- align-content-center
|
|
27
|
-
- align-content-between
|
|
28
|
-
- align-content-around
|
|
29
|
-
- align-content-evenly
|
|
30
|
-
- align-content-baseline
|
|
31
|
-
- align-content-stretch
|
|
32
|
-
|
|
33
|
-
Align Items
|
|
34
|
-
|
|
35
|
-
- align-items-start
|
|
36
|
-
- align-items-end
|
|
37
|
-
- align-items-center
|
|
38
|
-
- align-items-baseline
|
|
39
|
-
- align-items-stretch
|
|
40
|
-
|
|
41
|
-
Align Self
|
|
42
|
-
|
|
43
|
-
- align-self-auto
|
|
44
|
-
- align-self-start
|
|
45
|
-
- align-self-end
|
|
46
|
-
- align-self-center
|
|
47
|
-
- align-self-baseline
|
|
48
|
-
- align-self-stretch
|
|
49
|
-
|
|
50
|
-
### Color
|
|
51
|
-
|
|
52
|
-
Variables
|
|
53
|
-
|
|
54
|
-
- $background-class-prefix: "bg-" !default;
|
|
55
|
-
- $text-class-prefix: "text-" !default;
|
|
56
|
-
- $custom-background-properties
|
|
57
|
-
- $custom-text-properties
|
|
58
|
-
- $custom-colors
|
|
59
|
-
- $custom-dark-map
|
|
60
|
-
|
|
61
|
-
Color Classes
|
|
62
|
-
|
|
63
|
-
- #{defaults.$background-class-prefix}-#{$color}-#{$shade};
|
|
64
|
-
- The class is a combination of the prefix, color, and shade.
|
|
65
|
-
- See table below for examples on how to use the background and text classes.
|
|
66
|
-
|
|
67
|
-
| Prefix | Color | Shade | Background Class | Text Class |
|
|
68
|
-
| --- | --- | --- | --- | --- |
|
|
69
|
-
| bg \| text | primary \| secondary \| tertiary | 100 | bg-primary-100 | text-primary-100 |
|
|
70
|
-
| bg \| text | primary \| secondary \| tertiary | 200 | bg-primary-200 | text-primary-200 |
|
|
71
|
-
| bg \| text | primary \| secondary \| tertiary | 300 | bg-primary-300 | text-primary-300 |
|
|
72
|
-
| bg \| text | primary \| secondary \| tertiary | 400 | bg-primary-400 | text-primary-400 |
|
|
73
|
-
| bg \| text | primary \| secondary \| tertiary | 500 | bg-primary-500 | text-primary-500 |
|
|
74
|
-
| bg \| text | primary \| secondary \| tertiary | 600 | bg-primary-600 | text-primary-600 |
|
|
75
|
-
| bg \| text | primary \| secondary \| tertiary | 700 | bg-primary-700 | text-primary-700 |
|
|
76
|
-
| bg \| text | primary \| secondary \| tertiary | 800 | bg-primary-800 | text-primary-800 |
|
|
77
|
-
| bg \| text | primary \| secondary \| tertiary | 900 | bg-primary-900 | text-primary-900 |
|
|
78
|
-
|
|
79
|
-
Background and text properties
|
|
80
|
-
|
|
81
|
-
| Background Property | Text Property |
|
|
82
|
-
| --- | --- |
|
|
83
|
-
| bg-inherit | text-inherit |
|
|
84
|
-
| bg-current | text-current |
|
|
85
|
-
| bg-transparent | text-transparent |
|
|
86
|
-
|
|
87
|
-
### Display
|
|
88
|
-
|
|
89
|
-
- $display-class-prefix: "display-" !default;
|
|
90
|
-
- $custom-display-properties
|
|
91
|
-
|
|
92
|
-
| Display Property |
|
|
93
|
-
| --- |
|
|
94
|
-
| display-block |
|
|
95
|
-
| display-inline-block |
|
|
96
|
-
| display-inline |
|
|
97
|
-
| display-flex |
|
|
98
|
-
| display-inline-flex |
|
|
99
|
-
| display-grid |
|
|
100
|
-
| display-inline-grid |
|
|
101
|
-
| display-flow-root |
|
|
102
|
-
| display-none |
|
|
103
|
-
| display-contents |
|
|
104
|
-
| display-list-item |
|
|
105
|
-
|
|
106
|
-
### Flex
|
|
107
|
-
|
|
108
|
-
- $flex-direction-class-prefix: "flex-" !default;
|
|
109
|
-
- $flex-wrap-class-prefix: "flex-" !default;
|
|
110
|
-
- $flex-grow-class-prefix: "flex-" !default;
|
|
111
|
-
- $flex-shrink-class-prefix: "flex-" !default;
|
|
112
|
-
|
|
113
|
-
Custom variables to extend properties
|
|
114
|
-
|
|
115
|
-
- $custom-flex-direction-properties
|
|
116
|
-
- $custom-flex-wrap-properties
|
|
117
|
-
- $custom-flex-grow-properties
|
|
118
|
-
- $custom-flex-shrink-properties
|
|
119
|
-
|
|
120
|
-
| Prefix | Property | Class Name |
|
|
121
|
-
| --- | --- | --- |
|
|
122
|
-
| flex- | row | flex-row |
|
|
123
|
-
| flex- | row-reverse | flex-row-reverse |
|
|
124
|
-
| flex- | col | flex-col |
|
|
125
|
-
| flex- | col-reverse | flex-col-reverse |
|
|
126
|
-
| flex- | wrap | flex-wrap |
|
|
127
|
-
| flex- | wrap-reverse | flex-wrap-reverse |
|
|
128
|
-
| flex- | nowrap | flex-nowrap |
|
|
129
|
-
| flex- | grow | flex-grow |
|
|
130
|
-
| flex- | no-grow | flex-no-grow |
|
|
131
|
-
| flex- | shrink | flex-shrink |
|
|
132
|
-
| flex- | no-shrink | flex-no-shrink |
|
|
133
|
-
|
|
134
|
-
### Inset
|
|
135
|
-
|
|
136
|
-
- $custom-inset-properties
|
|
137
|
-
- $custom-inset-values
|
|
138
|
-
|
|
139
|
-
Every property is mapped to every value. So you can append the property name to any value.
|
|
140
|
-
|
|
141
|
-
| Property | Value | Class Name |
|
|
142
|
-
| --- | --- | --- |
|
|
143
|
-
| inset | 0 \| auto \| full \| quarter \| half \| three-quarters \| third \| two-thirds | inset-auto |
|
|
144
|
-
| inset-x | 0 \| auto \| full \| quarter \| half \| three-quarters \| third \| two-thirds | inset-x-full |
|
|
145
|
-
| inset-y | 0 \| auto \| full \| quarter \| half \| three-quarters \| third \| two-thirds | inset-y-quarter |
|
|
146
|
-
| inset-start | 0 \| auto \| full \| quarter \| half \| three-quarters \| third \| two-thirds | inset-start-half |
|
|
147
|
-
| inset-end | 0 \| auto \| full \| quarter \| half \| three-quarters \| third \| two-thirds | inset-end-three-quarters |
|
|
148
|
-
| top | 0 \| auto \| full \| quarter \| half \| three-quarters \| third \| two-thirds | top-third |
|
|
149
|
-
| right | 0 \| auto \| full \| quarter \| half \| three-quarters \| third \| two-thirds | right-two-thirds |
|
|
150
|
-
| bottom | 0 \| auto \| full \| quarter \| half \| three-quarters \| third \| two-thirds | bottom-0 |
|
|
151
|
-
| left | 0 \| auto \| full \| quarter \| half \| three-quarters \| third \| two-thirds | left-auto |
|
|
152
|
-
|
|
153
|
-
### Justification
|
|
154
|
-
|
|
155
|
-
- $justify-content-class-prefix: "justify-content-" !default;
|
|
156
|
-
- .$justify-items-class-prefix: "justify-items-" !default;
|
|
157
|
-
- $justify-self-class-prefix: "justify-self-" !default;
|
|
158
|
-
- $custom-justify-content-properties
|
|
159
|
-
- $custom-justify-items-properties
|
|
160
|
-
- $custom-justify-self-properties
|
|
161
|
-
|
|
162
|
-
Justify Content
|
|
163
|
-
|
|
164
|
-
| normal | justify-content-normal |
|
|
165
|
-
| --- | --- |
|
|
166
|
-
| start | justify-content-start |
|
|
167
|
-
| end | justify-content-end |
|
|
168
|
-
| center | justify-content-center |
|
|
169
|
-
| between | justify-content-between |
|
|
170
|
-
| around | justify-content-around |
|
|
171
|
-
| evenly | justify-content-evenly |
|
|
172
|
-
| stretch | justify-content-stretch |
|
|
173
|
-
|
|
174
|
-
Justify Items
|
|
175
|
-
|
|
176
|
-
| Property | Class Name |
|
|
177
|
-
| --- | --- |
|
|
178
|
-
| start | justify-items-start |
|
|
179
|
-
| end | justify-items-end |
|
|
180
|
-
| center | justify-items-center |
|
|
181
|
-
| stretch | justify-items-stretch |
|
|
182
|
-
|
|
183
|
-
Justify Self
|
|
184
|
-
|
|
185
|
-
| auto | justify-self-auto |
|
|
186
|
-
| --- | --- |
|
|
187
|
-
| start | justify-self-start |
|
|
188
|
-
| end | justify-self-end |
|
|
189
|
-
| center | justify-self-center |
|
|
190
|
-
| stretch | justify-self-stretch |
|
|
191
|
-
|
|
192
|
-
### List
|
|
193
|
-
|
|
194
|
-
- $list-style-type-class-prefix: "list-style-" !default;
|
|
195
|
-
- $list-style-postion-class-prefix: "list-style-" !default;
|
|
196
|
-
- $custom-list-style-type-properties
|
|
197
|
-
- $custom-list-style-postion-properties
|
|
198
|
-
|
|
199
|
-
List style type properties
|
|
200
|
-
|
|
201
|
-
| Property | Class Name |
|
|
202
|
-
| --- | --- |
|
|
203
|
-
| none | list-style-none |
|
|
204
|
-
| disc | list-style-disc |
|
|
205
|
-
| decimal | list-style-decimal |
|
|
206
|
-
| circle | list-style-circle |
|
|
207
|
-
| square | list-style-square |
|
|
208
|
-
|
|
209
|
-
List style position properties
|
|
210
|
-
|
|
211
|
-
| inside | list-style-inside |
|
|
212
|
-
| --- | --- |
|
|
213
|
-
| outside | list-style-outside |
|
|
214
|
-
|
|
215
|
-
### Order
|
|
216
|
-
|
|
217
|
-
- $order-class-prefix
|
|
218
|
-
- $custom-order-properties
|
|
219
|
-
|
|
220
|
-
| Property | Class Name |
|
|
221
|
-
| --- | --- |
|
|
222
|
-
| none | order-none |
|
|
223
|
-
| first | order-first |
|
|
224
|
-
| last | order-last |
|
|
225
|
-
|
|
226
|
-
### Position
|
|
227
|
-
|
|
228
|
-
- $position-class-prefix
|
|
229
|
-
- $custom-position-properties
|
|
230
|
-
|
|
231
|
-
| Property | Class Name |
|
|
232
|
-
| --- | --- |
|
|
233
|
-
| static | position-static |
|
|
234
|
-
| fixed | position-fixed |
|
|
235
|
-
| absolute | position-absolute |
|
|
236
|
-
| relative | position-relative |
|
|
237
|
-
| sticky | position-sticky |
|
|
238
|
-
|
|
239
|
-
### Ratio
|
|
240
|
-
|
|
241
|
-
Variables
|
|
242
|
-
|
|
243
|
-
`$ratio: var(*--#{root-defaults.$prefix}ratio*);`
|
|
244
|
-
|
|
245
|
-
Contains element add this class to
|
|
246
|
-
|
|
247
|
-
- $ratio-selector: ".ratio" !default;
|
|
248
|
-
|
|
249
|
-
Item that covers the container uses this with the default prefix as “.”
|
|
250
|
-
|
|
251
|
-
- $ratio-variant-selector-prefix: "." !default;
|
|
252
|
-
|
|
253
|
-
Different rations you can use
|
|
254
|
-
|
|
255
|
-
| Property | Class Name |
|
|
256
|
-
| --- | --- |
|
|
257
|
-
| one-by-one | one-by-one |
|
|
258
|
-
| two-by-one | two-by-one |
|
|
259
|
-
| four-by-three | four-by-three |
|
|
260
|
-
| four-by-one | four-by-one |
|
|
261
|
-
| sixteen-by-nine | sixteen-by-nine |
|
|
262
|
-
| three-by-two | three-by-two |
|
|
263
|
-
| eight-by-five | eight-by-five |
|
|
264
|
-
|
|
265
|
-
### Spacing
|
|
266
|
-
|
|
267
|
-
| Abbreviation | Description | Values | Class Name |
|
|
268
|
-
| --- | --- | --- | --- |
|
|
269
|
-
| g | gap | 1 to 10 | g-1 |
|
|
270
|
-
| rg | row-gap | 1 to 10 | rg-2 |
|
|
271
|
-
| cg | column-gap | 1 to 10 | cg-3 |
|
|
272
|
-
| p | padding | 1 to 10 | p-4 |
|
|
273
|
-
| pt | padding-top | 1 to 10 | pt-5 |
|
|
274
|
-
| pr | padding-right | 1 to 10 | pr-6 |
|
|
275
|
-
| pb | padding-bottom | 1 to 10 | pb-7 |
|
|
276
|
-
| pl | padding-left | 1 to 10 | pl-8 |
|
|
277
|
-
| px | padding-left padding-right | 1 to 10 | px-9 |
|
|
278
|
-
| py | padding-top padding-bottom | 1 to 10 | py-10 |
|
|
279
|
-
| pbs | padding-block-start | 1 to 10 | pbs-1 |
|
|
280
|
-
| pbe | padding-block-end | 1 to 10 | pbe-2 |
|
|
281
|
-
| pbse | padding-block-start padding-block-end | 1 to 10 | pbse-3 |
|
|
282
|
-
| pis | padding-inline-start | 1 to 10 | pis-4 |
|
|
283
|
-
| pie | padding-inline-end | 1 to 10 | pie-5 |
|
|
284
|
-
| pise | padding-inline-start padding-inline-end | 1 to 10 | pise-6 |
|
|
285
|
-
| m | margin | 1 to 10 | m-7 |
|
|
286
|
-
| mt | margin-top | 1 to 10 | mt-8 |
|
|
287
|
-
| mr | margin-right | 1 to 10 | mr-9 |
|
|
288
|
-
| mb | margin-bottom | 1 to 10 | mb-10 |
|
|
289
|
-
| ml | margin-left | 1 to 10 | ml-1 |
|
|
290
|
-
| mx | margin-left margin-right | 1 to 10 | mx-2 |
|
|
291
|
-
| my | margin-top margin-bottom | 1 to 10 | my-3 |
|
|
292
|
-
| mbs | margin-block-start | 1 to 10 | mbs-4 |
|
|
293
|
-
| mbe | margin-block-end | 1 to 10 | mbe-5 |
|
|
294
|
-
| mbse | margin-block-start margin-block-end | 1 to 10 | mbse-6 |
|
|
295
|
-
| mis | margin-inline-start | 1 to 10 | mis-7 |
|
|
296
|
-
| mie | margin-inline-end | 1 to 10 | mie-8 |
|
|
297
|
-
| mise | margin-inline-start margin-inline-end | 1 to 10 | mise-9 |
|
|
298
|
-
|
|
299
|
-
### Typography
|
|
300
|
-
|
|
301
|
-
- $text-class-prefix: "text-" !default;
|
|
302
|
-
|
|
303
|
-
Text utilities
|
|
304
|
-
|
|
305
|
-
- text-paragraph
|
|
306
|
-
- text-small
|
|
307
|
-
- text-h1
|
|
308
|
-
- text-h2
|
|
309
|
-
- text-h3
|
|
310
|
-
- text-h4
|
|
311
|
-
- text-h5
|
|
312
|
-
- text-h6
|
|
313
|
-
|
|
314
|
-
Font Size Utilities
|
|
315
|
-
|
|
316
|
-
- $text-class-prefix: "text-" !default;
|
|
317
|
-
|
|
318
|
-
| Property | Class Name |
|
|
319
|
-
| --- | --- |
|
|
320
|
-
| xs | text-xs |
|
|
321
|
-
| sm | text-sm |
|
|
322
|
-
| base | text-base |
|
|
323
|
-
| lg | text-lg |
|
|
324
|
-
| xl | text-xl |
|
|
325
|
-
| 2xl | text-2xl |
|
|
326
|
-
| 3xl | text-3xl |
|
|
327
|
-
| 4xl | text-4xl |
|
|
328
|
-
| 5xl | text-5xl |
|
|
329
|
-
|
|
330
|
-
Font Weight Utilities
|
|
331
|
-
|
|
332
|
-
- $font-weight-class-prefix: "font-" !default;
|
|
333
|
-
|
|
334
|
-
| Property | Class Name |
|
|
335
|
-
| --- | --- |
|
|
336
|
-
| light | font-light |
|
|
337
|
-
| normal | font-normal|
|
|
338
|
-
| bold | font-bold |
|
|
339
|
-
|
|
340
|
-
Font Style Utilities
|
|
341
|
-
|
|
342
|
-
- $font-style-class-prefix: "font-" !default;
|
|
343
|
-
|
|
344
|
-
| Property | Class Name |
|
|
345
|
-
| --- | --- |
|
|
346
|
-
| normal | font-normal |
|
|
347
|
-
| italic | font-italic |
|
|
348
|
-
|
|
349
|
-
### Visibility
|
|
350
|
-
|
|
351
|
-
$visibility-class-prefix: "visibility-" !default;
|
|
352
|
-
|
|
353
|
-
| Property | Class Name |
|
|
354
|
-
| --- | --- |
|
|
355
|
-
| visible | visibility-visible |
|
|
356
|
-
| hidden | visibility-hidden |
|
|
357
|
-
| collapse | visibility-collapse |
|