runbot
runbot copied to clipboard
dark mode
Bootstrap only supports dark mode starting in 5.3, Odoo 17 used 5.1, which has no dark mode support. So:
-
add dark mode by hand using
prefers-color-schemeand possiblylight-darkandcolor-scheme -
stop using
website.layout, and switch to an other front-end framework with support for dark themeshttps://picocss.com/ could be a nice pick, the only thing we'd need is a link to the backend (and login) as the rest is mostly irrelevant...
relevant parent templates:
website_templates.xml:/template[@id=layout]<portal_templates.xml:/template[@id=frontend_layout]<webclient_templates.xml:/template[@id=web.frontend_layout]<webclient_templates.xml:/template[@id=web.layout]