mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 00:59:51 +02:00
Link helpers & use utility API for all utilities
This commit is contained in:
12
scss/helpers/_colored-links.scss
Normal file
12
scss/helpers/_colored-links.scss
Normal file
@@ -0,0 +1,12 @@
|
||||
@each $color, $value in $theme-colors {
|
||||
.link-#{$color} {
|
||||
color: $value;
|
||||
|
||||
@if $emphasized-link-hover-darken-percentage != 0 {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: darken($value, $emphasized-link-hover-darken-percentage);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// Text
|
||||
// Text truncation
|
||||
//
|
||||
|
||||
.text-truncate {
|
Reference in New Issue
Block a user