mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
fix: make bold text inherit parent color
For example, given the following HTML: <p class="text-primary-500"><strong>Hello</strong> world</p> The rendered result shows `Hello` in the neutral color, while `world` is rendered in the primary color. This change applies `color: inherit` to bold text so that both uses the primary color.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user