Replies: 1 comment 1 reply
-
Hey! It's totally fine to just override that rule and assign it a variable yourself like you've done. The Preflight styles aren't there to enable customization, it's just to normalize the value across all browsers because there are inconsistencies from browser to browser. It's totally idiomatic Tailwind to do something like this: @import "tailwindcss";
@layer base {
strong, b {
font-weight: var(--font-weight-medium);
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently
<b>
and<strong>
is set tofont-weight: bolder
by Tailwind. The value cant be change without being overridden:Results in:
It would be great if this uses a variable instead that can be overridden.
Related: #13513
Beta Was this translation helpful? Give feedback.
All reactions