Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNudasoft <30935025+Nudasoft@users.noreply.github.com>2022-02-17 22:20:44 +0300
committerGitHub <noreply@github.com>2022-02-17 22:20:44 +0300
commit999bfaa036cb886389050db3645d74dfede0d2e8 (patch)
tree5ac618efd9b1ec10fe9c42a451f14fcb689e94b5
parent5565c64bde8a203560c596c67eebb7a6f2fed412 (diff)
Add !important property to colored links. (#35740)
* Add !important property to colored links. * Apply suggestions from code review Co-authored-by: Mark Otto <otto@github.com>
-rw-r--r--scss/helpers/_colored-links.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/helpers/_colored-links.scss b/scss/helpers/_colored-links.scss
index 8c167dedf5..1cb4182801 100644
--- a/scss/helpers/_colored-links.scss
+++ b/scss/helpers/_colored-links.scss
@@ -1,11 +1,11 @@
@each $color, $value in $theme-colors {
.link-#{$color} {
- color: $value;
+ color: $value !important; // stylelint-disable-line declaration-no-important
@if $link-shade-percentage != 0 {
&:hover,
&:focus {
- color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage));
+ color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage)) !important; // stylelint-disable-line declaration-no-important
}
}
}