Skip to content

Commit

Permalink
remove light function
Browse files Browse the repository at this point in the history
  • Loading branch information
a2937 committed Nov 11, 2024
1 parent 993f893 commit b30413e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions common/color_definitions.scss
Original file line number Diff line number Diff line change
@@ -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%);
Expand All @@ -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);
Expand Down

0 comments on commit b30413e

Please sign in to comment.