Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
bf73e5b
[ADD][16.0] Module web_dark_mode
fkantelberg Nov 29, 2022
62c1e3b
[ADD] icon.png
OCA-git-bot Dec 7, 2022
f747ced
Added translation using Weblate (Chinese (zh))
GoodERPJeff Dec 11, 2022
57c5914
Added translation using Weblate (Spanish (Argentina))
ibuioli Jan 1, 2023
ac7a464
[FIX] web_dark_mode: Fix uninstallation
fkantelberg Feb 6, 2023
b4c5c33
web_dark_mode 16.0.1.0.1
OCA-git-bot Feb 6, 2023
5f5be2a
Added translation using Weblate (Croatian)
badbole Feb 16, 2023
60fa66e
Added translation using Weblate (Turkish)
tate11 Mar 6, 2023
5cc349e
Added translation using Weblate (Spanish)
Ivorra78 Aug 27, 2023
c1799b9
Added translation using Weblate (French)
gregory-moka Oct 20, 2023
54f2462
[FIX] web_dark_mode: Add fields to field lists
fkantelberg Nov 8, 2023
692d027
Added translation using Weblate (Italian)
mymage Nov 27, 2023
9d32c0b
[IMP] web_dark_mode: pre-commit execution
len-foss Aug 30, 2025
4632c8c
[MIG] web_dark_mode: Migration to 18.0
len-foss Aug 30, 2025
6f99f22
[IMP] web_dark_mode Set dark theme to immitate VSCode Modern Dark
ljmnoonan Oct 6, 2025
81c9c89
[IMP] web_dark_mode Change navbar from purple to dark
ljmnoonan Oct 7, 2025
7468158
[IMP] web_dark_mode Fix tint and shade color functions
ljmnoonan Oct 7, 2025
8ae9ae3
[IMP] web_dark_mode Add lazy loading asset bundle
ljmnoonan Oct 7, 2025
ad9fc7e
[IMP] web_dark_mode Override BS variables
ljmnoonan Oct 7, 2025
0d5b817
[IMP] web_dark_mode Improve notebook tab styling
ljmnoonan Oct 7, 2025
9aed8be
[IMP] web_dark_mode Adjust tag and colorlist colors
ljmnoonan Oct 9, 2025
0150d5a
[IMP] web_dark_mode Adjust calendar coloring
ljmnoonan Oct 9, 2025
0c00be7
[IMP] web_dark_mode Adjust the styles of custom properties
ljmnoonan Oct 10, 2025
6837d4e
[IMP] web_dark_mode Tweak the search bar
ljmnoonan Oct 14, 2025
3d08d77
[IMP] web_dark_mode Set image background to white
ljmnoonan Oct 14, 2025
0c646cf
[IMP] web_dark_mode Tweak kanban controller
ljmnoonan Oct 14, 2025
d211a56
[IMP] web_dark_mode Change thead active (column filter) bg for lists …
ljmnoonan Oct 22, 2025
dfa6020
[IMP] web_dark_mode: pre-commit auto fixes
ljmnoonan Jan 3, 2026
f6b4731
[MIG] web_dark_mode Migrate to 19.0
ljmnoonan Jan 5, 2026
80e35f6
[MIG] web_dark_mode Migrate styles
ljmnoonan Jan 6, 2026
5a4f288
[FIX] web_dark_mode style fixes for both 18 and 19
ljmnoonan Jan 6, 2026
5ef5802
[FIX] web_dark_mode Fix device dependent
ljmnoonan Jan 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions web_dark_mode/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=========
Dark Mode
=========

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:412634e63cb76e61a9461ecdc1ffef9271510b8a8a1d6e63ee98df7eeeedaaae
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
:target: https://github.com/OCA/web/tree/19.0/web_dark_mode
:alt: OCA/web
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/web-19-0/web-19-0-web_dark_mode
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This modules offers the dark mode for Odoo CE. The dark mode can be
activated by every user in the user menu in the top right.

**Table of contents**

.. contents::
:local:

Known issues / Roadmap
======================

- Implement dark mode for PoS with a glue module

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_dark_mode%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* initOS GmbH

