Cargar los valores del theme en el SCSS
Faltan los valores por defecto
This commit is contained in:
parent
a5a9991d68
commit
56d991130f
1 changed files with 20 additions and 0 deletions
|
@ -11,6 +11,26 @@
|
|||
///
|
||||
/// @todo Mover a su propio SCSS
|
||||
{% assign about = site.posts | find: 'layout', 'about' %}
|
||||
{% assign theme = site.posts | find: 'layout', 'theme' %}
|
||||
{% assign theme_defaults = site.data.layouts.theme %}
|
||||
|
||||
$enable-rounded: {{ theme.enable_rounded }};
|
||||
$enable-shadows: {{ theme.enable_shadows }};
|
||||
$body-bg: {{ theme.body_bg }};
|
||||
$body-color: {{ theme.body_color }};
|
||||
$link-color: {{ theme.link_color }};
|
||||
$link-hover-color: {{ theme.link_hover_color }};
|
||||
$component-active-color: {{ theme.component_active_color }};
|
||||
$h1-font-size: {{ theme.h1_font_size }}rem;
|
||||
$h2-font-size: {{ theme.h2_font_size }}rem;
|
||||
$h3-font-size: {{ theme.h3_font_size }}rem;
|
||||
$h4-font-size: {{ theme.h4_font_size }}rem;
|
||||
$h5-font-size: {{ theme.h5_font_size }}rem;
|
||||
$h6-font-size: {{ theme.h6_font_size }}rem;
|
||||
$mark-bg: {{ theme.mark_bg }};
|
||||
$navbar-light-color: {{ theme.navbar_light_color }};
|
||||
$navbar-light-hover-color: {{ theme.navbar_light_hover_color }};
|
||||
$navbar-light-active-color: {{ theme.navbar_light_active_color }};
|
||||
|
||||
/// El modo debug se desactiva en producción
|
||||
$debug: {{ jekyll.environment | not: 'production' }};
|
||||
|
|
Loading…
Reference in a new issue