Migrate palette to HSL
This commit is contained in:
parent
75264e371c
commit
680b549692
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
|
||||
.warn {
|
||||
color: $orange-color;
|
||||
color: var(--mainColor);
|
||||
}
|
||||
|
||||
.error {
|
||||
|
|
|
@ -23,12 +23,12 @@ body {
|
|||
/*** theme ***/
|
||||
// now beware node-sass requires interpolation
|
||||
// for css custom properties #{$var}
|
||||
--mainColor: #{$orange-color};
|
||||
--mainColorLighter: #{$orange-color-lighter};
|
||||
--mainHoverColor: #{$orange-hover-color};
|
||||
--mainColor: #{$main-color};
|
||||
--mainColorLighter: #{$main-color-lighter};
|
||||
--mainHoverColor: #{$main-hover-color};
|
||||
--mainBackgroundColor: #{$bg-color};
|
||||
--mainForegroundColor: #{$fg-color};
|
||||
--secondaryColor: #{$cyan-color};
|
||||
--secondaryColor: #{$secondary-color};
|
||||
|
||||
--menuBackgroundColor: #{$menu-background};
|
||||
--menuForegroundColor: #{$menu-color};
|
||||
|
|
|
@ -398,7 +398,7 @@
|
|||
|
||||
&:checked + span {
|
||||
border-color: transparent;
|
||||
background: $orange-color;
|
||||
background: var(--mainColor);
|
||||
animation: jelly 0.6s ease;
|
||||
|
||||
&:after {
|
||||
|
|
|
@ -13,11 +13,12 @@ $grey-background-hover-color: #EFEFEF;
|
|||
$grey-foreground-color: #585858;
|
||||
$grey-foreground-hover-color: #303030;
|
||||
|
||||
$orange-color: #F1680D;
|
||||
$orange-color-lighter: rgb(233, 159, 110);
|
||||
$orange-hover-color: #F97D46;
|
||||
|
||||
$cyan-color: hsl(187, 77%, 34%);
|
||||
// Palette
|
||||
$main-color: hsl(24, 90%, 50%);
|
||||
$main-hover-color: lighten($main-color, 5%);
|
||||
$main-color-lighter: lighten($main-color, 10%);
|
||||
$secondary-color: hsl(187, 77, 34);
|
||||
//
|
||||
|
||||
$support-button: inherit;
|
||||
$support-button-heart: #e83e8c;
|
||||
|
|
Loading…
Reference in New Issue