Replies: 1 comment 4 replies
-
You could add a rule in your input CSS like: @tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
strong, b {
font-weight: <your desired value>;
}
} Or have a plugin add the rule: module.exports = {
// …
plugins: [
require('tailwindcss/plugin')(({ addBase }) => {
addBase({
'strong, b': {
fontWeight: 'your desired value',
},
});
}),
],
}; |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I change the default font-weight of
strong
andb
? Tailwind sets it tobolder
and all I can do is add a second style in my personaltailwind.css
.Sorry if it is obvious but I couldnt find this in the docs or by google.
Beta Was this translation helpful? Give feedback.
All reactions