mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-11 08:43:10 +00:00
Simplify color functions and round numbers.
This commit is contained in:
parent
34769f6c02
commit
5356ff13c8
1 changed files with 9 additions and 9 deletions
|
|
@ -26,8 +26,8 @@ $breakpoint-desktop-larger: 100em; // 1600px
|
|||
|
||||
// colours
|
||||
$color-teal: #43b1b0;
|
||||
$color-teal-darker: darken($color-teal, 10%);
|
||||
$color-teal-dark: darken(saturate(adjust-hue($color-teal, 1), 0.37), 21.96);
|
||||
$color-teal-darker: darken($color-teal, 10);
|
||||
$color-teal-dark: darken($color-teal, 22);
|
||||
|
||||
$color-blue: #71b2d4;
|
||||
$color-red: #cd3238;
|
||||
|
|
@ -42,20 +42,20 @@ $color-black: #000;
|
|||
$color-grey-1: darken($color-white, 80);
|
||||
$color-grey-2: darken($color-white, 60);
|
||||
|
||||
$color-grey-3: darken($color-white, 14.9);
|
||||
$color-grey-4: darken($color-white, 9.8);
|
||||
$color-grey-5: darken($color-white, 1.96);
|
||||
$color-grey-3: darken($color-white, 15);
|
||||
$color-grey-4: darken($color-white, 10);
|
||||
$color-grey-5: darken($color-white, 2);
|
||||
|
||||
$color-menu-text: darken($color-white, 20.78);
|
||||
$color-menu-text: darken($color-white, 20);
|
||||
|
||||
$color-thead-bg: $color-grey-5;
|
||||
$color-header-bg: $color-teal;
|
||||
|
||||
$color-fieldset-hover: $color-grey-5;
|
||||
$color-input-border: $color-grey-4;
|
||||
$color-input-focus: lighten(saturate(adjust-hue($color-teal, 1), 12.06), 49.41);
|
||||
$color-input-focus-border: lighten(saturate(adjust-hue($color-teal, 1), 11.8), 9.41);
|
||||
$color-input-error-bg: lighten(saturate(adjust-hue($color-red, -1), 28.69), 46.27);
|
||||
$color-input-focus: lighten(saturate($color-teal, 12), 50);
|
||||
$color-input-focus-border: lighten(saturate($color-teal, 12), 10);
|
||||
$color-input-error-bg: lighten(saturate($color-red, 28), 45);
|
||||
|
||||
$color-button: $color-teal;
|
||||
$color-button-hover: $color-teal-darker;
|
||||
|
|
|
|||
Loading…
Reference in a new issue