Icon
SVG icon class. Icons will take the size of parent font-size. Default fill is yellow with a helper for white, teal, and gray icons.
.c-icon
<span class="c-icon ">
<svg aria-hidden="true">
<use xlink:href="#search"></use>
</svg>
</span>
Words next to the icon!
Repo | Count | Location(s) |
---|---|---|
feature-general-ballot-2020-08 | 1 | |
feature-voter-guide-general-2020-08 | 2 | |
data-visuals-create | 1 | |
texastribune | 4 | |
state-salaries-draft | 1 | |
donations | 4 | |
prisons | 2 | |
docker-tt-nginx | 1 |
.c-icon--yellow
Forces a yellow fill. Can likely be replaced for color helper.
<span class="c-icon c-icon--yellow">
<svg aria-hidden="true">
<use xlink:href="#search"></use>
</svg>
</span>
Words next to the icon!
Repo | Count | Location(s) |
---|---|---|
texastribune | 5 | |
donations | 2 | |
smaragdine-september | 1 | |
docker-tt-nginx | 2 | |
state-salaries-draft | 1 |
.c-icon--baseline
Forces a the vertical alignment to the baseline of the font.
<span class="c-icon c-icon--baseline">
<svg aria-hidden="true">
<use xlink:href="#search"></use>
</svg>
</span>
Words next to the icon!
Repo | Count | Location(s) |
---|---|---|
prisons | 2 | |
donations | 2 | |
state-salaries-draft | 3 | |
texastribune | 9 | |
docker-tt-nginx | 2 | |
smaragdine-september | 1 |