runbot icon indicating copy to clipboard operation
runbot copied to clipboard

dark mode

Open xmo-odoo opened this issue 11 months ago • 1 comments

xmo-odoo avatar Dec 13 '24 13:12 xmo-odoo

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-scheme and possibly light-dark and color-scheme

  • stop using website.layout, and switch to an other front-end framework with support for dark themes

    https://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]

xmo-odoo avatar Jan 16 '25 13:01 xmo-odoo