Contributors
------------

- Florian Kantelberg <florian.kantelberg@initos.com>
- `Pyxiris <https://github.com/Pyxiris>`__

- `Liam Noonan <https://github.com/ljmnoonan>`__

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/web <https://github.com/OCA/web/tree/19.0/web_dark_mode>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions web_dark_mode/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# © 2022 Florian Kantelberg - initOS GmbH
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
60 changes: 60 additions & 0 deletions web_dark_mode/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# © 2022 Florian Kantelberg - initOS GmbH
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Dark Mode",
"summary": "Enabled Dark Mode for the Odoo Backend",
"license": "AGPL-3",
"version": "19.0.1.0.0",
"website": "https://github.com/OCA/web",
"author": "initOS GmbH, Odoo Community Association (OCA)",
"depends": ["web"],
"excludes": ["web_enterprise"],
"installable": True,
"assets": {
"web.assets_backend": [
"web_dark_mode/static/src/js/switch_item.esm.js",
],
"web.assets_backend_lazy_dark": [
("include", "web.assets_variables_dark"),
("include", "web.assets_backend_helpers_dark"),
],
"web.assets_variables_dark": [
(
"before",
"web/static/src/scss/primary_variables.scss",
"web_dark_mode/static/src/scss/primary_variables.dark.scss",
),
(
"before",
"web/static/src/scss/secondary_variables.scss",
"web_dark_mode/static/src/scss/secondary_variables.dark.scss",
),
(
"before",
"web/static/src/**/*.variables.scss",
"web_dark_mode/static/src/**/*.variables.dark.scss",
),
],
"web.assets_backend_helpers_dark": [
(
"before",
"web/static/src/scss/bootstrap_overridden.scss",
"web_dark_mode/static/src/scss/bootstrap_overridden.dark.scss",
),
(
"after",
"web/static/lib/bootstrap/scss/_functions.scss",
"web_dark_mode/static/src/scss/bs_functions_overrides.dark.scss",
),
],
"web.assets_web_dark": [
("include", "web.assets_variables_dark"),
("include", "web.assets_backend_helpers_dark"),
"web_dark_mode/static/src/**/*.dark.scss",
],
},
"data": [
"views/res_users_views.xml",
],
}
40 changes: 40 additions & 0 deletions web_dark_mode/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-09-02 20:35+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Modo Oscuro"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr "Modo Oscuro en Función del Dispositivo"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr "Enrutamiento HTTP"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Usuario"
40 changes: 40 additions & 0 deletions web_dark_mode/i18n/es_AR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-01-01 21:45+0000\n"
"Last-Translator: Ignacio Buioli <ibuioli@gmail.com>\n"
"Language-Team: none\n"
"Language: es_AR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Modo Oscuro"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr "Dispositivo que Depende del Modo Oscuro"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr "Ruteo HTTP"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Usuario"
40 changes: 40 additions & 0 deletions web_dark_mode/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-23 18:56+0000\n"
"Last-Translator: Grégory Moka Tourisme <gregory@mokatourisme.fr>\n"
"Language-Team: none\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Mode sombre"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr ""

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr ""

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Utilisateur"
41 changes: 41 additions & 0 deletions web_dark_mode/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-02-16 14:23+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>\n"
"Language-Team: none\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Tamni način"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr "Tamni način zavisi od uređaja"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr "HTTP Routing"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Korisnik"
40 changes: 40 additions & 0 deletions web_dark_mode/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dark_mode
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-27 11:34+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: web_dark_mode
#. odoo-javascript
#: code:addons/web_dark_mode/static/src/js/switch_item.esm.js:0
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode
#, python-format
msgid "Dark Mode"
msgstr "Dark mode"

#. module: web_dark_mode
#: model:ir.model.fields,field_description:web_dark_mode.field_res_users__dark_mode_device_dependent
msgid "Device Dependent Dark Mode"
msgstr "Dark mode dipendente dal dispositivo"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_ir_http
msgid "HTTP Routing"
msgstr "Instradamento HTTP"

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Utente"
Loading