1
1
mirror of https://github.com/primer/css.git synced 2024-12-12 10:47:14 +03:00

Remove presentational .State classes

This commit is contained in:
simurai 2021-03-08 14:02:21 +09:00
parent fe6c4ef466
commit f1da379980

View File

@ -26,21 +26,18 @@
border: $border-width $border-style var(--color-pr-state-draft-border); border: $border-width $border-style var(--color-pr-state-draft-border);
} }
.State--green, // TODO: Deprecate
.State--open { .State--open {
color: var(--color-pr-state-open-text); color: var(--color-pr-state-open-text);
background-color: var(--color-pr-state-open-bg); background-color: var(--color-pr-state-open-bg);
border-color: var(--color-pr-state-open-border); border-color: var(--color-pr-state-open-border);
} }
.State--purple, // TODO: Deprecate
.State--merged { .State--merged {
color: var(--color-pr-state-merged-text); color: var(--color-pr-state-merged-text);
background-color: var(--color-pr-state-merged-bg); background-color: var(--color-pr-state-merged-bg);
border-color: var(--color-pr-state-merged-border); border-color: var(--color-pr-state-merged-border);
} }
.State--red, // TODO: Deprecate
.State--closed { .State--closed {
color: var(--color-pr-state-closed-text); color: var(--color-pr-state-closed-text);
background-color: var(--color-pr-state-closed-bg); background-color: var(--color-pr-state-closed-bg);