improved dark mode, automatic theme switch (#5720)

This commit is contained in:
Kevin Papst
2025-12-19 23:51:27 +01:00
committed by GitHub
parent b61420d633
commit 8c1ed68817
90 changed files with 1855 additions and 1956 deletions

View File

@@ -1,6 +1,6 @@
{% macro status(title, color) %}
{% from '@theme/components/status.html.twig' import status %}
{{ status(title, {'color': color|default('primary')}) }}
{{ status(title, {'color': color|default('primary-lt'), lite: true}) }}
{% endmacro %}
{% macro status_duration(duration) %}