Skip to content

Commit

Permalink
move function
Browse files Browse the repository at this point in the history
  • Loading branch information
a2937 committed Nov 11, 2024
1 parent 32879fe commit 017608c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 9 additions & 0 deletions common/color_definitions.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// 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 Down
8 changes: 1 addition & 7 deletions common/common.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
// functions --------------------------------------------------------------------------------
@function fcc-highlight-lightness-switch($color) {
@if $color == mix(#002ead, #002ead, 100%) {
@return #99c9ff;
}
@return #002ead;
}


// Variables ---------------------------------------------------------------------------------
// theme based variables
Expand Down

0 comments on commit 017608c

Please sign in to comment.