mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 15:35:46 +07:00
[IMP] runbot_merge: source link color from a CSS variable
This makes the link color and the hover color responsive to the color theme. Part of #1088
This commit is contained in:
parent
d865f1c397
commit
7eb1b02aa6
@ -27,8 +27,9 @@ $bg-scale: -80%;
|
||||
|
||||
$o-system-fonts: sans-serif;
|
||||
|
||||
// mostly revets a bunch of shit from the default odoo theming
|
||||
$link-color: $primary;
|
||||
// mostly reverts a bunch of shit from the default odoo theming
|
||||
$link-color: var(--link-color);
|
||||
$link-hover-color: var(--link-hover-color);
|
||||
$o-community-color: $primary;
|
||||
$o-enterprise-color: $primary;
|
||||
|
||||
|
@ -5,6 +5,8 @@
|
||||
|
||||
// dunno why it's not global
|
||||
--bg-opacity: 1;
|
||||
--link-color: var(--primary);
|
||||
--link-hover-color: color-mix(in oklch, var(--link-color), var(--dark));
|
||||
|
||||
@each $color, $value in $theme-colors {
|
||||
--#{$variable-prefix}#{$color}-bg-rgb: #{to-rgb(hsl(
|
||||
|
Loading…
Reference in New Issue
Block a user