mirror of
https://github.com/CoderSherlock/CoderSherlock.github.io.git
synced 2026-06-13 08:08:10 -07:00
Updated to new theme of TeXt
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
@function get-color-theme($color) {
|
||||
@if lightness($color) < 15% {
|
||||
@return "dark";
|
||||
} @else {
|
||||
@return "light";
|
||||
}
|
||||
}
|
||||
|
||||
@function breakpoint-infix($name, $breakpoints: default) {
|
||||
@if $breakpoints == default {
|
||||
$breakpoints: $responsive;
|
||||
}
|
||||
$min: map-get($breakpoints, $name);
|
||||
@return if($min != 0, "#{$name}-", "");
|
||||
}
|
||||
Reference in New Issue
Block a user