Sha256: df1149e6cd32c2fa5d52e0f7af07c3dfaee8201781951666604d30c54a3d0d81

Contents?: true

Size: 381 Bytes

Versions: 4

Compression:

Stored size: 381 Bytes

Contents

// Custom mixins and functions

/// Slightly lighten a color
@function tint($color, $percentage){
  @return mix(white, $color, $percentage);
}

/// Slightly darken a color
@function shade($color, $percentage){
  @return mix(black, $color, $percentage);
}

//Small caps
@mixin smallcaps{
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .1em;
  font-size: .9em;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-admin-0.9.3 app/assets/stylesheets/decidim/admin/utils/_mixins.scss
decidim-admin-0.9.2 app/assets/stylesheets/decidim/admin/utils/_mixins.scss
decidim-admin-0.9.1 app/assets/stylesheets/decidim/admin/utils/_mixins.scss
decidim-admin-0.9.0 app/assets/stylesheets/decidim/admin/utils/_mixins.scss