Sha256: aa54e5db85276f32581b1c9ca355359cd0588376099f051cdd02b6e0cce35412

Contents?: true

Size: 463 Bytes

Versions: 169

Compression:

Stored size: 463 Bytes

Contents

@charset "UTF-8";

/// Mixes a color with white.
///
/// @param {Color} $color
///
/// @param {Number (Percentage)} $percent
///   The amount of white to be mixed in.
///
/// @example scss - Usage
///   .element {
///     background-color: tint(#6ecaa6, 40%);
///   }
///
/// @example css - CSS Output
///   .element {
///     background-color: #a8dfc9;
///   }
///
/// @return {Color}

@function tint($color, $percent) {
  @return mix(#fff, $color, $percent);
}

Version data entries

169 entries across 162 versions & 26 rubygems

Version Path
middleman-core-4.5.1 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.5.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.4.3 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.4.2 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.4.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.11 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.10 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.8 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.7 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.6 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.5 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.4 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.3 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.2 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.1 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
middleman-core-4.3.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss
federalist-basic-report-theme-0.1.7 _sass/uswds/lib/functions/_tint.scss
uswds-jekyll-4.2.0 _sass/uswds/lib/functions/_tint.scss
middleman-core-4.3.0.rc.4 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_tint.scss