Skip to content

Commit ec53c3b

Browse files
authored
fix(site): show degraded status as muted green, like the status page (#62406)
1 parent 151a14a commit ec53c3b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • services/site/src/component/site

‎services/site/src/component/site/site.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,8 +1379,9 @@ html:has([data-site][data-theme="dark"]) {
13791379
flex: 0 0 calc((100% - 4 * 2px) / 5 - 1px);
13801380
background: var(--status-ok);
13811381

1382+
/* As on the status page: degraded is the positive green, muted, not a warning color. */
13821383
&[data-state="degraded"] {
1383-
background: var(--status-degraded);
1384+
background: color-mix(in srgb, var(--status-ok) 40%, transparent);
13841385
}
13851386

13861387
&[data-state="outage"] {

0 commit comments

Comments
 (0)