#Letter Spacing

New
0.7.0

These are utility classes that specify the letter spacing (tracking) of an element.

ClassStyles
tracking-tightest
letter-spacing: -.075em !important
tracking-tighter
letter-spacing: -.05em !important
tracking-tight
letter-spacing: -.025em !important
tracking-normal
letter-spacing: 0 !important
tracking-loose
letter-spacing: .025em !important
tracking-looser
letter-spacing: .05em !important
tracking-loosest
letter-spacing: .1em !important

#Examples

Below is a demo of all utility classes that apply a border radius of some sort. The syntax follows the form of u-round-[xs|sm|md|lg|xl|full].

tracking-tightest

The quick brown fox jumps over the lazy dog.

tracking-tighter

The quick brown fox jumps over the lazy dog.

tracking-tight

The quick brown fox jumps over the lazy dog.

tracking-normal

The quick brown fox jumps over the lazy dog.

tracking-loose

The quick brown fox jumps over the lazy dog.

tracking-looser

The quick brown fox jumps over the lazy dog.

tracking-loosest

The quick brown fox jumps over the lazy dog.

<div class="mb-4">
  <p class="text-gray-600 mb-0">
    <b>tracking-tightest</b>
  </p>
  <h4 class="tracking-tightest font-normal mt-0">The quick brown fox jumps over the lazy dog.</h4>
</div>
<div class="mb-4">
  <p class="text-gray-600 mb-0">
    <b>tracking-tighter</b>
  </p>
  <h4 class="tracking-tighter font-normal mt-0">The quick brown fox jumps over the lazy dog.</h4>
</div>
<div class="mb-4">
  <p class="text-gray-600 mb-0">
    <b>tracking-tight</b>
  </p>
  <h4 class="tracking-tight font-normal mt-0">The quick brown fox jumps over the lazy dog.</h4>
</div>
<div class="mb-4">
  <p class="text-gray-600 mb-0">
    <b>tracking-normal</b>
  </p>
  <h4 class="tracking-normal font-normal mt-0">The quick brown fox jumps over the lazy dog.</h4>
</div>
<div class="mb-4">
  <p class="text-gray-600 mb-0">
    <b>tracking-loose</b>
  </p>
  <h4 class="tracking-loose font-normal mt-0">The quick brown fox jumps over the lazy dog.</h4>
</div>
<div class="mb-4">
  <p class="text-gray-600 mb-0">
    <b>tracking-looser</b>
  </p>
  <h4 class="tracking-looser font-normal mt-0">The quick brown fox jumps over the lazy dog.</h4>
</div>
<div class="mb-4">
  <p class="text-gray-600 mb-0">
    <b>tracking-loosest</b>
  </p>
  <h4 class="tracking-loosest font-normal mt-0">The quick brown fox jumps over the lazy dog.</h4>
</div>

#Variants

The classes specified above are the default utility classes for setting the border-radius property. You can add, change, or remove classes within the _config.scss file of Cirrus.

// _config.scss
$config: (
    extend: (
        letter-spacing: (
            2x-tighter: '-.1em'
        )
    )
) !default;

This would generate the following classes.

.tracking-2x-tighter {
    letter-spacing: -.1rem !important;
}

Learn more about how to extend Cirrus to support your use cases in the Configuration documentation.