@blockbite/tailwind 3.4.12 → 3.4.14
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/dist/___index copy.d.ts +7 -0
- package/dist/___index copy.js +9 -0
- package/dist/aspect-ratio.d.ts +1 -0
- package/dist/aspect-ratio.js +6 -0
- package/dist/colors.d.ts +8 -0
- package/dist/colors.js +65 -0
- package/dist/components/anchor-position.d.ts +3 -0
- package/dist/components/anchor-position.js +99 -0
- package/dist/components/fluid-container.d.ts +4 -0
- package/dist/components/fluid-container.js +29 -0
- package/dist/components/grid-container.d.ts +5 -0
- package/dist/components/grid-container.js +34 -0
- package/dist/components/interaction.d.ts +3 -0
- package/dist/components/interaction.js +35 -0
- package/dist/components/swiper.d.ts +3 -0
- package/dist/components/swiper.js +13 -0
- package/dist/container.d.ts +8 -0
- package/dist/container.js +10 -0
- package/dist/gridarea/index.d.ts +2 -0
- package/dist/gridarea/index.js +7 -0
- package/dist/gridarea/utilities/area-dimensions.d.ts +3 -0
- package/dist/gridarea/utilities/area-dimensions.js +22 -0
- package/dist/gridarea/utilities/grid-area.d.ts +5 -0
- package/dist/gridarea/utilities/grid-area.js +46 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +32 -0
- package/dist/plugins/viewport-dimensions.d.ts +2 -0
- package/dist/plugins/viewport-dimensions.js +25 -0
- package/dist/screens.d.ts +5 -0
- package/dist/screens.js +10 -0
- package/dist/spacing.d.ts +6 -0
- package/dist/spacing.js +201 -0
- package/dist/theme-parser.d.ts +21 -0
- package/dist/theme-parser.js +68 -0
- package/package.json +26 -4
- package/CHANGELOG.md +0 -49
- package/components/anchor-position.js +0 -110
- package/components/fluid-container.js +0 -34
- package/components/grid-container.js +0 -37
- package/components/interaction.js +0 -37
- package/components/swiper.js +0 -13
- package/deprecated/fluid-container-aside.js +0 -48
- package/deprecated/fluid-container-half.js +0 -48
- package/dist/assets/index-BUymJr41.js +0 -74
- package/dist/assets/index-iiB8K1As.css +0 -1
- package/dist/index.html +0 -23
- package/gridarea/index.js +0 -6
- package/gridarea/utilities/area-dimensions.js +0 -13
- package/gridarea/utilities/grid-area.js +0 -51
- package/index.d.ts +0 -17
- package/index.html +0 -46
- package/index.js +0 -30
- package/lib/aspect-ratio.js +0 -6
- package/lib/colors.js +0 -58
- package/lib/container.js +0 -10
- package/lib/screens.js +0 -13
- package/lib/spacing.js +0 -215
- package/lib/theme-parser.js +0 -83
- package/motion/index.js +0 -17
- package/motion/theme.js +0 -174
- package/motion/utilities/delay.js +0 -11
- package/motion/utilities/direction.js +0 -15
- package/motion/utilities/duration.js +0 -11
- package/motion/utilities/fillMode.js +0 -15
- package/motion/utilities/iterationCount.js +0 -15
- package/motion/utilities/offset.js +0 -11
- package/motion/utilities/playState.js +0 -15
- package/motion/utilities/timingFunction.js +0 -15
- package/plugins/viewport-dimensions.js +0 -33
- package/postcss.config.js +0 -6
- package/tailwind.config.js +0 -18
- package/theme-example.json +0 -329
- package/themecolors/index.js +0 -65
- package/vite.css +0 -8
- package/vite.js +0 -64
package/theme-example.json
DELETED
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://schemas.wp.org/wp/6.2/theme.json",
|
|
3
|
-
"settings": {
|
|
4
|
-
"appearanceTools": true,
|
|
5
|
-
"layout": {
|
|
6
|
-
"contentSize": "960px",
|
|
7
|
-
"wideSize": "1440px"
|
|
8
|
-
},
|
|
9
|
-
"color": {
|
|
10
|
-
"palette": [
|
|
11
|
-
{
|
|
12
|
-
"slug": "primary-light",
|
|
13
|
-
"color": "#E9F4FF",
|
|
14
|
-
"name": "primary-light"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"slug": "primary",
|
|
18
|
-
"color": "#7152EC",
|
|
19
|
-
"name": "primary"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"slug": "primary-medium",
|
|
23
|
-
"color": "#559ADF",
|
|
24
|
-
"name": "primary-medium"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"slug": "primary-dark",
|
|
28
|
-
"color": "#1B389F",
|
|
29
|
-
"name": "primary-dark"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"slug": "secondary",
|
|
33
|
-
"color": "#FF0000",
|
|
34
|
-
"name": "secondary"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"slug": "secondary-dark",
|
|
38
|
-
"color": "#5C1E1E",
|
|
39
|
-
"name": "secondary-dark"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"slug": "black",
|
|
43
|
-
"color": "#1E2E36",
|
|
44
|
-
"name": "black"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"slug": "white",
|
|
48
|
-
"color": "#FFF",
|
|
49
|
-
"name": "white"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
"spacing": {
|
|
54
|
-
|
|
55
|
-
"spacingScale": {
|
|
56
|
-
"steps": 0
|
|
57
|
-
},
|
|
58
|
-
"spacingSizes": [
|
|
59
|
-
{
|
|
60
|
-
"size": "0px",
|
|
61
|
-
"slug": "0",
|
|
62
|
-
"name": "0"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"size": "clamp(16px, 1vw, 32px);",
|
|
66
|
-
"slug": "1",
|
|
67
|
-
"name": "1"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"size": "clamp(32px, 1vw, 48px);",
|
|
71
|
-
"slug": "2",
|
|
72
|
-
"name": "2"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"size": "clamp(40px, 1vw, 50px);",
|
|
76
|
-
"slug": "3",
|
|
77
|
-
"name": "3"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"size": "clamp(64px, 1vw, 80px);",
|
|
81
|
-
"slug": "4",
|
|
82
|
-
"name": "4"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"size": "clamp(128px, 1vw, 144px);",
|
|
86
|
-
"slug": "5",
|
|
87
|
-
"name": "5"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"size": "clamp(144px, 1vw, 164px);",
|
|
91
|
-
"slug": "6",
|
|
92
|
-
"name": "6"
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
"blockGap": true,
|
|
96
|
-
"margin": true,
|
|
97
|
-
"padding": true,
|
|
98
|
-
"units": [
|
|
99
|
-
"%",
|
|
100
|
-
"px",
|
|
101
|
-
"em",
|
|
102
|
-
"rem",
|
|
103
|
-
"vh",
|
|
104
|
-
"vw"
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
"typography": {
|
|
108
|
-
"fluid": true,
|
|
109
|
-
"lineHeight": true,
|
|
110
|
-
"fontWeight": true,
|
|
111
|
-
"fontStyle": false,
|
|
112
|
-
"fontFamilies": [
|
|
113
|
-
{
|
|
114
|
-
"fontFamily": "\"TitilliumWeb\", sans",
|
|
115
|
-
"name": "TitilliumWeb",
|
|
116
|
-
"slug": "expressive",
|
|
117
|
-
"fontFace": [
|
|
118
|
-
{
|
|
119
|
-
"fontFamily": "TitilliumWeb",
|
|
120
|
-
"fontWeight": "700",
|
|
121
|
-
"fontStyle": "normal",
|
|
122
|
-
"fontStretch": "normal",
|
|
123
|
-
"src": [ "file:./resources/fonts/TitilliumWeb-Bold.woff2" ]
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"fontFamily": "TitilliumWeb",
|
|
127
|
-
"fontWeight": "600",
|
|
128
|
-
"fontStyle": "medium",
|
|
129
|
-
"fontStretch": "normal",
|
|
130
|
-
"src": [ "file:./resources/fonts/TitilliumWeb-SemiBold.woff2" ]
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"fontFamily": "TitilliumWeb",
|
|
134
|
-
"fontWeight": "400",
|
|
135
|
-
"fontStyle": "normal",
|
|
136
|
-
"fontStretch": "normal",
|
|
137
|
-
"src": [ "file:./resources/fonts/TitilliumWeb-Regular.woff2" ]
|
|
138
|
-
}
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"fontFamily": "\"Inter\", sans",
|
|
143
|
-
"name": "Inter",
|
|
144
|
-
"slug": "productive",
|
|
145
|
-
"fontFace": [
|
|
146
|
-
{
|
|
147
|
-
"fontFamily": "Inter",
|
|
148
|
-
"fontWeight": "400",
|
|
149
|
-
"fontStyle": "normal",
|
|
150
|
-
"fontStretch": "normal",
|
|
151
|
-
"src": [ "file:./resources/fonts/Inter-Regular.woff2" ]
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"fontFamily": "Inter",
|
|
155
|
-
"fontWeight": "600",
|
|
156
|
-
"fontStyle": "bold",
|
|
157
|
-
"fontStretch": "normal",
|
|
158
|
-
"src": [ "file:./resources/fonts/Inter-Medium.woff2" ]
|
|
159
|
-
}
|
|
160
|
-
]
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
"fontSizes": [
|
|
164
|
-
{
|
|
165
|
-
"name": "Tiny",
|
|
166
|
-
"slug": "tiny",
|
|
167
|
-
"size": "0.9rem",
|
|
168
|
-
"fluid": {
|
|
169
|
-
"min": "0.8rem",
|
|
170
|
-
"max": "1rem"
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"name": "Small",
|
|
175
|
-
"slug": "small",
|
|
176
|
-
"size": "1rem",
|
|
177
|
-
"fluid": {
|
|
178
|
-
"min": "1rem",
|
|
179
|
-
"max": "1.1rem"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"name": "Standard",
|
|
184
|
-
"slug": "standard",
|
|
185
|
-
"size": "1.2rem",
|
|
186
|
-
"fluid": {
|
|
187
|
-
"min": "1.2rem",
|
|
188
|
-
"max": "1.3rem"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"name": "Standard XL",
|
|
193
|
-
"slug": "standard-xl",
|
|
194
|
-
"size": "1.5rem",
|
|
195
|
-
"fluid": {
|
|
196
|
-
"min": "1.5rem",
|
|
197
|
-
"max": "1.6rem"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"name": "Medium",
|
|
202
|
-
"slug": "medium",
|
|
203
|
-
"size": "1.8rem",
|
|
204
|
-
"fluid": {
|
|
205
|
-
"min": "1.4rem",
|
|
206
|
-
"max": "2.2rem"
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"name": "Large",
|
|
211
|
-
"slug": "large",
|
|
212
|
-
"size": "2.2rem",
|
|
213
|
-
"fluid": {
|
|
214
|
-
"min": "1.6rem",
|
|
215
|
-
"max": "2.6rem"
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"size": "2.6rem",
|
|
220
|
-
"fluid": {
|
|
221
|
-
"min": "1.8rem",
|
|
222
|
-
"max": "3.4rem"
|
|
223
|
-
},
|
|
224
|
-
"slug": "huge",
|
|
225
|
-
"name": "Huge"
|
|
226
|
-
},
|
|
227
|
-
|
|
228
|
-
{
|
|
229
|
-
"name": "Gigantic",
|
|
230
|
-
"slug": "gigantic",
|
|
231
|
-
"size": "3.8rem",
|
|
232
|
-
"fluid": {
|
|
233
|
-
"min": "2.8rem",
|
|
234
|
-
"max": "4.5rem"
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
]
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
"templateParts": [
|
|
241
|
-
{
|
|
242
|
-
"area": "header",
|
|
243
|
-
"name": "header"
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"area": "footer",
|
|
247
|
-
"name": "footer"
|
|
248
|
-
}
|
|
249
|
-
],
|
|
250
|
-
"version": 2,
|
|
251
|
-
"styles": {
|
|
252
|
-
"typography": {
|
|
253
|
-
"fontFamily": "Inter",
|
|
254
|
-
"fontWeight": "300",
|
|
255
|
-
"lineHeight": "1.5",
|
|
256
|
-
"fontSize": "20px"
|
|
257
|
-
},
|
|
258
|
-
"elements": {
|
|
259
|
-
"link":{
|
|
260
|
-
"typography":{
|
|
261
|
-
"textDecoration":"false"
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
"spacing": {
|
|
266
|
-
"blockGap": "0.5rem"
|
|
267
|
-
},
|
|
268
|
-
"blocks": {
|
|
269
|
-
"core/heading": {
|
|
270
|
-
"typography": {
|
|
271
|
-
"fontSize":"var(--wp--preset--font-size--standard-xl)",
|
|
272
|
-
"fontFamily": "var(--wp--preset--font-family--expressive)",
|
|
273
|
-
"fontWeight": "600",
|
|
274
|
-
"lineHeight": "1.25"
|
|
275
|
-
},
|
|
276
|
-
"spacing": {
|
|
277
|
-
"margin": {
|
|
278
|
-
"top": "var(--wp--preset--spacing--1)",
|
|
279
|
-
"bottom": "var(--wp--preset--spacing--1)"
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
"blockbite/section": {
|
|
284
|
-
"spacing": {
|
|
285
|
-
"padding": {
|
|
286
|
-
"top": "var(--wp--preset--spacing--2)",
|
|
287
|
-
"bottom": "var(--wp--preset--spacing--2)"
|
|
288
|
-
},
|
|
289
|
-
"margin": {
|
|
290
|
-
"top": "var(--wp--preset--spacing--0)",
|
|
291
|
-
"bottom": "var(--wp--preset--spacing--0)"
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
"blockbite/advanced-button": {
|
|
296
|
-
"spacing": {
|
|
297
|
-
"margin": {
|
|
298
|
-
"top": "var(--wp--preset--spacing--1)",
|
|
299
|
-
"bottom": "var(--wp--preset--spacing--1)"
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
"core/columns": {
|
|
304
|
-
"spacing": {
|
|
305
|
-
"margin": {
|
|
306
|
-
"top": "var(--wp--preset--spacing--0 )",
|
|
307
|
-
"bottom": "var(--wp--preset--spacing--0 )"
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
"core/column": {
|
|
312
|
-
"spacing": {
|
|
313
|
-
"padding": {
|
|
314
|
-
"top": "var(--wp--preset--spacing--1 )",
|
|
315
|
-
"bottom": "var(--wp--preset--spacing--1 )"
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
"core/paragraph": {
|
|
320
|
-
"spacing": {
|
|
321
|
-
"margin": {
|
|
322
|
-
"top": "0.5rem",
|
|
323
|
-
"bottom": "0.5rem"
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
package/themecolors/index.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
const plugin = require('tailwindcss/plugin');
|
|
2
|
-
|
|
3
|
-
function flattenColorPalette(colors, prefix = '') {
|
|
4
|
-
return Object.entries(colors).flatMap(([key, value]) => {
|
|
5
|
-
const name = prefix ? `${prefix}-${key}` : key;
|
|
6
|
-
if (typeof value === 'string') {
|
|
7
|
-
return [[name, value]];
|
|
8
|
-
}
|
|
9
|
-
return flattenColorPalette(value, name);
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
module.exports = plugin(({ addUtilities, theme, e }) => {
|
|
14
|
-
const colors = theme('colors');
|
|
15
|
-
|
|
16
|
-
const flatColors = flattenColorPalette(colors);
|
|
17
|
-
|
|
18
|
-
const themedVarMap = {
|
|
19
|
-
bg: '--theme-bg',
|
|
20
|
-
text: '--theme-text',
|
|
21
|
-
border: '--theme-border',
|
|
22
|
-
fill: '--theme-fill',
|
|
23
|
-
stroke: '--theme-stroke',
|
|
24
|
-
ring: '--theme-ring',
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const themedUtilities = flatColors.flatMap(([name, value]) => {
|
|
28
|
-
return Object.entries(themedVarMap).map(([type, cssVar]) => {
|
|
29
|
-
return {
|
|
30
|
-
[`.b_theme-${type}-${e(name)}`]: {
|
|
31
|
-
[cssVar]: value,
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
const applyThemeClasses = {
|
|
38
|
-
'.bg-b_theme': {
|
|
39
|
-
'background-color': 'var(--theme-bg)',
|
|
40
|
-
},
|
|
41
|
-
'.text-b_theme': {
|
|
42
|
-
color: 'var(--theme-text)',
|
|
43
|
-
},
|
|
44
|
-
'.border-b_theme': {
|
|
45
|
-
'border-color': 'var(--theme-border)',
|
|
46
|
-
},
|
|
47
|
-
'.fill-b_theme': {
|
|
48
|
-
fill: 'var(--theme-fill)',
|
|
49
|
-
},
|
|
50
|
-
'.stroke-b_theme': {
|
|
51
|
-
stroke: 'var(--theme-stroke)',
|
|
52
|
-
},
|
|
53
|
-
'.ring-b_theme': {
|
|
54
|
-
'--tw-ring-color': 'var(--theme-ring)',
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
addUtilities(themedUtilities, {
|
|
59
|
-
variants: ['responsive', 'hover', 'focus'],
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
addUtilities(applyThemeClasses, {
|
|
63
|
-
variants: ['responsive', 'hover', 'focus'],
|
|
64
|
-
});
|
|
65
|
-
});
|
package/vite.css
DELETED
package/vite.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import './vite.css';
|
|
2
|
-
document.querySelector('#app').innerHTML = `
|
|
3
|
-
<div style="--b_full:100%;">
|
|
4
|
-
<div class="w-full h-[500px] grid b_grid-area-64 bg-red-200">
|
|
5
|
-
<h1 class="bg-yellow-200 b_area md:b_area-x-6 md:b_area-y-4 md:b_area-w-14 md:b_area-h-14">Grid area </h1>
|
|
6
|
-
</div>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<div class="w-full h-[500px] grid b_grid-area-64 bg-red-200">
|
|
10
|
-
<h1 class="bg-yellow-200 b_area-[1-1-20-40]">Grid area !</h1>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
<div class="container bg-red-yellow-200 my-4 mx-auto">
|
|
14
|
-
<h4 class="border-red-200 text-4xl border border-red-200 h-[300px]">container tailwind</h4>
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<div class="b_container-fluid bg-red-yellow-200 my-4">
|
|
19
|
-
<h4 class="border-red-200 text-4xl border border-red-200 h-[300px]">container fluid</h4>
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div class="b_grid-container bg-red-yellow-200 my-4 h-[300px]">
|
|
23
|
-
<h4 class="border border-red-200 text-4xl col-span-12 col-start-2">container grid</h4>
|
|
24
|
-
</div>
|
|
25
|
-
|
|
26
|
-
<div class="b_grid-container bg-red-yellow-200 my-4 h-[300px]">
|
|
27
|
-
<h4 class="border border-red-200 text-4xl col-span-7 col-start-1">left</h4>
|
|
28
|
-
<p class="border border-red-200 text-4xl col-span-6">right</p>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
<div class="b_grid-container bg-red-yellow-200 my-4 h-[300px]">
|
|
32
|
-
<h4 class="border border-red-200 text-4xl col-span-6 col-start-2">left</h4>
|
|
33
|
-
<p class="border border-red-200 text-4xl col-span-7 col-start-8">right</p>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
<div class="b_grid-container bg-yellow-200 my-4 h-[300px]">
|
|
37
|
-
<h4 class="border bg-red-200 text-4xl col-span-7 col-start-1 row-start-1">left image</h4>
|
|
38
|
-
<h4 class="border border-blue-200 bg-blue-200 bg-opacity-40 text-4xl col-span-6 col-start-2 row-start-1">left text with extra layer</h4>
|
|
39
|
-
<p class="border border-red-200 text-4xl col-span-6">right</p>
|
|
40
|
-
</div>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
<div class="b_grid-container bg-yellow-200 my-4 h-[300px]">
|
|
44
|
-
<h4 class="border bg-red-200 text-4xl col-span-7 col-start-8 row-start-1 text-right">right image</h4>
|
|
45
|
-
<h4 class="border border-blue-200 bg-blue-200 bg-opacity-40 text-4xl col-span-6 col-start-8 row-start-1">left text</h4>
|
|
46
|
-
<p class="border border-red-200 text-4xl col-span-6">left</p>
|
|
47
|
-
</div>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
<div class="b_grid-container bg-yellow-200 my-4 h-[300px] w-full">
|
|
51
|
-
<div class="border bg-red-200 text-4xl col-span-7 col-start-1 row-start-1">
|
|
52
|
-
<h4 class="border border-blue-200 bg-blue-200 bg-opacity-40 text-4xl" style="padding-left:var(--b_fr-size);">left text with --b_fr-size</h4>
|
|
53
|
-
</div>
|
|
54
|
-
|
|
55
|
-
<p class="border border-red-200 text-4xl col-span-6">right</p>
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
|
-
<div class="b_theme-bg-red-500 bg-yellow-300 text-white p-40 text-3xl">
|
|
59
|
-
Works beautifully 🎨
|
|
60
|
-
<div class="bg-b_theme">This should be red from the parent</div>
|
|
61
|
-
</div>
|
|
62
|
-
|
|
63
|
-
</div>
|
|
64
|
-
`;
|