update tailwind.config.js.jinja2 to add darkMode option (#2312)

This commit is contained in:
Romain Bury 2023-12-21 00:43:47 +01:00 committed by GitHub
parent cfb9d44e0c
commit 42bcea7631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,9 @@ module.exports = {
{% for preset in presets %}
require({{preset|json_dumps}})
{% endfor %}
]
],
{% endif %}
{% if darkMode is defined %}
darkMode: {{darkMode|json_dumps}},
{% endif %}
};