Sha256: 056f30884238d221d072d2eb1a1fda192a4ba6f7c405f8648e6f6f5fb596483e

Contents?: true

Size: 1.1 KB

Versions: 369

Compression:

Stored size: 1.1 KB

Contents

@import "../tokens/colors";
@import "../tokens/typography";

$pb_caption_colors: (
  default:        $text_lt_default,
  light:          $text_lt_light,
  link:           $primary,
  lighter:        $text_lt_lighter,
  success:        $text_lt_success_sm,
  error:          $error,
);

$pb_dark_caption_colors: (
  default:        $text_dk_default,
  light:          $text_dk_light,
  link:           $primary,
  success:        $text_dk_success_sm,
  error:          $error,
);


@mixin caption($font_size: $font_smaller, $font_weight: $bold) {
  font-weight: $font_weight;
  color: $text_lt_light;
  text-transform: uppercase;
  font-size: $font_size;
  letter-spacing: $lspace_looser;
}

@mixin caption_color($color: $text_lt_light) {
  color: $color;
}

@mixin caption_lg {
  @include caption($font_large, $regular);
}

@mixin caption_xs {
  @include caption($font_smaller, $regular);
  text-transform: none;
  letter-spacing: unset;
}

@mixin caption_dark {
  color: $text_dk_light;
}
@mixin pb_caption_kit_colors {
  @each $name, $color in $pb_caption_colors {
    &[class*="#{$name}"] {
      color: $color
    }
  }
}

Version data entries

369 entries across 369 versions & 1 rubygems

Version Path
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2197 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarnreactrouterdom62212196 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarntypescripteslintparser56202194 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.PLAY12062192 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2183 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2181 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2180 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2179 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2178 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.PLAY12062177 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2176 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarnpowerhomeplaybookicons001alpha52175 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarnpowerhomeplaybookicons001alpha52174 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2173 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2159 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.17.0.pre.alpha.nodealphaupgrade2157 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.18.0 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2130 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.16.0.pre.alpha.PLAY12002127 app/pb_kits/playbook/pb_caption/_caption_mixin.scss
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2107 app/pb_kits/playbook/pb_caption/_caption_mixin.scss