Merge pull request #745 from tailwindcss/use-theme-bold-for-strong

Use configured bold for strong tags
This commit is contained in:
Adam Wathan 2019-03-12 20:01:02 -04:00 • committed by GitHub
commit 7f30791371
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 0 deletions

View file

@ -506,6 +506,16 @@ textarea {
color: inherit;
}
/**
* Use the configured 'bold' weight for `strong` elements
* by default, falling back to 'bolder' (as per normalize.css)
* if there is no configured 'bold' weight.
*/
strong {
font-weight: 700;
}
.container {
width: 100%;
}

View file

@ -506,6 +506,16 @@ textarea {
color: inherit;
}
/**
* Use the configured 'bold' weight for `strong` elements
* by default, falling back to 'bolder' (as per normalize.css)
* if there is no configured 'bold' weight.
*/
strong {
font-weight: 700;
}
.container {
width: 100%;
}

View file

@ -151,3 +151,13 @@ textarea {
line-height: inherit;
color: inherit;
}
/**
* Use the configured 'bold' weight for `strong` elements
* by default, falling back to 'bolder' (as per normalize.css)
* if there is no configured 'bold' weight.
*/
strong {
font-weight: theme('fontWeight.bold', bolder);
}