Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b818b76
[ADD][16.0] Module web_dark_mode
fkantelberg Nov 29, 2022
08b9964
[UPD] Update web_dark_mode.pot
Dec 7, 2022
78a679f
[UPD] README.rst
OCA-git-bot Dec 7, 2022
83d6f42
[ADD] icon.png
OCA-git-bot Dec 7, 2022
ff7739c
Added translation using Weblate (Chinese (zh))
GoodERPJeff Dec 11, 2022
4a76144
Added translation using Weblate (Spanish (Argentina))
ibuioli Jan 1, 2023
e7fa0ef
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 1, 2023
2591fa6
[FIX] web_dark_mode: Fix uninstallation
fkantelberg Feb 6, 2023
03e43d4
web_dark_mode 16.0.1.0.1
OCA-git-bot Feb 6, 2023
cd864bc
Added translation using Weblate (Croatian)
badbole Feb 16, 2023
a5864da
Translated using Weblate (Croatian)
badbole Feb 16, 2023
173a30a
Added translation using Weblate (Turkish)
tate11 Mar 6, 2023
e1bca44
Translated using Weblate (Turkish)
tate11 Mar 6, 2023
eb0c840
Added translation using Weblate (Spanish)
Ivorra78 Aug 27, 2023
a7a26b2
Translated using Weblate (Spanish)
Ivorra78 Aug 27, 2023
827175e
[UPD] README.rst
OCA-git-bot Sep 3, 2023
5626764
Added translation using Weblate (French)
gregory-moka Oct 20, 2023
d3f6223
Translated using Weblate (French)
gregory-moka Oct 20, 2023
3c57b7c
[FIX] web_dark_mode: Add fields to field lists
fkantelberg Nov 8, 2023
1045809
[BOT] post-merge updates
OCA-git-bot Nov 8, 2023
f3f9670
Added translation using Weblate (Italian)
mymage Nov 27, 2023
3fcc83a
Translated using Weblate (Italian)
mymage Nov 27, 2023
ef6e77b
[IMP] web_dark_mode: pre-commit execution
len-foss Aug 30, 2025
9ec31c7
[MIG] web_dark_mode: Migration to 18.0
len-foss Aug 30, 2025
65b9ac9
[IMP] web_dark_mode Set dark theme to immitate VSCode Modern Dark
ljmnoonan Oct 6, 2025
315ce20
[IMP] web_dark_mode Change navbar from purple to dark
ljmnoonan Oct 7, 2025
55c2646
[IMP] web_dark_mode Fix tint and shade color functions
ljmnoonan Oct 7, 2025
f451d8a
[IMP] web_dark_mode Add lazy loading asset bundle
ljmnoonan Oct 7, 2025
54a38d0
[IMP] web_dark_mode Override BS variables
ljmnoonan Oct 7, 2025
97c79a2
[IMP] web_dark_mode Improve notebook tab styling
ljmnoonan Oct 7, 2025
2263234
[IMP] web_dark_mode Adjust tag and colorlist colors
ljmnoonan Oct 9, 2025
f4b92d7
[IMP] web_dark_mode Adjust calendar coloring
ljmnoonan Oct 9, 2025
9fbd203
[IMP] web_dark_mode Adjust the styles of custom properties
ljmnoonan Oct 10, 2025
f6274fe
[IMP] web_dark_mode Tweak the search bar
ljmnoonan Oct 14, 2025
6adee96
[IMP] web_dark_mode Set image background to white
ljmnoonan Oct 14, 2025
877c9d6
[IMP] web_dark_mode Tweak kanban controller
ljmnoonan Oct 14, 2025
6d7bfd1
[IMP] web_dark_mode Change thead active (column filter) bg for lists …
ljmnoonan Oct 22, 2025
a62a759
[IMP] web_dark_mode: Add myself to CONTRIBUTORS.md
ljmnoonan Oct 16, 2025
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
85 changes: 85 additions & 0 deletions web_dark_mode/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
=========
Dark Mode
=========

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

.. |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/licence-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/18.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-18-0/web-18-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=18.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:%2018.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/18.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": "18.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"
40 changes: 40 additions & 0 deletions web_dark_mode/i18n/tr.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-03-06 20:08+0000\n"
"Last-Translator: Ediz Duman <neps1192@gmail.com>\n"
"Language-Team: none\n"
"Language: tr\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 "Koyu Mod"

#. 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 "Cihaza Bağlı Karanlık Mod"

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

#. module: web_dark_mode
#: model:ir.model,name:web_dark_mode.model_res_users
msgid "User"
msgstr "Kullanıcı"
Loading