Sha256: f7d36d643ee8d7b2415d97ed65ad0d830f5255d02ed92e9f0dbced29d7dcb925

Contents?: true

Size: 1.84 KB

Versions: 90

Compression:

Stored size: 1.84 KB

Contents

:root {
  // Note: Custom variable values only support SassScript inside `#{}`.

  // Colors
  //
  // Generate palettes for full colors, grays, and theme colors.

  @each $color, $value in $colors {
    --#{$variable-prefix}#{$color}: #{$value};
  }

  @each $color, $value in $grays {
    --#{$variable-prefix}gray-#{$color}: #{$value};
  }

  @each $color, $value in $theme-colors {
    --#{$variable-prefix}#{$color}: #{$value};
  }

  @each $color, $value in $theme-colors-rgb {
    --#{$variable-prefix}#{$color}-rgb: #{$value};
  }

  --#{$variable-prefix}white-rgb: #{to-rgb($white)};
  --#{$variable-prefix}black-rgb: #{to-rgb($black)};
  --#{$variable-prefix}body-color-rgb: #{to-rgb($body-color)};
  --#{$variable-prefix}body-bg-rgb: #{to-rgb($body-bg)};

  // Fonts

  // Note: Use `inspect` for lists so that quoted items keep the quotes.
  // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
  --#{$variable-prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
  --#{$variable-prefix}font-monospace: #{inspect($font-family-monospace)};
  --#{$variable-prefix}gradient: #{$gradient};

  // Root and body
  // stylelint-disable custom-property-empty-line-before
  // scss-docs-start root-body-variables
  @if $font-size-root != null {
    --#{$variable-prefix}root-font-size: #{$font-size-root};
  }
  --#{$variable-prefix}body-font-family: #{$font-family-base};
  --#{$variable-prefix}body-font-size: #{$font-size-base};
  --#{$variable-prefix}body-font-weight: #{$font-weight-base};
  --#{$variable-prefix}body-line-height: #{$line-height-base};
  --#{$variable-prefix}body-color: #{$body-color};
  @if $body-text-align != null {
    --#{$variable-prefix}body-text-align: #{$body-text-align};
  }
  --#{$variable-prefix}body-bg: #{$body-bg};
  // scss-docs-end root-body-variables
  // stylelint-enable custom-property-empty-line-before
}

Version data entries

90 entries across 90 versions & 9 rubygems

Version Path
rails_admin-3.3.0 vendor/assets/stylesheets/rails_admin/bootstrap/_root.scss
card-mod-bootstrap-0.18.1 vendor/bootstrap/scss/_root.scss
card-mod-bootstrap-0.18.0 vendor/bootstrap/scss/_root.scss
rails_admin-3.2.1 vendor/assets/stylesheets/rails_admin/bootstrap/_root.scss
headmin-0.6.3 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_root.scss
rails_admin-3.2.0 vendor/assets/stylesheets/rails_admin/bootstrap/_root.scss
rails_admin-3.2.0.rc vendor/assets/stylesheets/rails_admin/bootstrap/_root.scss
rails_admin-3.2.0.beta vendor/assets/stylesheets/rails_admin/bootstrap/_root.scss
rails_admin-3.1.4 vendor/assets/stylesheets/rails_admin/bootstrap/_root.scss
rails_admin-3.1.3 vendor/assets/stylesheets/rails_admin/bootstrap/_root.scss
card-mod-bootstrap-0.17.0 vendor/bootstrap/scss/_root.scss
card-mod-bootstrap-0.16.0 vendor/bootstrap/scss/_root.scss
vitat-css-0.1.3 bootstrap/scss/_root.scss
vitat-css-0.1.2 bootstrap/scss/_root.scss
card-mod-bootstrap-0.15.6 vendor/bootstrap/scss/_root.scss
jekyll-theme-petridish-3.0 _sass/bootstrap/_root.scss
card-mod-bootstrap-0.15.5 vendor/bootstrap/scss/_root.scss
card-mod-bootstrap-0.15.4 vendor/bootstrap/scss/_root.scss
card-mod-bootstrap-0.15.3 vendor/bootstrap/scss/_root.scss
card-mod-bootstrap-0.15.1.2 vendor/bootstrap/scss/_root.scss