1
0
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:
Martijn Cuppens
2019-08-17 20:19:00 +02:00
parent a5cbb5e71a
commit 19ee63ad25
18 changed files with 91 additions and 95 deletions

View 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);
}
}
}
}

View File

@@ -1,5 +1,5 @@
//
// Text
// Text truncation
//
.text-truncate {