Merge pull request #2692 from ZhenShuo2021/fix/bold

🐛 Fix: make bold text inherit parent color
This commit is contained in:
Nuno C.
2026-01-01 23:19:53 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -743,7 +743,7 @@
--tw-prose-headings: rgba(var(--color-neutral-800), 1);
--tw-prose-lead: rgba(var(--color-neutral-500), 1);
--tw-prose-links: rgba(var(--color-primary-600), 1);
--tw-prose-bold: rgba(var(--color-neutral-900), 1);
--tw-prose-bold: inherit;
--tw-prose-counters: rgba(var(--color-neutral-800), 1);
--tw-prose-bullets: rgba(var(--color-neutral-500), 1);
--tw-prose-hr: oklch(92.8% 0.006 264.531);

View File

@@ -65,7 +65,7 @@ module.exports = {
"--tw-prose-headings": theme("colors.neutral.800 / 1"),
"--tw-prose-lead": theme("colors.neutral.500 / 1"),
"--tw-prose-links": theme("colors.primary.600 / 1"),
"--tw-prose-bold": theme("colors.neutral.900 / 1"),
"--tw-prose-bold": "inherit",
"--tw-prose-counters": theme("colors.neutral.800 / 1"),
"--tw-prose-bullets": theme("colors.neutral.500 / 1"),
"--tw-prose-quotes": theme("colors.neutral.700 / 1"),