Sha256: a514f8b3c58343e4e5603040afb5e56d372a509096733bbe08313c1ce01116de

Contents?: true

Size: 1.14 KB

Versions: 13

Compression:

Stored size: 1.14 KB

Contents

@each $txtName, $txtSize in $textSizes {
    // .#{$txtName}, .txt-#{$txtName}, .#{$txtName}-txt  {
    .txt-#{$txtName}, .#{$txtName}-txt,
    .text-#{$txtName}, .#{$txtName}-text  {
        font-size: #{ $txtSize };
        color: $text-black;
        font-weight: map-get($textWeights, $txtName);
        &.secondary, &.light { color: $text-gray; }
        &.disabled, &.lighter, &.off { color: $text-gray-light; }
        &.bold, &.strong, & > b, & > strong { font-weight: map-get($textBoldWeights, $txtName); }
    }
}


// Bold text
// strong, *.bold, label, th { font-weight: $bold !important; }
strong, *.bold, *.strong { font-weight: $bold !important; }

// Semi-Bold text
.semi   { font-weight: $semi !important; }

// Semi-Bold text
.regular   { font-weight: $regular !important; }

// Semi-Bold text
.thin   { font-weight: $thin !important; }

// Semi-Bold text
.italic   { font-style: italic !important; }

// Monospace Font
.mono   { font-family: $monoFontFamily; }

// upcased text
@mixin upcase {
  text-transform: uppercase;
  // letter-spacing: 2px;
  // word-spacing: 3px;
  letter-spacing: .05em;
  word-spacing: .1em;
}
.upcase {
  @include upcase;
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
better_styles-0.0.0.338 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.0.337 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.0.336 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.0.335 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.0.334 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.0.333 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.0.332 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.0.331 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.0.33 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.5 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.4 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.3 assets/stylesheets/better/content/_typography.scss
better_styles-0.0.2 assets/stylesheets/better/content/_typography.scss