From 92f1313031b705e5dbb9af079058d05ad839d68a Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 13 Feb 2022 16:30:52 +0100 Subject: Improved colors --- src/_config.scss | 10 +++++----- src/_declare-vars.scss | 8 ++++---- src/_functions.scss | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/_config.scss b/src/_config.scss index b54cb37..cdbd02c 100644 --- a/src/_config.scss +++ b/src/_config.scss @@ -16,17 +16,17 @@ media.$unit-intervals: ( ); $wanted-grays: ( - --1: -1.25, + --1: -1.2, --2: -1.1, --3: 1, --4: 1.15, --5: 1.3, - --6: 1.73, + --6: 1.7, --7: 2.4, - --8: 3.26, - --9: 5, + --8: 3.3, + --9: 6, --10: 11, - --11: 21, + --11: 19, ); diff --git a/src/_declare-vars.scss b/src/_declare-vars.scss index 44b7d0e..a9b4d0a 100644 --- a/src/_declare-vars.scss +++ b/src/_declare-vars.scss @@ -87,8 +87,8 @@ --gray: ( --h: 220, --s: 5% ), --blue: fn.color-palette(blend.lch(48% 50 279)), --red: fn.color-palette(blend.lch(48% 50 23)), - --green: fn.color-palette(blend.lch(63% 50 141)), - --yellow: fn.color-palette(blend.lch(73% 50 90)), + --green: fn.color-palette(blend.lch(63% 50 147)), + --yellow: fn.color-palette(blend.lch(73% 50 80)), --accent: ( --primary: iro.props-ref('colors', --colors --blue), @@ -131,8 +131,8 @@ --colors: ( --blue: fn.color-palette(blend.lch(58% 60 279), -1), --red: fn.color-palette(blend.lch(58% 60 23), -1), - --green: fn.color-palette(blend.lch(73% 60 141), -1), - --yellow: fn.color-palette(blend.lch(83% 60 90), -1), + --green: fn.color-palette(blend.lch(73% 60 147), -1), + --yellow: fn.color-palette(blend.lch(83% 60 80), -1), --accent: ( --primary: iro.props-ref('colors-dark', --colors --blue), diff --git a/src/_functions.scss b/src/_functions.scss index c45dcfb..5a30a88 100644 --- a/src/_functions.scss +++ b/src/_functions.scss @@ -105,10 +105,10 @@ @function color-palette($base, $dir: 1) { @return ( - --bg-hi: blend.scale($base, $lightness: $dir * 15%, $chroma: $dir * 10%), + --bg-hi: blend.scale($base, $lightness: $dir * 15%, $chroma: $dir * 7.5%), --bg: $base, - --obj: blend.scale($base, $lightness: $dir * -15%, $chroma: $dir * -10%), - --obj-lo: blend.scale($base, $lightness: $dir * -25%, $chroma: $dir * -20%), + --obj: blend.scale($base, $lightness: $dir * -15%, $chroma: $dir * -7.5%), + --obj-lo: blend.scale($base, $lightness: $dir * -30%, $chroma: $dir * -15%), --semi: rgba($base, .4), --selection: rgba($base, .99), --fg: blend.contrast($base), -- cgit v1.2.3-70-g09d2