mirror of
				https://github.com/twbs/bootstrap.git
				synced 2025-11-03 00:09:53 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			326 B
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			326 B
		
	
	
	
		
			SCSS
		
	
	
	
	
	
@each $color, $value in $theme-colors {
 | 
						|
  .link-#{$color} {
 | 
						|
    color: $value;
 | 
						|
 | 
						|
    @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));
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 |