Sha256: d9a0b3a97c08f6bfaa58fc797c10b0463be291be0a7ecca74b0f64047eab9ba4

Contents?: true

Size: 1.03 KB

Versions: 23

Compression:

Stored size: 1.03 KB

Contents

@each $name, $pair in $colors
  $color: nth($pair, 1)
  .has-text-#{$name}
    color: $color !important
  a.has-text-#{$name}
    &:hover,
    &:focus
      color: bulmaDarken($color, 10%) !important
  .has-background-#{$name}
    background-color: $color !important
  @if length($pair) >= 4
    $color-light: nth($pair, 3)
    $color-dark: nth($pair, 4)
    // Light
    .has-text-#{$name}-light
      color: $color-light !important
    a.has-text-#{$name}-light
      &:hover,
      &:focus
        color: bulmaDarken($color-light, 10%) !important
    .has-background-#{$name}-light
      background-color: $color-light !important
    // Dark
    .has-text-#{$name}-dark
      color: $color-dark !important
    a.has-text-#{$name}-dark
      &:hover,
      &:focus
        color: bulmaLighten($color-dark, 10%) !important
    .has-background-#{$name}-dark
      background-color: $color-dark !important

@each $name, $shade in $shades
  .has-text-#{$name}
    color: $shade !important
  .has-background-#{$name}
    background-color: $shade !important

Version data entries

23 entries across 23 versions & 6 rubygems

Version Path
bulma-clean-theme-0.11.2 node_modules/bulma/sass/helpers/color.sass
bulma-clean-theme-0.11.1 node_modules/bulma/sass/helpers/color.sass
bulma-clean-theme-0.11 node_modules/bulma/sass/helpers/color.sass
bulma-clean-theme-0.10.6 node_modules/bulma/sass/helpers/color.sass
vitrina-0.3.1 node_modules/bulma/sass/helpers/color.sass
bulma-clean-theme-0.10.5 node_modules/bulma/sass/helpers/color.sass
prosecco-0.1.2 _sass/sass/helpers/color.sass
prosecco-0.1.1 _sass/sass/helpers/color.sass
prosecco-0.1.0 _sass/sass/helpers/color.sass
bulma-clean-theme-0.10.4 node_modules/bulma/sass/helpers/color.sass
bulma-rails-0.9.1 app/assets/stylesheets/sass/helpers/color.sass
bulma-clean-theme-0.10.3 node_modules/bulma/sass/helpers/color.sass
bulma-clean-theme-0.10.2 node_modules/bulma/sass/helpers/color.sass
bulma-sass-0.9.1 app/assets/stylesheets/sass/helpers/color.sass
bulma-sass-0.9.0 app/assets/stylesheets/sass/helpers/color.sass
bulma-clean-theme-0.10.1 node_modules/bulma/sass/helpers/color.sass
bulma-clean-theme-0.10 node_modules/bulma/sass/helpers/color.sass
bulma-clean-theme-0.9.2 node_modules/bulma/sass/helpers/color.sass
bulma-clean-theme-0.9.1 node_modules/bulma/sass/helpers/color.sass
vitrina-0.3.0 node_modules/bulma/sass/helpers/color.sass