@lax-wp/design-system 0.9.13 → 0.9.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.es.js +6 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -73771,16 +73771,17 @@ const Bne = {
|
|
|
73771
73771
|
ref: i,
|
|
73772
73772
|
className: z(
|
|
73773
73773
|
"markdown-preview prose prose-sm dark:prose-invert max-w-none",
|
|
73774
|
-
// Headings - consistent spacing
|
|
73775
|
-
"[&_h1]:text-2xl [&_h1]:font-bold [&_h1]:my-1 [&_h1]:leading-7",
|
|
73776
|
-
"[&_h2]:text-xl [&_h2]:font-bold [&_h2]:my-1 [&_h2]:leading-7",
|
|
73777
|
-
"[&_h3]:text-lg [&_h3]:font-semibold [&_h3]:my-1 [&_h3]:leading-6",
|
|
73774
|
+
// Headings - consistent spacing, inherit color so className overrides work
|
|
73775
|
+
"[&_h1]:text-2xl [&_h1]:font-bold [&_h1]:my-1 [&_h1]:leading-7 [&_h1]:text-inherit",
|
|
73776
|
+
"[&_h2]:text-xl [&_h2]:font-bold [&_h2]:my-1 [&_h2]:leading-7 [&_h2]:text-inherit",
|
|
73777
|
+
"[&_h3]:text-lg [&_h3]:font-semibold [&_h3]:my-1 [&_h3]:leading-6 [&_h3]:text-inherit",
|
|
73778
|
+
"[&_h4]:text-inherit [&_h5]:text-inherit [&_h6]:text-inherit",
|
|
73778
73779
|
// Paragraphs
|
|
73779
73780
|
"[&_p]:my-1 [&_p]:text-sm [&_p]:font-medium [&_p]:leading-6",
|
|
73780
73781
|
// Lists - conditional indentation
|
|
73781
73782
|
a ? "[&_ul]:list-disc [&_ul]:ml-0 [&_ul]:pl-6 [&_ul]:space-y-1 [&_ul]:my-1" : "[&_ul]:list-disc [&_ul]:ml-8 [&_ul]:space-y-1 [&_ul]:my-1",
|
|
73782
73783
|
a ? "[&_ol]:list-decimal [&_ol]:ml-0 [&_ol]:pl-6 [&_ol]:space-y-1 [&_ol]:my-1" : "[&_ol]:list-decimal [&_ol]:ml-8 [&_ol]:space-y-1 [&_ol]:my-1",
|
|
73783
|
-
"[&_li]:mb-0 [&_li]:text-sm [&_li]:font-medium [&_li]:leading-5",
|
|
73784
|
+
"[&_li]:mb-0 [&_li]:text-sm [&_li]:font-medium [&_li]:leading-5 [&_li::marker]:text-inherit",
|
|
73784
73785
|
a ? "[&_li]:pl-2" : "",
|
|
73785
73786
|
// Task list items (checkboxes) - hide bullets and adjust spacing
|
|
73786
73787
|
"[&_li:has(input[type='checkbox'])]:list-none",
|