[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:
Xavier Morel 2025-03-13 10:49:33 +01:00
parent 115a790f19
commit e1e255a9df

View File

@ -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}));
}
}
}