feat: TinyMCE WYSIWYG editor styles

This commit is contained in:
2026-01-13 22:43:25 -05:00
parent 40becf1135
commit 8e26f19f66
8 changed files with 133 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
@import "tailwindcss";
@import "tailwindcss" theme(static) source("../../..");
@import "@nuxt/ui";
@import "./a11y.css";
@@ -6,3 +6,5 @@
@import "./links.css";
@import "./prose.css";
@import "./typography.css";
@import "./vendors/tinymce.css";

View File

@@ -9,7 +9,7 @@
@apply links:link-underline;
/* Paragraphs */
p:not([class*="paragraph-"]) { @apply paragraph-lg; }
p:not([class*="paragraph-"]) { @apply paragraph-base; }
/* Spacing */
@apply space-y-2;

View File

@@ -7,7 +7,4 @@
/* Paragraph styles */
@utility paragraph-base { @apply font-sans; }
@utility paragraph-sm { @apply paragraph-base text-sm; }
@utility paragraph-md { @apply paragraph-base text-base; }
@utility paragraph-lg { @apply paragraph-base text-lg; }
@utility paragraph-xl { @apply paragraph-base text-2xl; }
@utility paragraph-lead { @apply paragraph-base text-2xl; }

View File

@@ -0,0 +1,3 @@
body#tinymce {
@apply prose;
}