feat: More optimizations

This commit is contained in:
daudix
2024-01-30 19:01:42 +03:00
parent 3b422786e2
commit 769b3fa648
2 changed files with 4 additions and 5 deletions

View File

@ -25,6 +25,3 @@
@use "qrcode"; @use "qrcode";
@use "statements"; @use "statements";
@use "tags"; @use "tags";
@import url("syntax-theme-dark.css") (prefers-color-scheme: dark);
@import url("syntax-theme-light.css") (prefers-color-scheme: light);

View File

@ -16,10 +16,12 @@
{%- endif -%} {%- endif -%}
</title> </title>
<link rel="stylesheet" href="{{ get_url(path='style.css') }}" /> <link rel="stylesheet" type="text/css" href="{{ get_url(path='style.css') }}" />
<link rel="stylesheet" type="text/css" href="/syntax-theme-dark.css" media="(prefers-color-scheme: dark)" />
<link rel="stylesheet" type="text/css" href="/syntax-theme-light.css" media="(prefers-color-scheme: light)" />
{% if config.extra.stylesheets %} {% if config.extra.stylesheets %}
{% for stylesheet in config.extra.stylesheets %} {% for stylesheet in config.extra.stylesheets %}
<link rel="stylesheet" href="{{ get_url(path=stylesheet) }}" /> <link rel="stylesheet" type="text/css" href="{{ get_url(path=stylesheet) }}" />
{% endfor %} {% endfor %}
{% endif %} {% endif %}