1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 04:21:12 +03:00
css/docs/states.md

27 lines
613 B
Markdown
Raw Normal View History

---
layout: page
title: States
---
States, or state indicators, inform users of the current status of a particular item. Included common states are Open, Closed, or Merged, each requiring it's own modifier class.
### Open (green)
{% example html %}
<span class="state state-open">Open</span>
<span class="state state-proposed">Open</span>
<span class="state state-reopened">Open</span>
{% endexample %}
### Closed (red)
{% example html %}
<span class="state state-closed">Closed</span>
{% endexample %}
### Merged (purple)
{% example html %}
<span class="state state-merged">Merged</span>
{% endexample %}