sass-planifolia

Vanilla Sass helper functions
git clone https://git.ce9e.org/sass-planifolia.git

commit
601d036d2394fd8f30ad49bc671d28e2be2f0444
parent
899040a9573f597477344411242cca23915a0e1a
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2017-12-04 22:52
further refine approximation

Diffstat

M sass/contrast.scss 3 ++-

1 files changed, 2 insertions, 1 deletions


diff --git a/sass/contrast.scss b/sass/contrast.scss

@@ -35,7 +35,8 @@ $planifolia-contrast-light-default: white !default;
   35    35       //
   36    36       // NOTE that `contrast()` amplifies the errors generated here.
   37    37       // The factors a chosen to minify that effect.
   38    -1       @return .56 * ($c * $c * $c) + .44 * ($c * $c);
   -1    38       $cc: $c * $c;
   -1    39       @return .4 * $cc + .8 * ($cc * $c) - .2 * ($cc * $cc);
   39    40     }
   40    41   }
   41    42 }