mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2025-09-18 21:07:48 +02:00
12 lines
214 B
SCSS
12 lines
214 B
SCSS
@import "./../abstracts/variables";
|
|
|
|
|
|
@function get-color-accessible-for-background($color) {
|
|
@if (lightness( $color ) > 50) {
|
|
@return darken($color, 60%)
|
|
}
|
|
@else {
|
|
@return lighten($color, 60%)
|
|
}
|
|
}
|