Sha256: a223432ea3ad008dc6e037f0371aced9e5767d618deb3cd274ed4858432c79d0

Contents?: true

Size: 736 Bytes

Versions: 11

Compression:

Stored size: 736 Bytes

Contents

/* ==========================================================================
   Color Functions
   ========================================================================== */

/// Slightly lighten a color
/// @access public
/// @param {Color} $color - color to tint
/// @param {Number} $percentage - percentage of `$color` in returned color
/// @return {Color}
@function tint($color, $percentage) {
  @return mix(#fff, $color, $percentage);
}

/// Slightly darken a color
/// @access public
/// @param {Color} $color - color to shade
/// @param {Number} $percentage - percentage of `$color` in returned color
/// @return {Color}
@function shade($color, $percentage) {
  @return mix(#000, $color, $percentage);
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
jekyll-theme-so-simple-3.1.0 _sass/so-simple/functions/_color.scss
jekyll-theme-basically-basic-1.3.1 _sass/basically-basic/functions/_color.scss
jekyll-theme-basically-basic-1.3.0 _sass/basically-basic/functions/_color.scss
jekyll-theme-so-simple-3.0.1 _sass/so-simple/functions/_color.scss
jekyll-theme-so-simple-3.0.0 _sass/so-simple/functions/_color.scss
jekyll-theme-basically-basic-1.2.0 _sass/basically-basic/functions/_color.scss
jekyll-theme-basically-basic-1.1.3 _sass/basically-basic/mixins/_color.scss
jekyll-theme-basically-basic-1.1.2 _sass/basically-basic/mixins/_color.scss
jekyll-theme-basically-basic-1.1.1 _sass/basically-basic/mixins/_color.scss
jekyll-theme-basically-basic-1.1.0 _sass/basically-basic/mixins/_color.scss
jekyll-theme-basically-basic-1.0.1 _sass/basically-basic/mixins/_color.scss