@graupl/graupl 1.0.0-beta.5 → 1.0.0-beta.6
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/CHANGELOG.md +26 -0
- package/dist/css/base/button.css +1 -1
- package/dist/css/base/button.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.css +1 -1
- package/dist/css/base.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 +1 -1
- package/dist/css/component.css.map +1 -1
- package/dist/css/graupl.css +1 -1
- package/dist/css/graupl.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.css +1 -1
- package/dist/css/layout.css.map +1 -1
- package/dist/css/utilities/background.css +1 -1
- package/dist/css/utilities/background.css.map +1 -1
- package/dist/css/utilities/height.css +1 -1
- package/dist/css/utilities/height.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/spacing.css +1 -1
- package/dist/css/utilities/spacing.css.map +1 -1
- package/dist/css/utilities/visually-hidden.css +1 -1
- package/dist/css/utilities/visually-hidden.css.map +1 -1
- 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/docs/.vitepress/config.js +30 -1
- package/docs/.vitepress/theme/custom.scss +14 -15
- package/docs/compiling-graupl.md +6 -5
- package/docs/utilities/alignment.md +405 -0
- package/docs/utilities/background.md +186 -0
- package/docs/utilities/border.md +262 -0
- package/docs/utilities/color.md +342 -0
- package/docs/utilities/display.md +3 -0
- package/docs/utilities/flex.md +3 -0
- package/docs/utilities/gradient.md +3 -0
- package/docs/utilities/height.md +3 -0
- package/docs/utilities/inset.md +3 -0
- package/docs/utilities/justification.md +3 -0
- package/docs/utilities/list.md +3 -0
- package/docs/utilities/order.md +3 -0
- package/docs/utilities/position.md +3 -0
- package/docs/utilities/ratio.md +3 -0
- package/docs/utilities/responsive-classes.md +3 -0
- package/docs/utilities/spacing.md +3 -0
- package/docs/utilities/typography.md +3 -0
- package/docs/utilities/visibility.md +3 -0
- package/docs/utilities/visually-hidden.md +3 -0
- package/docs/utilities/width.md +3 -0
- package/docs/utilities/z-index.md +3 -0
- package/index.html +82 -0
- package/package.json +1 -1
- package/scss/utilities/z-index.scss +3 -0
- package/src/scss/_defaults.scss +6 -0
- package/src/scss/layout/container/_defaults.scss +10 -0
- package/src/scss/layout/container/_index.scss +472 -1
- package/src/scss/layout/container/_variables.scss +22 -0
- package/src/scss/utilities/_index.scss +1 -0
- package/src/scss/utilities/background/_defaults.scss +0 -35
- package/src/scss/utilities/background/_index.scss +0 -35
- package/src/scss/utilities/z-index/_defaults.scss +34 -0
- package/src/scss/utilities/z-index/_index.scss +140 -0
- package/src/scss/utilities/z-index/_variables.scss +6 -0
- package/dist/css/utilities/postion.css +0 -2
- package/dist/css/utilities/postion.css.map +0 -1
- /package/scss/utilities/{postion.scss → position.scss} +0 -0
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
# Border Utilities
|
|
2
|
+
|
|
3
|
+
The border utilities provide a set of classes to adjust the `border-width`, `border-color`, and `border-style` properties of elements.
|
|
4
|
+
|
|
5
|
+
## `.bordered`
|
|
6
|
+
|
|
7
|
+
Applies the default border styling to an element.
|
|
8
|
+
|
|
9
|
+
```css
|
|
10
|
+
.bordered {
|
|
11
|
+
border-width: var(--graupl-border-width);
|
|
12
|
+
border-radius: var(--graupl-border-radius);
|
|
13
|
+
border-style: var(--graupl-border-style);
|
|
14
|
+
}
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Border widths
|
|
18
|
+
|
|
19
|
+
| Class Name | Property | Value |
|
|
20
|
+
| --- | --- | --- |
|
|
21
|
+
| [`.border-thick`](#border-thick) | `border-width` | `thick` |
|
|
22
|
+
| [`.border-thin`](#border-thin) | `border-width` | `thin` |
|
|
23
|
+
| [`.border-medium`](#border-medium) | `border-width` | `medium` |
|
|
24
|
+
|
|
25
|
+
### `.border-thick`
|
|
26
|
+
|
|
27
|
+
Sets the `border-width` property to `thick`.
|
|
28
|
+
|
|
29
|
+
### `.border-thin`
|
|
30
|
+
|
|
31
|
+
Sets the `border-width` property to `thin`.
|
|
32
|
+
|
|
33
|
+
### `.border-medium`
|
|
34
|
+
|
|
35
|
+
Sets the `border-width` property to `medium`.
|
|
36
|
+
|
|
37
|
+
## Border colors
|
|
38
|
+
|
|
39
|
+
| Class Name | Property | Value |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| [`.border-primary-100`](#border-primary-100) | `border-color` | `var(--graupl-theme-active--primary--100)` |
|
|
42
|
+
| [`.border-primary-200`](#border-primary-200) | `border-color` | `var(--graupl-theme-active--primary--200)` |
|
|
43
|
+
| [`.border-primary-300`](#border-primary-300) | `border-color` | `var(--graupl-theme-active--primary--300)` |
|
|
44
|
+
| [`.border-primary-400`](#border-primary-400) | `border-color` | `var(--graupl-theme-active--primary--400)` |
|
|
45
|
+
| [`.border-primary-500`](#border-primary-500) | `border-color` | `var(--graupl-theme-active--primary--500)` |
|
|
46
|
+
| [`.border-primary-600`](#border-primary-600) | `border-color` | `var(--graupl-theme-active--primary--600)` |
|
|
47
|
+
| [`.border-primary-700`](#border-primary-700) | `border-color` | `var(--graupl-theme-active--primary--700)` |
|
|
48
|
+
| [`.border-primary-800`](#border-primary-800) | `border-color` | `var(--graupl-theme-active--primary--800)` |
|
|
49
|
+
| [`.border-primary-900`](#border-primary-900) | `border-color` | `var(--graupl-theme-active--primary--900)` |
|
|
50
|
+
| [`.border-secondary-100`](#border-secondary-100) | `border-color` | `var(--graupl-theme-active--secondary--100)` |
|
|
51
|
+
| [`.border-secondary-200`](#border-secondary-200) | `border-color` | `var(--graupl-theme-active--secondary--200)` |
|
|
52
|
+
| [`.border-secondary-300`](#border-secondary-300) | `border-color` | `var(--graupl-theme-active--secondary--300)` |
|
|
53
|
+
| [`.border-secondary-400`](#border-secondary-400) | `border-color` | `var(--graupl-theme-active--secondary--400)` |
|
|
54
|
+
| [`.border-secondary-500`](#border-secondary-500) | `border-color` | `var(--graupl-theme-active--secondary--500)` |
|
|
55
|
+
| [`.border-secondary-600`](#border-secondary-600) | `border-color` | `var(--graupl-theme-active--secondary--600)` |
|
|
56
|
+
| [`.border-secondary-700`](#border-secondary-700) | `border-color` | `var(--graupl-theme-active--secondary--700)` |
|
|
57
|
+
| [`.border-secondary-800`](#border-secondary-800) | `border-color` | `var(--graupl-theme-active--secondary--800)` |
|
|
58
|
+
| [`.border-secondary-900`](#border-secondary-900) | `border-color` | `var(--graupl-theme-active--secondary--900)` |
|
|
59
|
+
| [`.border-tertiary-100`](#border-tertiary-100) | `border-color` | `var(--graupl-theme-active--tertiary--100)` |
|
|
60
|
+
| [`.border-tertiary-200`](#border-tertiary-200) | `border-color` | `var(--graupl-theme-active--tertiary--200)` |
|
|
61
|
+
| [`.border-tertiary-300`](#border-tertiary-300) | `border-color` | `var(--graupl-theme-active--tertiary--300)` |
|
|
62
|
+
| [`.border-tertiary-400`](#border-tertiary-400) | `border-color` | `var(--graupl-theme-active--tertiary--400)` |
|
|
63
|
+
| [`.border-tertiary-500`](#border-tertiary-500) | `border-color` | `var(--graupl-theme-active--tertiary--500)` |
|
|
64
|
+
| [`.border-tertiary-600`](#border-tertiary-600) | `border-color` | `var(--graupl-theme-active--tertiary--600)` |
|
|
65
|
+
| [`.border-tertiary-700`](#border-tertiary-700) | `border-color` | `var(--graupl-theme-active--tertiary--700)` |
|
|
66
|
+
| [`.border-tertiary-800`](#border-tertiary-800) | `border-color` | `var(--graupl-theme-active--tertiary--800)` |
|
|
67
|
+
| [`.border-tertiary-900`](#border-tertiary-900) | `border-color` | `var(--graupl-theme-active--tertiary--900)` |
|
|
68
|
+
| [`.border-transparent`](#border-transparent) | `border-color` | `transparent` |
|
|
69
|
+
|
|
70
|
+
### `.border-primary-100`
|
|
71
|
+
|
|
72
|
+
Sets the `border-color` property to `var(--graupl-theme-active--primary--100)`.
|
|
73
|
+
|
|
74
|
+
### `.border-primary-200`
|
|
75
|
+
|
|
76
|
+
Sets the `border-color` property to `var(--graupl-theme-active--primary--200)`.
|
|
77
|
+
|
|
78
|
+
### `.border-primary-300`
|
|
79
|
+
|
|
80
|
+
Sets the `border-color` property to `var(--graupl-theme-active--primary--300)`.
|
|
81
|
+
|
|
82
|
+
### `.border-primary-400`
|
|
83
|
+
|
|
84
|
+
Sets the `border-color` property to `var(--graupl-theme-active--primary--400)`.
|
|
85
|
+
|
|
86
|
+
### `.border-primary-500`
|
|
87
|
+
|
|
88
|
+
Sets the `border-color` property to `var(--graupl-theme-active--primary--500)`.
|
|
89
|
+
|
|
90
|
+
### `.border-primary-600`
|
|
91
|
+
|
|
92
|
+
Sets the `border-color` property to `var(--graupl-theme-active--primary--600)`.
|
|
93
|
+
|
|
94
|
+
### `.border-primary-700`
|
|
95
|
+
|
|
96
|
+
Sets the `border-color` property to `var(--graupl-theme-active--primary--700)`.
|
|
97
|
+
|
|
98
|
+
### `.border-primary-800`
|
|
99
|
+
|
|
100
|
+
Sets the `border-color` property to `var(--graupl-theme-active--primary--800)`.
|
|
101
|
+
|
|
102
|
+
### `.border-primary-900`
|
|
103
|
+
|
|
104
|
+
Sets the `border-color` property to `var(--graupl-theme-active--primary--900)`.
|
|
105
|
+
|
|
106
|
+
### `.border-secondary-100`
|
|
107
|
+
|
|
108
|
+
Sets the `border-color` property to `var(--graupl-theme-active--secondary--100)`.
|
|
109
|
+
|
|
110
|
+
### `.border-secondary-200`
|
|
111
|
+
|
|
112
|
+
Sets the `border-color` property to `var(--graupl-theme-active--secondary--200)`.
|
|
113
|
+
|
|
114
|
+
### `.border-secondary-300`
|
|
115
|
+
|
|
116
|
+
Sets the `border-color` property to `var(--graupl-theme-active--secondary--300)`.
|
|
117
|
+
|
|
118
|
+
### `.border-secondary-400`
|
|
119
|
+
|
|
120
|
+
Sets the `border-color` property to `var(--graupl-theme-active--secondary--400)`.
|
|
121
|
+
|
|
122
|
+
### `.border-secondary-500`
|
|
123
|
+
|
|
124
|
+
Sets the `border-color` property to `var(--graupl-theme-active--secondary--500)`.
|
|
125
|
+
|
|
126
|
+
### `.border-secondary-600`
|
|
127
|
+
|
|
128
|
+
Sets the `border-color` property to `var(--graupl-theme-active--secondary--600)`.
|
|
129
|
+
|
|
130
|
+
### `.border-secondary-700`
|
|
131
|
+
|
|
132
|
+
Sets the `border-color` property to `var(--graupl-theme-active--secondary--700)`.
|
|
133
|
+
|
|
134
|
+
### `.border-secondary-800`
|
|
135
|
+
|
|
136
|
+
Sets the `border-color` property to `var(--graupl-theme-active--secondary--800)`.
|
|
137
|
+
|
|
138
|
+
### `.border-secondary-900`
|
|
139
|
+
|
|
140
|
+
Sets the `border-color` property to `var(--graupl-theme-active--secondary--900)`.
|
|
141
|
+
|
|
142
|
+
### `.border-tertiary-100`
|
|
143
|
+
|
|
144
|
+
Sets the `border-color` property to `var(--graupl-theme-active--tertiary--100)`.
|
|
145
|
+
|
|
146
|
+
### `.border-tertiary-200`
|
|
147
|
+
|
|
148
|
+
Sets the `border-color` property to `var(--graupl-theme-active--tertiary--200)`.
|
|
149
|
+
|
|
150
|
+
### `.border-tertiary-300`
|
|
151
|
+
|
|
152
|
+
Sets the `border-color` property to `var(--graupl-theme-active--tertiary--300)`.
|
|
153
|
+
|
|
154
|
+
### `.border-tertiary-400`
|
|
155
|
+
|
|
156
|
+
Sets the `border-color` property to `var(--graupl-theme-active--tertiary--400)`.
|
|
157
|
+
|
|
158
|
+
### `.border-tertiary-500`
|
|
159
|
+
|
|
160
|
+
Sets the `border-color` property to `var(--graupl-theme-active--tertiary--500)`.
|
|
161
|
+
|
|
162
|
+
### `.border-tertiary-600`
|
|
163
|
+
|
|
164
|
+
Sets the `border-color` property to `var(--graupl-theme-active--tertiary--600)`.
|
|
165
|
+
|
|
166
|
+
### `.border-tertiary-700`
|
|
167
|
+
|
|
168
|
+
Sets the `border-color` property to `var(--graupl-theme-active--tertiary--700)`.
|
|
169
|
+
|
|
170
|
+
### `.border-tertiary-800`
|
|
171
|
+
|
|
172
|
+
Sets the `border-color` property to `var(--graupl-theme-active--tertiary--800)`.
|
|
173
|
+
|
|
174
|
+
### `.border-tertiary-900`
|
|
175
|
+
|
|
176
|
+
Sets the `border-color` property to `var(--graupl-theme-active--tertiary--900)`.
|
|
177
|
+
|
|
178
|
+
### `.border-transparent`
|
|
179
|
+
|
|
180
|
+
Sets the `border-color` property to `transparent`.
|
|
181
|
+
|
|
182
|
+
## Border styles
|
|
183
|
+
|
|
184
|
+
| Class Name | Property | Value |
|
|
185
|
+
| --- | --- | --- |
|
|
186
|
+
| [`.border-solid`](#border-solid) | `border-style` | `solid` |
|
|
187
|
+
| [`.border-dashed`](#border-dashed) | `border-style` | `dashed` |
|
|
188
|
+
| [`.border-dotted`](#border-dotted) | `border-style` | `dotted` |
|
|
189
|
+
| [`.border-double`](#border-double) | `border-style` | `double` |
|
|
190
|
+
| [`.border-groove`](#border-groove) | `border-style` | `groove` |
|
|
191
|
+
| [`.border-ridge`](#border-ridge) | `border-style` | `ridge` |
|
|
192
|
+
| [`.border-inset`](#border-inset) | `border-style` | `inset` |
|
|
193
|
+
| [`.border-outset`](#border-outset) | `border-style` | `outset` |
|
|
194
|
+
| [`.border-none`](#border-none) | `border-style` | `none` |
|
|
195
|
+
|
|
196
|
+
### `.border-solid`
|
|
197
|
+
|
|
198
|
+
Sets the `border-style` property to `solid`.
|
|
199
|
+
|
|
200
|
+
### `.border-dashed`
|
|
201
|
+
|
|
202
|
+
Sets the `border-style` property to `dashed`.
|
|
203
|
+
|
|
204
|
+
### `.border-dotted`
|
|
205
|
+
|
|
206
|
+
Sets the `border-style` property to `dotted`.
|
|
207
|
+
|
|
208
|
+
### `.border-double`
|
|
209
|
+
|
|
210
|
+
Sets the `border-style` property to `double`.
|
|
211
|
+
|
|
212
|
+
### `.border-groove`
|
|
213
|
+
|
|
214
|
+
Sets the `border-style` property to `groove`.
|
|
215
|
+
|
|
216
|
+
### `.border-ridge`
|
|
217
|
+
|
|
218
|
+
Sets the `border-style` property to `ridge`.
|
|
219
|
+
|
|
220
|
+
### `.border-inset`
|
|
221
|
+
|
|
222
|
+
Sets the `border-style` property to `inset`.
|
|
223
|
+
|
|
224
|
+
### `.border-outset`
|
|
225
|
+
|
|
226
|
+
Sets the `border-style` property to `outset`.
|
|
227
|
+
|
|
228
|
+
### `.border-none`
|
|
229
|
+
|
|
230
|
+
Sets the `border-style` property to `none`.
|
|
231
|
+
|
|
232
|
+
## Customization
|
|
233
|
+
|
|
234
|
+
To customize the border utilities, you can use the following variables.
|
|
235
|
+
|
|
236
|
+
| Variable | Default Value | Description |
|
|
237
|
+
| --- | --- | --- |
|
|
238
|
+
| `$selector-base` | `"."` | The base selector for the utility classes. |
|
|
239
|
+
| `$use-important` | `true` | A flag to determine if the `!important` flag should be added to the utility classes. |
|
|
240
|
+
| `$screen-aware` | `false` | A flag to generate screen-aware utility classes. |
|
|
241
|
+
| `$theme-aware` | `false` | A flag to generate theme-aware utility classes. |
|
|
242
|
+
| `$state-aware` | `false` | A flag to generate state-aware utility classes. |
|
|
243
|
+
| `$screen-aware-separator` | `:` | The separator for screen-aware utility classes. |
|
|
244
|
+
| `$theme-aware-separator` | `:` | The separator for theme-aware utility classes. |
|
|
245
|
+
| `$state-aware-separator` | `:` | The separator for state-aware utility classes. |
|
|
246
|
+
| `$default-border-selector` | `"bordered"` | The selector for the default border utility class. |
|
|
247
|
+
| `$border-width-selector-prefix` | `"border-"` | The prefix for the border width utility classes. |
|
|
248
|
+
| `$custom-border-width-properties` | `()` | The custom properties and values for the border width utility classes. |
|
|
249
|
+
| `$border-color-selector-prefix` | `"border-"` | The prefix for the border color utility classes. |
|
|
250
|
+
| `$custom-border-color-properties` | `()` | The custom properties and values for the border color utility classes. |
|
|
251
|
+
| `$border-style-selector-prefix` | `"border-"` | The prefix for the border style utility classes. |
|
|
252
|
+
| `$custom-border-style-properties` | `()` | The custom properties and values for the border style utility classes. |
|
|
253
|
+
|
|
254
|
+
## Responsive variants
|
|
255
|
+
|
|
256
|
+
To generate responsive alignment utilities, you can set the `$screen-aware`, `$theme-aware`, or `$state-aware` variables to `true`.
|
|
257
|
+
|
|
258
|
+
By default, no responsive alignment utilities are generated.
|
|
259
|
+
|
|
260
|
+
::: tip :pencil2: Note
|
|
261
|
+
For more information on responsive variants, refer to the [Responsive utility classes](./responsive-classes) documentation.
|
|
262
|
+
:::
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
# Color Utilities
|
|
2
|
+
|
|
3
|
+
The color utilities provide a set of classes to adjust the `color` and `background` properties of elements.
|
|
4
|
+
|
|
5
|
+
## Background Color
|
|
6
|
+
|
|
7
|
+
| Class Name | Property | Value |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| [`.bg-primary-100`](#bg-primary-100) | `background` | `var(--graupl-theme-active--primary--100)` |
|
|
10
|
+
| [`.bg-primary-200`](#bg-primary-200) | `background` | `var(--graupl-theme-active--primary--200)` |
|
|
11
|
+
| [`.bg-primary-300`](#bg-primary-300) | `background` | `var(--graupl-theme-active--primary--300)` |
|
|
12
|
+
| [`.bg-primary-400`](#bg-primary-400) | `background` | `var(--graupl-theme-active--primary--400)` |
|
|
13
|
+
| [`.bg-primary-500`](#bg-primary-500) | `background` | `var(--graupl-theme-active--primary--500)` |
|
|
14
|
+
| [`.bg-primary-600`](#bg-primary-600) | `background` | `var(--graupl-theme-active--primary--600)` |
|
|
15
|
+
| [`.bg-primary-700`](#bg-primary-700) | `background` | `var(--graupl-theme-active--primary--700)` |
|
|
16
|
+
| [`.bg-primary-800`](#bg-primary-800) | `background` | `var(--graupl-theme-active--primary--800)` |
|
|
17
|
+
| [`.bg-primary-900`](#bg-primary-900) | `background` | `var(--graupl-theme-active--primary--900)` |
|
|
18
|
+
| [`.bg-secondary-100`](#bg-secondary-100) | `background` | `var(--graupl-theme-active--secondary--100)` |
|
|
19
|
+
| [`.bg-secondary-200`](#bg-secondary-200) | `background` | `var(--graupl-theme-active--secondary--200)` |
|
|
20
|
+
| [`.bg-secondary-300`](#bg-secondary-300) | `background` | `var(--graupl-theme-active--secondary--300)` |
|
|
21
|
+
| [`.bg-secondary-400`](#bg-secondary-400) | `background` | `var(--graupl-theme-active--secondary--400)` |
|
|
22
|
+
| [`.bg-secondary-500`](#bg-secondary-500) | `background` | `var(--graupl-theme-active--secondary--500)` |
|
|
23
|
+
| [`.bg-secondary-600`](#bg-secondary-600) | `background` | `var(--graupl-theme-active--secondary--600)` |
|
|
24
|
+
| [`.bg-secondary-700`](#bg-secondary-700) | `background` | `var(--graupl-theme-active--secondary--700)` |
|
|
25
|
+
| [`.bg-secondary-800`](#bg-secondary-800) | `background` | `var(--graupl-theme-active--secondary--800)` |
|
|
26
|
+
| [`.bg-secondary-900`](#bg-secondary-900) | `background` | `var(--graupl-theme-active--secondary--900)` |
|
|
27
|
+
| [`.bg-tertiary-100`](#bg-tertiary-100) | `background` | `var(--graupl-theme-active--tertiary--100)` |
|
|
28
|
+
| [`.bg-tertiary-200`](#bg-tertiary-200) | `background` | `var(--graupl-theme-active--tertiary--200)` |
|
|
29
|
+
| [`.bg-tertiary-300`](#bg-tertiary-300) | `background` | `var(--graupl-theme-active--tertiary--300)` |
|
|
30
|
+
| [`.bg-tertiary-400`](#bg-tertiary-400) | `background` | `var(--graupl-theme-active--tertiary--400)` |
|
|
31
|
+
| [`.bg-tertiary-500`](#bg-tertiary-500) | `background` | `var(--graupl-theme-active--tertiary--500)` |
|
|
32
|
+
| [`.bg-tertiary-600`](#bg-tertiary-600) | `background` | `var(--graupl-theme-active--tertiary--600)` |
|
|
33
|
+
| [`.bg-tertiary-700`](#bg-tertiary-700) | `background` | `var(--graupl-theme-active--tertiary--700)` |
|
|
34
|
+
| [`.bg-tertiary-800`](#bg-tertiary-800) | `background` | `var(--graupl-theme-active--tertiary--800)` |
|
|
35
|
+
| [`.bg-tertiary-900`](#bg-tertiary-900) | `background` | `var(--graupl-theme-active--tertiary--900)` |
|
|
36
|
+
| [`.bg-inherit`](#bg-inherit) | `background` | `inherit` |
|
|
37
|
+
| [`.bg-current`](#bg-current) | `background` | `currentColor` |
|
|
38
|
+
| [`.bg-transparent`](#bg-transparent) | `background` | `transparent` |
|
|
39
|
+
|
|
40
|
+
### `.bg-primary-100`
|
|
41
|
+
|
|
42
|
+
Sets the `background` property to `var(--graupl-theme-active--primary--100)`.
|
|
43
|
+
|
|
44
|
+
### `.bg-primary-200`
|
|
45
|
+
|
|
46
|
+
Sets the `background` property to `var(--graupl-theme-active--primary--200)`.
|
|
47
|
+
|
|
48
|
+
### `.bg-primary-300`
|
|
49
|
+
|
|
50
|
+
Sets the `background` property to `var(--graupl-theme-active--primary--300)`.
|
|
51
|
+
|
|
52
|
+
### `.bg-primary-400`
|
|
53
|
+
|
|
54
|
+
Sets the `background` property to `var(--graupl-theme-active--primary--400)`.
|
|
55
|
+
|
|
56
|
+
### `.bg-primary-500`
|
|
57
|
+
|
|
58
|
+
Sets the `background` property to `var(--graupl-theme-active--primary--500)`.
|
|
59
|
+
|
|
60
|
+
### `.bg-primary-600`
|
|
61
|
+
|
|
62
|
+
Sets the `background` property to `var(--graupl-theme-active--primary--600)`.
|
|
63
|
+
|
|
64
|
+
### `.bg-primary-700`
|
|
65
|
+
|
|
66
|
+
Sets the `background` property to `var(--graupl-theme-active--primary--700)`.
|
|
67
|
+
|
|
68
|
+
### `.bg-primary-800`
|
|
69
|
+
|
|
70
|
+
Sets the `background` property to `var(--graupl-theme-active--primary--800)`.
|
|
71
|
+
|
|
72
|
+
### `.bg-primary-900`
|
|
73
|
+
|
|
74
|
+
Sets the `background` property to `var(--graupl-theme-active--primary--900)`.
|
|
75
|
+
|
|
76
|
+
### `.bg-secondary-100`
|
|
77
|
+
|
|
78
|
+
Sets the `background` property to `var(--graupl-theme-active--secondary--100)`.
|
|
79
|
+
|
|
80
|
+
### `.bg-secondary-200`
|
|
81
|
+
|
|
82
|
+
Sets the `background` property to `var(--graupl-theme-active--secondary--200)`.
|
|
83
|
+
|
|
84
|
+
### `.bg-secondary-300`
|
|
85
|
+
|
|
86
|
+
Sets the `background` property to `var(--graupl-theme-active--secondary--300)`.
|
|
87
|
+
|
|
88
|
+
### `.bg-secondary-400`
|
|
89
|
+
|
|
90
|
+
Sets the `background` property to `var(--graupl-theme-active--secondary--400)`.
|
|
91
|
+
|
|
92
|
+
### `.bg-secondary-500`
|
|
93
|
+
|
|
94
|
+
Sets the `background` property to `var(--graupl-theme-active--secondary--500)`.
|
|
95
|
+
|
|
96
|
+
### `.bg-secondary-600`
|
|
97
|
+
|
|
98
|
+
Sets the `background` property to `var(--graupl-theme-active--secondary--600)`.
|
|
99
|
+
|
|
100
|
+
### `.bg-secondary-700`
|
|
101
|
+
|
|
102
|
+
Sets the `background` property to `var(--graupl-theme-active--secondary--700)`.
|
|
103
|
+
|
|
104
|
+
### `.bg-secondary-800`
|
|
105
|
+
|
|
106
|
+
Sets the `background` property to `var(--graupl-theme-active--secondary--800)`.
|
|
107
|
+
|
|
108
|
+
### `.bg-secondary-900`
|
|
109
|
+
|
|
110
|
+
Sets the `background` property to `var(--graupl-theme-active--secondary--900)`.
|
|
111
|
+
|
|
112
|
+
### `.bg-tertiary-100`
|
|
113
|
+
|
|
114
|
+
Sets the `background` property to `var(--graupl-theme-active--tertiary--100)`.
|
|
115
|
+
|
|
116
|
+
### `.bg-tertiary-200`
|
|
117
|
+
|
|
118
|
+
Sets the `background` property to `var(--graupl-theme-active--tertiary--200)`.
|
|
119
|
+
|
|
120
|
+
### `.bg-tertiary-300`
|
|
121
|
+
|
|
122
|
+
Sets the `background` property to `var(--graupl-theme-active--tertiary--300)`.
|
|
123
|
+
|
|
124
|
+
### `.bg-tertiary-400`
|
|
125
|
+
|
|
126
|
+
Sets the `background` property to `var(--graupl-theme-active--tertiary--400)`.
|
|
127
|
+
|
|
128
|
+
### `.bg-tertiary-500`
|
|
129
|
+
|
|
130
|
+
Sets the `background` property to `var(--graupl-theme-active--tertiary--500)`.
|
|
131
|
+
|
|
132
|
+
### `.bg-tertiary-600`
|
|
133
|
+
|
|
134
|
+
Sets the `background` property to `var(--graupl-theme-active--tertiary--600)`.
|
|
135
|
+
|
|
136
|
+
### `.bg-tertiary-700`
|
|
137
|
+
|
|
138
|
+
Sets the `background` property to `var(--graupl-theme-active--tertiary--700)`.
|
|
139
|
+
|
|
140
|
+
### `.bg-tertiary-800`
|
|
141
|
+
|
|
142
|
+
Sets the `background` property to `var(--graupl-theme-active--tertiary--800)`.
|
|
143
|
+
|
|
144
|
+
### `.bg-tertiary-900`
|
|
145
|
+
|
|
146
|
+
Sets the `background` property to `var(--graupl-theme-active--tertiary--900)`.
|
|
147
|
+
|
|
148
|
+
### `.bg-inherit`
|
|
149
|
+
|
|
150
|
+
Sets the `background` property to `inherit`.
|
|
151
|
+
|
|
152
|
+
### `.bg-current`
|
|
153
|
+
|
|
154
|
+
Sets the `background` property to `currentColor`.
|
|
155
|
+
|
|
156
|
+
### `.bg-transparent`
|
|
157
|
+
|
|
158
|
+
Sets the `background` property to `transparent`.
|
|
159
|
+
|
|
160
|
+
## Text Color
|
|
161
|
+
|
|
162
|
+
| Class Name | Property | Value |
|
|
163
|
+
| --- | --- | --- |
|
|
164
|
+
| [`.text-primary-100`](#text-primary-100) | `color` | `var(--graupl-theme-active--primary--100)` |
|
|
165
|
+
| [`.text-primary-200`](#text-primary-200) | `color` | `var(--graupl-theme-active--primary--200)` |
|
|
166
|
+
| [`.text-primary-300`](#text-primary-300) | `color` | `var(--graupl-theme-active--primary--300)` |
|
|
167
|
+
| [`.text-primary-400`](#text-primary-400) | `color` | `var(--graupl-theme-active--primary--400)` |
|
|
168
|
+
| [`.text-primary-500`](#text-primary-500) | `color` | `var(--graupl-theme-active--primary--500)` |
|
|
169
|
+
| [`.text-primary-600`](#text-primary-600) | `color` | `var(--graupl-theme-active--primary--600)` |
|
|
170
|
+
| [`.text-primary-700`](#text-primary-700) | `color` | `var(--graupl-theme-active--primary--700)` |
|
|
171
|
+
| [`.text-primary-800`](#text-primary-800) | `color` | `var(--graupl-theme-active--primary--800)` |
|
|
172
|
+
| [`.text-primary-900`](#text-primary-900) | `color` | `var(--graupl-theme-active--primary--900)` |
|
|
173
|
+
| [`.text-secondary-100`](#text-secondary-100) | `color` | `var(--graupl-theme-active--secondary--100)` |
|
|
174
|
+
| [`.text-secondary-200`](#text-secondary-200) | `color` | `var(--graupl-theme-active--secondary--200)` |
|
|
175
|
+
| [`.text-secondary-300`](#text-secondary-300) | `color` | `var(--graupl-theme-active--secondary--300)` |
|
|
176
|
+
| [`.text-secondary-400`](#text-secondary-400) | `color` | `var(--graupl-theme-active--secondary--400)` |
|
|
177
|
+
| [`.text-secondary-500`](#text-secondary-500) | `color` | `var(--graupl-theme-active--secondary--500)` |
|
|
178
|
+
| [`.text-secondary-600`](#text-secondary-600) | `color` | `var(--graupl-theme-active--secondary--600)` |
|
|
179
|
+
| [`.text-secondary-700`](#text-secondary-700) | `color` | `var(--graupl-theme-active--secondary--700)` |
|
|
180
|
+
| [`.text-secondary-800`](#text-secondary-800) | `color` | `var(--graupl-theme-active--secondary--800)` |
|
|
181
|
+
| [`.text-secondary-900`](#text-secondary-900) | `color` | `var(--graupl-theme-active--secondary--900)` |
|
|
182
|
+
| [`.text-tertiary-100`](#text-tertiary-100) | `color` | `var(--graupl-theme-active--tertiary--100)` |
|
|
183
|
+
| [`.text-tertiary-200`](#text-tertiary-200) | `color` | `var(--graupl-theme-active--tertiary--200)` |
|
|
184
|
+
| [`.text-tertiary-300`](#text-tertiary-300) | `color` | `var(--graupl-theme-active--tertiary--300)` |
|
|
185
|
+
| [`.text-tertiary-400`](#text-tertiary-400) | `color` | `var(--graupl-theme-active--tertiary--400)` |
|
|
186
|
+
| [`.text-tertiary-500`](#text-tertiary-500) | `color` | `var(--graupl-theme-active--tertiary--500)` |
|
|
187
|
+
| [`.text-tertiary-600`](#text-tertiary-600) | `color` | `var(--graupl-theme-active--tertiary--600)` |
|
|
188
|
+
| [`.text-tertiary-700`](#text-tertiary-700) | `color` | `var(--graupl-theme-active--tertiary--700)` |
|
|
189
|
+
| [`.text-tertiary-800`](#text-tertiary-800) | `color` | `var(--graupl-theme-active--tertiary--800)` |
|
|
190
|
+
| [`.text-tertiary-900`](#text-tertiary-900) | `color` | `var(--graupl-theme-active--tertiary--900)` |
|
|
191
|
+
| [`.text-inherit`](#text-inherit) | `color` | `inherit` |
|
|
192
|
+
| [`.text-current`](#text-current) | `color` | `currentColor` |
|
|
193
|
+
| [`.text-transparent`](#text-transparent) | `color` | `transparent` |
|
|
194
|
+
|
|
195
|
+
### `.text-primary-100`
|
|
196
|
+
|
|
197
|
+
Sets the `color` property to `var(--graupl-theme-active--primary--100)`.
|
|
198
|
+
|
|
199
|
+
### `.text-primary-200`
|
|
200
|
+
|
|
201
|
+
Sets the `color` property to `var(--graupl-theme-active--primary--200)`.
|
|
202
|
+
|
|
203
|
+
### `.text-primary-300`
|
|
204
|
+
|
|
205
|
+
Sets the `color` property to `var(--graupl-theme-active--primary--300)`.
|
|
206
|
+
|
|
207
|
+
### `.text-primary-400`
|
|
208
|
+
|
|
209
|
+
Sets the `color` property to `var(--graupl-theme-active--primary--400)`.
|
|
210
|
+
|
|
211
|
+
### `.text-primary-500`
|
|
212
|
+
|
|
213
|
+
Sets the `color` property to `var(--graupl-theme-active--primary--500)`.
|
|
214
|
+
|
|
215
|
+
### `.text-primary-600`
|
|
216
|
+
|
|
217
|
+
Sets the `color` property to `var(--graupl-theme-active--primary--600)`.
|
|
218
|
+
|
|
219
|
+
### `.text-primary-700`
|
|
220
|
+
|
|
221
|
+
Sets the `color` property to `var(--graupl-theme-active--primary--700)`.
|
|
222
|
+
|
|
223
|
+
### `.text-primary-800`
|
|
224
|
+
|
|
225
|
+
Sets the `color` property to `var(--graupl-theme-active--primary--800)`.
|
|
226
|
+
|
|
227
|
+
### `.text-primary-900`
|
|
228
|
+
|
|
229
|
+
Sets the `color` property to `var(--graupl-theme-active--primary--900)`.
|
|
230
|
+
|
|
231
|
+
### `.text-secondary-100`
|
|
232
|
+
|
|
233
|
+
Sets the `color` property to `var(--graupl-theme-active--secondary--100)`.
|
|
234
|
+
|
|
235
|
+
### `.text-secondary-200`
|
|
236
|
+
|
|
237
|
+
Sets the `color` property to `var(--graupl-theme-active--secondary--200)`.
|
|
238
|
+
|
|
239
|
+
### `.text-secondary-300`
|
|
240
|
+
|
|
241
|
+
Sets the `color` property to `var(--graupl-theme-active--secondary--300)`.
|
|
242
|
+
|
|
243
|
+
### `.text-secondary-400`
|
|
244
|
+
|
|
245
|
+
Sets the `color` property to `var(--graupl-theme-active--secondary--400)`.
|
|
246
|
+
|
|
247
|
+
### `.text-secondary-500`
|
|
248
|
+
|
|
249
|
+
Sets the `color` property to `var(--graupl-theme-active--secondary--500)`.
|
|
250
|
+
|
|
251
|
+
### `.text-secondary-600`
|
|
252
|
+
|
|
253
|
+
Sets the `color` property to `var(--graupl-theme-active--secondary--600)`.
|
|
254
|
+
|
|
255
|
+
### `.text-secondary-700`
|
|
256
|
+
|
|
257
|
+
Sets the `color` property to `var(--graupl-theme-active--secondary--700)`.
|
|
258
|
+
|
|
259
|
+
### `.text-secondary-800`
|
|
260
|
+
|
|
261
|
+
Sets the `color` property to `var(--graupl-theme-active--secondary--800)`.
|
|
262
|
+
|
|
263
|
+
### `.text-secondary-900`
|
|
264
|
+
|
|
265
|
+
Sets the `color` property to `var(--graupl-theme-active--secondary--900)`.
|
|
266
|
+
|
|
267
|
+
### `.text-tertiary-100`
|
|
268
|
+
|
|
269
|
+
Sets the `color` property to `var(--graupl-theme-active--tertiary--100)`.
|
|
270
|
+
|
|
271
|
+
### `.text-tertiary-200`
|
|
272
|
+
|
|
273
|
+
Sets the `color` property to `var(--graupl-theme-active--tertiary--200)`.
|
|
274
|
+
|
|
275
|
+
### `.text-tertiary-300`
|
|
276
|
+
|
|
277
|
+
Sets the `color` property to `var(--graupl-theme-active--tertiary--300)`.
|
|
278
|
+
|
|
279
|
+
### `.text-tertiary-400`
|
|
280
|
+
|
|
281
|
+
Sets the `color` property to `var(--graupl-theme-active--tertiary--400)`.
|
|
282
|
+
|
|
283
|
+
### `.text-tertiary-500`
|
|
284
|
+
|
|
285
|
+
Sets the `color` property to `var(--graupl-theme-active--tertiary--500)`.
|
|
286
|
+
|
|
287
|
+
### `.text-tertiary-600`
|
|
288
|
+
|
|
289
|
+
Sets the `color` property to `var(--graupl-theme-active--tertiary--600)`.
|
|
290
|
+
|
|
291
|
+
### `.text-tertiary-700`
|
|
292
|
+
|
|
293
|
+
Sets the `color` property to `var(--graupl-theme-active--tertiary--700)`.
|
|
294
|
+
|
|
295
|
+
### `.text-tertiary-800`
|
|
296
|
+
|
|
297
|
+
Sets the `color` property to `var(--graupl-theme-active--tertiary--800)`.
|
|
298
|
+
|
|
299
|
+
### `.text-tertiary-900`
|
|
300
|
+
|
|
301
|
+
Sets the `color` property to `var(--graupl-theme-active--tertiary--900)`.
|
|
302
|
+
|
|
303
|
+
### `.text-inherit`
|
|
304
|
+
|
|
305
|
+
Sets the `color` property to `inherit`.
|
|
306
|
+
|
|
307
|
+
### `.text-current`
|
|
308
|
+
|
|
309
|
+
Sets the `color` property to `currentColor`.
|
|
310
|
+
|
|
311
|
+
### `.text-transparent`
|
|
312
|
+
|
|
313
|
+
Sets the `color` property to `transparent`.
|
|
314
|
+
|
|
315
|
+
## Customization
|
|
316
|
+
|
|
317
|
+
To customize the color utilities, you can use the following variables.
|
|
318
|
+
|
|
319
|
+
| Variable | Default Value | Description |
|
|
320
|
+
| --- | --- | --- |
|
|
321
|
+
| `$selector-base` | `"."` | The base selector for the utility classes. |
|
|
322
|
+
| `$use-important` | `true` | A flag to determine if the `!important` flag should be added to the utility classes. |
|
|
323
|
+
| `$screen-aware` | `false` | A flag to generate screen-aware utility classes. |
|
|
324
|
+
| `$theme-aware` | `true` | A flag to generate theme-aware utility classes. |
|
|
325
|
+
| `$state-aware` | `true` | A flag to generate state-aware utility classes. |
|
|
326
|
+
| `$screen-aware-separator` | `:` | The separator for screen-aware utility classes. |
|
|
327
|
+
| `$theme-aware-separator` | `:` | The separator for theme-aware utility classes. |
|
|
328
|
+
| `$state-aware-separator` | `:` | The separator for state-aware utility classes. |
|
|
329
|
+
| `$background-selector-prefix` | `bg-` | The prefix for the background utility classes. |
|
|
330
|
+
| `$custom-background-properties` | `()` | The custom properties and values for the background utility classes. |
|
|
331
|
+
| `$text-selector-prefix` | `text-` | The prefix for the text utility classes. |
|
|
332
|
+
| `$custom-text-properties` | `()` | The custom properties and values for text utility classes. |
|
|
333
|
+
|
|
334
|
+
## Responsive variants
|
|
335
|
+
|
|
336
|
+
To generate responsive alignment utilities, you can set the `$screen-aware`, `$theme-aware`, or `$state-aware` variables to `true`.
|
|
337
|
+
|
|
338
|
+
By default, theme-aware and state-aware utility classes are generated.
|
|
339
|
+
|
|
340
|
+
::: tip :pencil2: Note
|
|
341
|
+
For more information on responsive variants, refer to the [Responsive utility classes](./responsive-classes) documentation.
|
|
342
|
+
:::
|