Fix duplicate --bs-emphasis-color
set value
#37809
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
--bs-emphasis-color
is set 2 times inscss/_root.scss
; 1 time with$body-emphasis-color
and 1 time with$emphasis-color
.I supposed that the last is the right one based on what we fixed recently on dark mode (having a white color instead of
$gray-100
) so this PR suggests to have--bs-emphasis-color
based on$emphasis-color
on light mode and$emphasis-color-dark
in dark mode.It means that
$body-emphasis-color
and$body-emphasis-color-dark
become useless and can be dropped.@mdo I let you double-check if the rendering is not broken and if this is the way you thought the Sass/CSS vars. We can keep
$body-emphasis-color*
and remove$emphasis-color*
if that makes more sense to you.Type of changes
Checklist
npm run lint
)Live previews