[IMP] odoo-theme: Revert $dark color variable to initial $gray-900

This was changed to get a good text/background contrast on the
alert-dark (Exercise).
By doing so, the .text-dark class generated by BS from the $dark
theme-color was gray instead of the intended near-black color.

By changing the variable, the contrast issue with the alert was back,
to solve this we directly override the alert's background color instead.

X-original-commit: 32c9e59ae6
Part-of: odoo/documentation#3320
This commit is contained in:
Elisabeth Dickinson 2023-01-11 10:34:53 +00:00
parent d8c9f6afa4
commit ad08d78593
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ $teal: #017e84;
$primary: $teal;
$secondary: $purple;
$light: $gray-100;
$dark: $gray-600;
$dark: $gray-900;
$success: $green;
$info: $blue;
$warning: $orange;

View File

@ -994,6 +994,8 @@ header {
&.alert-dark {
--o-alert-icon: '#{$i-exercise}';
--o-alert-code-border-color: #{tint-color($dark, 50%)};
background: $gray-300;
}
}
.graphviz {