32 lines
1.3 KiB
SCSS
32 lines
1.3 KiB
SCSS
// This template is used to convert the YAML settings into something easily usable in SCSS.
|
|
// FIXME: One solution to this duct tape could be to use `main.scss` and `_settings.scss` as configs instead...
|
|
|
|
// General settings
|
|
$css-reset: {{ general.css_reset }};
|
|
$scroll-behaviour: {{ general.scroll_behaviour }};
|
|
|
|
// Export font families....
|
|
$font-family-default: {{ font_settings.default.family }};
|
|
$font-family-heading: {{ font_settings.heading.family }};
|
|
$font-family-paragraph: {{ font_settings.paragraph.family }};
|
|
$font-family-forms: {{ font_settings.forms.family }};
|
|
|
|
// Typography
|
|
$typography-enable-lists: {{ typography.enable_lists }};
|
|
$typography-enable-blockquotes: {{ typography.enable_blockquotes }};
|
|
|
|
// Buttons
|
|
$buttons-enable-secondary: {{ buttons.enable_secondary }};
|
|
$buttons-enable-disabled: {{ buttons.enable_disabled }};
|
|
$buttons-enable-raised: {{ buttons.enabled_styles.raised }};
|
|
$buttons-enable-filled: {{ buttons.enabled_styles.filled }};
|
|
$buttons-enable-outline: {{ buttons.enabled_styles.outline }};
|
|
$buttons-enable-text-only: {{ buttons.enabled_styles.text_only }};
|
|
|
|
// Forms
|
|
$custom-radio-checkbox: {{ forms.custom_radio_checkbox }};
|
|
$enable-switch: {{ forms.enable_switch }};
|
|
$custom-color: {{ forms.custom_color }};
|
|
$custom-file: {{ forms.custom_file }};
|
|
$custom-range: {{ forms.custom_range }};
|