Sha256: f73a48373515c2472ab7377b232db6a86892b32e24eee2b57992acec29edd1f8

Contents?: true

Size: 1.07 KB

Versions: 94

Compression:

Stored size: 1.07 KB

Contents

@import "../utilities/derived-variables"

@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

94 entries across 94 versions & 11 rubygems

Version Path
intia-theme-0.1.60 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.59 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.58 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.57 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.56 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.55 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.54 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.53 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.52 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.51 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.50 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.49 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.48 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.47 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.46 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.45 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.44 node_modules/bulma/sass/helpers/color.sass
bulma-clean-theme-0.13.1 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.43 node_modules/bulma/sass/helpers/color.sass
intia-theme-0.1.42 node_modules/bulma/sass/helpers/color.sass