You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% for (font, options) in fonts.items() %}<linkrel="stylesheet" href="https://fonts.googleapis.com/css2?family={{ font }}:wght@{{ ";".join(options.weights) }}&display=swap" media="screen">{% endfor %}
24
24
{{ style }}
25
-
{%- if css_variables -%}
26
-
<style>
27
-
:root {
28
-
{% for key, value in css_variables.items() %}
29
-
{{ key }}: {{ value }};
30
-
{% endfor %}
31
-
}
32
-
{%- if dark_mode_css_variables -%}
33
-
@media (prefers-color-scheme: dark) {
34
-
:root {
35
-
{% for key, value in dark_mode_css_variables.items() %}
36
-
{{ key }}: {{ value }};
37
-
{% endfor %}
38
-
}
39
-
}
40
-
{%- endif -%}
41
-
{%- if preview -%}
42
-
[data-prefers-color-scheme="dark"] {
43
-
{% for key, value in dark_mode_css_variables.items() %}
0 commit comments