renommage des variables

This commit is contained in:
Raphael Goetter 2016-11-22 14:47:41 +01:00
parent b1d5168221
commit f609505066
5 changed files with 20 additions and 14 deletions

View file

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

View file

@ -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)

View file

@ -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": [

View file

@ -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

View file

@ -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;
}
}