diff --git a/bower.json b/bower.json index d291663..899c4ee 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "KNACSS", - "version": "6.0.3", + "version": "6.0.4", "homepage": "http://www.knacss.com/", "authors": [ "Raphaël GOETTER, Alsacreations" diff --git a/changelog.md b/changelog.md index 3ae968f..f31093c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,6 @@ +# changelog v6.0.4 (22 novembre 2016) +- renommage des variables + # changelog v6.0.3 (10 novembre 2016) - renommage `grid-item-*` en `item-*` pour éviter [les conflits](https://github.com/alsacreations/KNACSS/issues/222) diff --git a/package.json b/package.json index 52b3219..39064d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "knacss", - "version": "6.0.3", + "version": "6.0.4", "homepage": "http://www.knacss.com/", "bugs": "https://github.com/alsacreations/KNACSS/issues", "author": [ diff --git a/sass/_config/_variables.scss b/sass/_config/_variables.scss index 5f6fecb..93bff3e 100644 --- a/sass/_config/_variables.scss +++ b/sass/_config/_variables.scss @@ -15,15 +15,18 @@ $font-stack-common : sans-serif !default; // common font $font-stack-headings : sans-serif !default; // headings font $font-stack-monospace : consolas, courier, monospace !default; // monospace font -// colors (content and/or backgrounds) -$base-color : #000 !default; -$alpha-color : #fff !default; -$beta-color : #333 !default; -$gamma-color : #000 !default; -$delta-color : #000 !default; -$epsilon-color : #000 !default; -$zeta-color : #333 !default; -$theta-color : #000 !default; +// color scheme +$color1 : #000 !default; +$color2 : #fff !default; +$color3 : #333 !default; +$color4 : #000 !default; + +// colors used +$base-color: $color1; +$link-color: $color3; +$base-background : $color2; +$link-hover-color: $color4; + // spacings (choose unit you prefer) $tiny-value : .5rem !default; // tiny value for margins / paddings diff --git a/sass/library/_base.scss b/sass/library/_base.scss index 9ae0bab..f3099c2 100644 --- a/sass/library/_base.scss +++ b/sass/library/_base.scss @@ -21,16 +21,16 @@ html { body { font-size: $base-font-size; - background-color: $alpha-color; + background-color: $base-background; color: $base-color; font-family: $font-stack-common; line-height: $line-height; } a { - color: $zeta-color; + color: $link-color; &:hover, &:focus, &:active { - color: $base-color; + color: $link-hover-color; } }