$font-stack-headings conditionnel

This commit is contained in:
Raphael Goetter 2016-12-07 10:57:06 +01:00
parent cfcf082c8a
commit 12239d8b07
4 changed files with 11 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "KNACSS",
"version": "6.0.6",
"version": "6.0.7",
"homepage": "http://www.knacss.com/",
"authors": [
"Raphaël GOETTER, Alsacreations"

View file

@ -1,3 +1,6 @@
# changelog v6.0.7 (7 décembre 2016)
- application de `$font-stack-headings` uniquement si différent de `$font-stack-common`
# changelog v6.0.6 (2 décembre 2016)
- Grillade : redéfinition du périmètre de `-small` : passe de `(min-width: ($tiny + 1)) and (max-width: $small)` à `(min-width: ($tiny + 1)) and (max-width: $medium)` (de 544px à 991px par défaut)

View file

@ -1,6 +1,6 @@
{
"name": "knacss",
"version": "6.0.6",
"version": "6.0.7",
"homepage": "http://www.knacss.com/",
"bugs": "https://github.com/alsacreations/KNACSS/issues",
"author": [

View file

@ -71,10 +71,16 @@ figure {
h1, .#{$kna-namespace}h1-like {
font-size: $h1-size;
@if $font-stack-headings != $font-stack-common {
font-family: $font-stack-headings;
}
}
h2, .#{$kna-namespace}h2-like {
font-size: $h2-size;
@if $font-stack-headings != $font-stack-common {
font-family: $font-stack-headings;
}
}
h3, .#{$kna-namespace}h3-like {