Skip to content

Commit

Permalink
Merge pull request #1239 from brain-tec/16.0.t145928
Browse files Browse the repository at this point in the history
[t145928]
  • Loading branch information
BT-mlopez authored Mar 6, 2024
2 parents 21a1678 + 28575bc commit 6c49476
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web_company_color/models/res_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ def _scss_get_sanitized_values(self):
"color_navbar_text": (values.get("color_navbar_text") or "#FFF"),
"color_button_bg": values.get("color_button_bg") or "$primary",
"color_button_bg_hover": values.get("color_button_bg_hover")
or 'darken(theme-color("primary"), 10%)',
or 'darken(map-get($theme-colors, "primary"), 10%)',
"color_button_text": values.get("color_button_text") or "#FFF",
"color_link_text": values.get("color_link_text")
or 'theme-color("primary")',
or 'map-get($theme-colors, "primary")',
"color_link_text_hover": values.get("color_link_text_hover")
or 'darken(theme-color("primary"), 10%)',
or 'darken(map-get($theme-colors, "primary"), 10%)',
}
)
return values
Expand Down

0 comments on commit 6c49476

Please sign in to comment.