Refactor darkmode

This commit is contained in:
cuom1999 2024-07-08 22:29:57 -05:00
parent 5537ef5522
commit d08010a2ab
6 changed files with 7899 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ LANGUAGE_CODE }}">
<html lang="{{ LANGUAGE_CODE }}" {% if use_darkmode %}class="darkmode"{% endif %}>
<head>
<title>{% block title %}{{ title }} - {{ SITE_LONG_NAME }}{% endblock %}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
@ -72,8 +72,8 @@
{% endif %}
{% if use_darkmode %}
<link rel="stylesheet" href="{{ static('darkmode.css') }}">
<link rel="stylesheet" href="{{ static('darkmode-svg.css') }}">
<link rel="stylesheet" href="{{ static('darkmode-processed.css') }}">
<link rel="stylesheet" href="{{ static('darkmode-svg-processed.css') }}">
{% endif %}
<noscript>