Add base & dark style for prose

This commit is contained in:
Sat Naing
2022-09-11 01:47:22 +06:30
parent bbb4329ec6
commit 201bf357b3
+6
View File
@@ -34,6 +34,12 @@
svg { svg {
@apply w-6 h-6 inline-block fill-skin-base group-hover:fill-skin-accent; @apply w-6 h-6 inline-block fill-skin-base group-hover:fill-skin-accent;
} }
.prose {
@apply prose-a:underline-offset-8 prose-a:!decoration-dashed hover:prose-a:!decoration-solid;
}
.theme-dark .prose {
@apply prose-invert;
}
} }
@layer components { @layer components {