summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2023-02-05 21:32:51 +0100
committerVolpeon <git@volpeon.ink>2023-02-05 21:32:51 +0100
commit326225d37c1914d240f7b425c1d098175b08c663 (patch)
treed84e46ac6254f32d5bb16407e1b82d5e79e7e90e
parentUpdate (diff)
downloadiro-design-326225d37c1914d240f7b425c1d098175b08c663.tar.gz
iro-design-326225d37c1914d240f7b425c1d098175b08c663.tar.bz2
iro-design-326225d37c1914d240f7b425c1d098175b08c663.zip
Fixed action menu border
-rw-r--r--src/_declare-vars.scss8
-rw-r--r--src/objects/_action-menu.scss3
2 files changed, 6 insertions, 5 deletions
diff --git a/src/_declare-vars.scss b/src/_declare-vars.scss
index 5612ff0..d15705b 100644
--- a/src/_declare-vars.scss
+++ b/src/_declare-vars.scss
@@ -193,8 +193,9 @@
193 --fg-lo: fn.color(--gray --11, null), // Strong text 193 --fg-lo: fn.color(--gray --11, null), // Strong text
194 194
195 --border: ( 195 --border: (
196 --regular: fn.color(--obj, null), 196 --regular: fn.color(--obj, null),
197 --stable: iro.props-get-static(--colors --gray --5, 'palette-light'), 197 --stable: iro.props-get-static(--colors --gray --5, 'palette-light'),
198 --stable-lo: iro.props-get-static(--colors --gray --6, 'palette-light'),
198 ), 199 ),
199 200
200 --blue: fn.color-palette(blend.lch(48% 50 279)), 201 --blue: fn.color-palette(blend.lch(48% 50 279)),
@@ -256,7 +257,8 @@
256@include iro.props-store(( 257@include iro.props-store((
257 --colors: ( 258 --colors: (
258 --border: ( 259 --border: (
259 --stable: iro.props-get-static(--colors --gray --5, 'palette-dark-lo'), 260 --stable: iro.props-get-static(--colors --gray --5, 'palette-dark-lo'),
261 --stable-lo: iro.props-get-static(--colors --gray --6, 'palette-dark-lo'),
260 ), 262 ),
261 263
262 --blue: fn.color-palette(blend.lch(63% 50 279), -1), 264 --blue: fn.color-palette(blend.lch(63% 50 279), -1),
diff --git a/src/objects/_action-menu.scss b/src/objects/_action-menu.scss
index 3943252..5675ac4 100644
--- a/src/objects/_action-menu.scss
+++ b/src/objects/_action-menu.scss
@@ -19,7 +19,7 @@
19 @include iro.props-store(( 19 @include iro.props-store((
20 --colors: ( 20 --colors: (
21 --shadow: 0 .2em .5em rgba(#000, .1), 21 --shadow: 0 .2em .5em rgba(#000, .1),
22 --border: rgba(#000, .2), 22 --border: fn.global-color(--border --stable-lo),
23 --separator: fn.global-color(--obj), 23 --separator: fn.global-color(--obj),
24 --icon: fn.global-color(--fg-hi), 24 --icon: fn.global-color(--fg-hi),
25 --item: ( 25 --item: (
@@ -43,7 +43,6 @@
43 @include iro.props-store(( 43 @include iro.props-store((
44 --colors: ( 44 --colors: (
45 --shadow: 0 .2em .5em rgba(#000, .5), 45 --shadow: 0 .2em .5em rgba(#000, .5),
46 --border: rgba(#fff, .2),
47 ), 46 ),
48 ), 'colors-dark'); 47 ), 'colors-dark');
49 48