@obosbbl/grunnmuren-tailwind 2.4.12 → 2.5.0
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/package.json +1 -1
- package/tailwind-base.css +4 -0
- package/tailwind-typography.css +8 -0
package/package.json
CHANGED
package/tailwind-base.css
CHANGED
|
@@ -267,6 +267,10 @@
|
|
|
267
267
|
@apply text-[1.4375rem]/[2.25rem] font-medium lg:text-[1.625rem]/[2.5625rem];
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
+
@utility lead-sm {
|
|
271
|
+
@apply text-[1.1875rem]/[1.875rem] font-normal lg:text-[1.375rem]/[2.1875rem];
|
|
272
|
+
}
|
|
273
|
+
|
|
270
274
|
@utility blockquote {
|
|
271
275
|
@apply before:font-display grid grid-cols-[2.6875rem_1fr] pt-4 text-[1.1875rem]/[1.875rem] font-medium italic before:text-[3.5625rem]/[1.5625rem] before:not-italic before:content-["“"] lg:grid-cols-[2.9375rem_1fr] lg:gap-x-[0.375rem] lg:text-[1.3125rem]/[2.125rem] lg:before:text-[3.9375rem]/[1.8125rem];
|
|
272
276
|
}
|
package/tailwind-typography.css
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
));
|
|
10
10
|
@custom-variant prose-lead (&
|
|
11
11
|
:is([class~="lead"]):not(:where([class~="not-prose"], [class~="not-prose"] *)));
|
|
12
|
+
@custom-variant prose-lead-sm (&
|
|
13
|
+
:is([class~="lead-sm"]):not(:where([class~="not-prose"], [class~="not-prose"] *)));
|
|
12
14
|
@custom-variant prose-h1 (&
|
|
13
15
|
:is(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)));
|
|
14
16
|
@custom-variant prose-h2 (&
|
|
@@ -98,6 +100,12 @@
|
|
|
98
100
|
margin-bottom: 1.2em;
|
|
99
101
|
}
|
|
100
102
|
|
|
103
|
+
&:where([class~='lead-sm']) {
|
|
104
|
+
@apply text-[1.1875rem]/[1.875rem] font-normal lg:text-[1.375rem]/[2.1875rem];
|
|
105
|
+
margin-top: 1.2em;
|
|
106
|
+
margin-bottom: 1.2em;
|
|
107
|
+
}
|
|
108
|
+
|
|
101
109
|
&:where(a) {
|
|
102
110
|
color: var(--tw-prose-links);
|
|
103
111
|
text-decoration: underline;
|