mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[FIX] runbot_merge: make table bg work in dark mode
Use color-mix instead of absolute lighten / darken, that way in both cases it pulls towards the center.
This commit is contained in:
parent
115a790f19
commit
e1e255a9df
@ -105,7 +105,7 @@ h1, h2, h3, h4, h5, h6{
|
||||
--table-bg: #{$c};
|
||||
--table-accent-bg: transparent;
|
||||
&.table-active {
|
||||
--table-bg: hsl(from #{$c} h s calc(l - 5));
|
||||
--table-bg: color-mix(in oklch, #{$c} 85%, var(--#{$category}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user