Sha256: 16fc127b90e0282c4dcbb6acf6b12dfaf213a01c4ed5806ff9f35e975d953f2d

Contents?: true

Size: 454 Bytes

Versions: 99

Compression:

Stored size: 454 Bytes

Contents

// stylelint-disable function-name-case

// All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251
@each $color, $value in $theme-colors {
  $color-rgb: to-rgb($value);
  .text-bg-#{$color} {
    color: color-contrast($value) if($enable-important-utilities, !important, null);
    background-color: RGBA($color-rgb, var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null);
  }
}

Version data entries

99 entries across 99 versions & 9 rubygems

Version Path
docs-gem01-0.1.1 _sass/bootstrap/scss/helpers/_color-bg.scss
docs-gem01-0.1.0.dev _sass/bootstrap/scss/helpers/_color-bg.scss
raikar10-0.1.2 _sass/bootstrap/scss/helpers/_color-bg.scss
raikar10-0.1.0 _sass/bootstrap/scss/helpers/_color-bg.scss
raikar09-0.1.4 _sass/bootstrap/scss/helpers/_color-bg.scss
raikar09-0.1.3 _sass/bootstrap/scss/helpers/_color-bg.scss
raikar09-0.1.2 _sass/bootstrap/scss/helpers/_color-bg.scss
raikar09-0.1.1 _sass/bootstrap/scss/helpers/_color-bg.scss
raikar09-0.1.0 _sass/bootstrap/scss/helpers/_color-bg.scss
raikar08-0.1.0 _sass/bootstrap/scss/helpers/_color-bg.scss
darkade.github.io-theme-1.7.2 _sass/bootstrap/helpers/_color-bg.scss
darkade.github.io-theme-1.7.0 _sass/bootstrap/helpers/_color-bg.scss
elixir-toolkit-theme-2.1.0 _sass/bootstrap/helpers/_color-bg.scss
elixir-toolkit-theme-2.0.0 _sass/bootstrap/helpers/_color-bg.scss
paraqeet-0.10.0 _sass/bootstrap/helpers/_color-bg.scss
jekyll-theme-centos-2.3.0.beta.90 _sass/bootstrap/helpers/_color-bg.scss
jekyll-theme-centos-2.3.0.beta.89 _sass/bootstrap/helpers/_color-bg.scss
jekyll-theme-centos-2.3.0.beta.88 _sass/bootstrap/helpers/_color-bg.scss
jekyll-theme-centos-2.3.0.beta.87 _sass/bootstrap/helpers/_color-bg.scss
jekyll-theme-centos-2.3.0.beta.86 _sass/bootstrap/helpers/_color-bg.scss