mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 18:26:14 -04:00
Final iOS 18.2 bug fix for [dir=rtl] dropdowns
Added Azure to theme build list
This commit is contained in:
parent
27ccea2e53
commit
130b1cda4e
255 changed files with 22393 additions and 242 deletions
|
@ -54,3 +54,21 @@
|
|||
shadow-layer($box-shadow-elevation, $box-shadow-blur-strength, $box-shadow-opacity, $color),
|
||||
0 0 0 0.0625rem #{rgba($color, ($box-shadow-opacity * 0.25))};
|
||||
}
|
||||
|
||||
// tint-color, shade-color, and shift-color
|
||||
// borrowed from Bootstrap 5.3.3
|
||||
// MIT License github.com/twbs/bootstrap
|
||||
// Tint a color: mix a color with white
|
||||
@function tint-color($color, $weight) {
|
||||
@return mix(white, $color, $weight);
|
||||
}
|
||||
|
||||
// Shade a color: mix a color with black
|
||||
@function shade-color($color, $weight) {
|
||||
@return mix(black, $color, $weight);
|
||||
}
|
||||
|
||||
// Shade the color if the weight is positive, else tint it
|
||||
@function shift-color($color, $weight) {
|
||||
@return if($weight > 0, shade-color($color, $weight), tint-color($color, -$weight));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue