Button

Buttons rely on color helpers for background and text color. The variations are simply sizes. One catch is that are buttons run small in sizes so the names aren't true to their padding and font-size assignments.

.c-button
.c-button--standard
Custom-sized button found throughout our products. Has a hard-set height and line-height for vertical alignment.
.c-button--l
Uses size-l for font size and padding


<button class="c-button c-button--l">
    Button
</button>

This class isn't referenced anywhere
.c-button--s
One step down from default


<button class="c-button c-button--s">
    Button
</button>

RepoCountLocation(s)
donations 3
texastribune 5
feature-texan-since-responses-2019-09 2
smaragdine-september 1
docker-tt-nginx 1
.c-button--xs
Two steps down from default


<button class="c-button c-button--xs">
    Button
</button>

RepoCountLocation(s)
texastribune 1
.c-button--circle
Fixed height and width button paired with is-rounded-full


<button class="c-button c-button--circle is-rounded-full">
    <span class="l-align-center-y t-size-xxs"><span class="c-icon c-icon--arrow-up l-display-block"><svg aria-hidden="true">
        <use xlink:href="#arrow-up"></use>
    </svg></span>Back to Top</span>
</button>

RepoCountLocation(s)
texastribune 1
.c-button--outline
Hover effect of outline (used on social)


<button class="c-button c-button--outline has-text-facebook has-bg-facebook has-text-hover-facebook l-align-center-children">
    <span class="c-button__inner c-icon"><svg aria-hidden="true">
        <use xlink:href="#facebook"></use>
    </svg></span>
</button>

.c-button--skip
Visible only on focus, this is used to skip navigation


<button class="c-button c-button--skip">
    Button
</button>

RepoCountLocation(s)
texastribune 2
smaragdine-september 1
docker-tt-nginx 1