Sha256: 7ed384c38a33207e10d267a3c18fc0836d2865d3ffe16804246787d5811ce617

Contents?: true

Size: 1.18 KB

Versions: 9

Compression:

Stored size: 1.18 KB

Contents

@if $theme-bg {
  .theme-bg {
    background: $theme-bg;
  }


  .theme-bg-dark {
    background: gradient-mask(black, 0.1), $theme-bg;
  }

  .theme-bg-darker {
    background: gradient-mask(black, 0.2), $theme-bg;
  }

  .theme-bg-darkest {
    background: gradient-mask(black, 0.3), $theme-bg;
  }


  .theme-bg-light {
    background: gradient-mask(white, 0.1), $theme-bg;
  }

  .theme-bg-lighter {
    background: gradient-mask(white, 0.2), $theme-bg;
  }

  .theme-bg-lightest {
    background: gradient-mask(white, 0.3), $theme-bg;
  }
} @else {
  .theme-bg {
    background-color: $theme-bg-color;
  }


  .theme-bg-dark {
    background-color: darken($theme-bg-color, $theme-color-interval);
  }

  .theme-bg-darker {
    background-color: darken($theme-bg-color, $theme-color-interval * 2);
  }

  .theme-bg-darkest {
    background-color: darken($theme-bg-color, $theme-color-interval * 3);
  }


  .theme-bg-light {
    background-color: lighten($theme-bg-color, $theme-color-interval);
  }

  .theme-bg-lighter {
    background-color: lighten($theme-bg-color, $theme-color-interval * 2);
  }

  .theme-bg-lightest {
    background-color: lighten($theme-bg-color, $theme-color-interval * 3);
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
trestle-0.9.8 frontend/theme/trestle/theme/trestle/_background.scss
trestle-0.9.7 frontend/theme/trestle/theme/trestle/_background.scss
trestle-0.9.6 frontend/theme/trestle/theme/trestle/_background.scss
trestle-0.9.5 frontend/theme/trestle/theme/trestle/_background.scss
trestle-0.9.4 frontend/theme/trestle/theme/trestle/_background.scss
trestle-0.9.3 frontend/theme/trestle/theme/trestle/_background.scss
trestle-0.9.2 frontend/theme/trestle/theme/trestle/_background.scss
trestle-0.9.1 frontend/theme/trestle/theme/trestle/_background.scss
trestle-0.9.0 frontend/theme/trestle/theme/trestle/_background.scss