19 lines
1.0 KiB
Plaintext
19 lines
1.0 KiB
Plaintext
{% style %}
|
|
{% # Loads all font variantions with display: swap %}
|
|
{{ settings.type_primary_font | font_face: font_display: 'swap' }}
|
|
{{ settings.type_primary_font | font_modify: 'weight', 'bold' | font_face: font_display: 'swap' }}
|
|
{{ settings.type_primary_font | font_modify: 'weight', 'bold' | font_modify: 'style', 'italic' | font_face: font_display: 'swap' }}
|
|
{{ settings.type_primary_font | font_modify: 'style', 'italic' | font_face: font_display: 'swap' }}
|
|
|
|
:root {
|
|
--font-primary--family: {{ settings.type_primary_font.family }}, {{ settings.type_primary_font.fallback_families }};
|
|
--font-primary--style: {{ settings.type_primary_font.style }};
|
|
--font-primary--weight: {{ settings.type_primary_font.weight }};
|
|
--page-width: {{ settings.max_page_width }};
|
|
--page-margin: {{ settings.min_page_margin }}px;
|
|
--color-background: {{ settings.background_color }};
|
|
--color-foreground: {{ settings.foreground_color }};
|
|
--style-border-radius-inputs: {{ settings.input_corner_radius }}px;
|
|
}
|
|
{% endstyle %}
|