feat: editor-styles
This commit is contained in:
35
wp-content/themes/headless/app/assets/css/prose.css
Normal file
35
wp-content/themes/headless/app/assets/css/prose.css
Normal file
@@ -0,0 +1,35 @@
|
||||
@utility prose {
|
||||
/* Font size */
|
||||
@apply text-lg;
|
||||
|
||||
/* Headings (allow class overrides) */
|
||||
h1:not([class*="heading-"]) {
|
||||
@apply heading-1;
|
||||
}
|
||||
h2:not([class*="heading-"]) {
|
||||
@apply heading-2;
|
||||
}
|
||||
h3:not([class*="heading-"]) {
|
||||
@apply heading-3;
|
||||
}
|
||||
h4:not([class*="heading-"]) {
|
||||
@apply heading-4;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
@apply links:link-underline;
|
||||
|
||||
/* Lists */
|
||||
ol:not([class*="list-"]) {
|
||||
@apply list-ordered;
|
||||
}
|
||||
ul:not([class*="list-"]) {
|
||||
@apply list-unordered;
|
||||
}
|
||||
|
||||
/* Spacing */
|
||||
@apply space-y-3;
|
||||
|
||||
/* WordPress */
|
||||
@apply wordpress;
|
||||
}
|
||||
Reference in New Issue
Block a user