hugo-theme-next/assets/css/_sitevars.scss

30 lines
854 B
SCSS
Raw Normal View History

// All variables from site's config content.
{{- $P := .Site.Params -}}
// Base
$scheme: {{ $P.scheme }};
$darkmode: {{ $P.darkmode }};
$theme_color_light: {{ $P.themeColor.light }};
$theme_color_dark: {{ $P.themeColor.dark }};
// Font
$font_enable: {{ $P.font.enable }};
$font_global_size: {{ default $P.font.global.size 1 }};
$font_headings_size: {{ default $P.font.headings.size 1.625 }};
$font_title_size: {{ default $P.font.title.size 1.375 }};
// Code & Code blocks
// TODO find the configure variable
$highlight_light_background: #000;
$highlight_light_foreground: #222;
$highlight_dark_background: #000;
$highlight_dark_foreground: #222;
// Sidebar
$sidebar_position: {{ $P.sidebar.position }};
$sidebar_padding: {{ $P.sidebar.padding }};
$sidebar_offset: {{ $P.sidebar.offset }};
// Note
$note_light_bg_offset: {{ $P.note.lightBgOffset }};