From b30413ebae2aa6b086385ed013913b9815703d07 Mon Sep 17 00:00:00 2001 From: A Cottrill Date: Mon, 11 Nov 2024 17:21:47 -0500 Subject: [PATCH] remove light function --- common/color_definitions.scss | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/common/color_definitions.scss b/common/color_definitions.scss index cb0f65d..da9cb42 100644 --- a/common/color_definitions.scss +++ b/common/color_definitions.scss @@ -1,12 +1,3 @@ -// functions -------------------------------------------------------------------------------- -@function fcc-highlight-lightness-switch($color) { - @if $color == mix(#002ead, #002ead, 100%) { - @return #99c9ff; - } - @return #002ead; -} - - $fcc-primary-color: mix($primary, $secondary, 100%); $fcc-secondary-color: mix($primary, $secondary, 93%); $fcc-tertiary-color: mix($primary, $secondary, 87%); @@ -19,7 +10,7 @@ $fcc-tertiary-background: mix($primary, $secondary, 13%); $fcc-secondary-background: mix($primary, $secondary, 7%); $fcc-primary-background: mix($primary, $secondary, 0%); $fcc-highlight-color: $tertiary; -$fcc-highlight-background: fcc-highlight-lightness-switch($fcc-highlight-color); +$fcc-highlight-background: if($fcc-highlight-color == #002ead, #99c9ff,#002ead); // Automatically lighten color $fcc-highlight-mid: mix($fcc-highlight-color, $fcc-highlight-background, 50%); $secondary-header-background: mix($header_primary, $header_background, 93%); $fcc-d-selected: rgba($primary, 0.16);