Skip to content

Unable to change font-size-base and/or font.global.size #629

@JOduMonT

Description

@JOduMonT

Hi;

I'm using source/_data/variables.styl to make variation inside Gemini scheme but one change doesn't apply and I wonder why $font-size-base = 16px don't works.

this is my variables.styl


// Variables of Gemini scheme
    
// corpo color
$blue    = #192b33
$green   = #8fb259
$orange  = #ff7f00
$white   = #f2f2f2
$black   = #2f2f2f

// custom base
$font-size-base = 18px
$whitesmoke = $white
$black-deep = $blue
$blue-deep = $blue

// Settings for some of the most global styles.
$body-bg-color = $white

// Borders
$box-shadow-inner = 0 2px 2px 0 rgba(47,47,47,.12), 0 3px 1px -2px rgba(47,47,47,.06), 0 1px 5px 0 rgba(47,47,47,.12)
$box-shadow = 0 2px 2px 0 rgba(47,47,47,.12), 0 3px 1px -2px rgba(47,47,47,.06), 0 1px 5px 0 rgba(47,47,47,.12), 0 -1px .5px 0 rgba(47,47,47,.09)
$border-radius-inner = 0 0 3px 3px;
$border-radius = 3px;

// Logo
.custom-logo-image {max-width: 288px;}

// Sidebar
$subtitle-font-size = 14px
$site-description-align = left
.site-subtitle {margin-top: 0!important;}

// Footer
.footer {
    color: $white!important
    background-color: $blue
  a {color: $orange}
  a:hover {color: $green}
}

// Color
.green {color: $green}
.blue {color: $blue}

base on what I found in #245
I also tried by adding this in my _config.yml and source/data/next.yml
without success

font:
  global:
    size: 18px

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions