diff options
author | Volpeon <git@volpeon.ink> | 2022-02-13 10:59:22 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-02-13 10:59:22 +0100 |
commit | 52b52bf45fee2fe186b5c9bcac882b1fb41b1a94 (patch) | |
tree | 1e371e20555f249af467b173c2f5f544fded0dce /src | |
parent | Better palette generation algorithm (diff) | |
download | iro-design-52b52bf45fee2fe186b5c9bcac882b1fb41b1a94.tar.gz iro-design-52b52bf45fee2fe186b5c9bcac882b1fb41b1a94.tar.bz2 iro-design-52b52bf45fee2fe186b5c9bcac882b1fb41b1a94.zip |
Color adjustments
Diffstat (limited to 'src')
-rw-r--r-- | src/_vars.scss | 8 | ||||
-rw-r--r-- | src/objects/_menu.scss | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/_vars.scss b/src/_vars.scss index 569d535..d2fbc10 100644 --- a/src/_vars.scss +++ b/src/_vars.scss | |||
@@ -25,17 +25,17 @@ $grays: (); | |||
25 | } | 25 | } |
26 | 26 | ||
27 | $wanted-grays: ( | 27 | $wanted-grays: ( |
28 | -1.25, | ||
28 | -1.1, | 29 | -1.1, |
29 | -1.05, | ||
30 | 1, | 30 | 1, |
31 | 1.15, | 31 | 1.15, |
32 | 1.37, | 32 | 1.37, |
33 | 1.73, | 33 | 1.73, |
34 | 2.4, | 34 | 2.4, |
35 | 3.26, | 35 | 3.26, |
36 | 7.14, | 36 | 5, |
37 | 11, | 37 | 11, |
38 | 17.4, | 38 | 21, |
39 | ); | 39 | ); |
40 | 40 | ||
41 | @function accent-palette($base, $dir: 1) { | 41 | @function accent-palette($base, $dir: 1) { |
@@ -46,7 +46,7 @@ $wanted-grays: ( | |||
46 | --lo2: blend.scale($base, $lightness: $dir * -25%, $chroma: $dir * -20%), | 46 | --lo2: blend.scale($base, $lightness: $dir * -25%, $chroma: $dir * -20%), |
47 | --semi: rgba($base, .4), | 47 | --semi: rgba($base, .4), |
48 | --selection: rgba($base, .99), | 48 | --selection: rgba($base, .99), |
49 | --fg: blend.contrast($base, #fff, #000), | 49 | --fg: blend.contrast($base), |
50 | ); | 50 | ); |
51 | } | 51 | } |
52 | 52 | ||
diff --git a/src/objects/_menu.scss b/src/objects/_menu.scss index 40c97e0..851e32a 100644 --- a/src/objects/_menu.scss +++ b/src/objects/_menu.scss | |||
@@ -15,7 +15,7 @@ | |||
15 | @include iro.props-store(( | 15 | @include iro.props-store(( |
16 | --colors: ( | 16 | --colors: ( |
17 | --header: ( | 17 | --header: ( |
18 | --label: fn.global-color(--fg-hi2), | 18 | --label: fn.global-color(--fg-hi), |
19 | ), | 19 | ), |
20 | --item: ( | 20 | --item: ( |
21 | --hover: ( | 21 | --hover: ( |