Skip to content

Commit 237a267

Browse files
authored
style: Fix color-bg references (#1386)
Closes HDX-2866 This PR updates references to background colors (color-success and color-danger no longer exist). The background colors now render: <img width="211" height="281" alt="Screenshot 2025-11-19 at 1 56 03 PM" src="https://github.com/user-attachments/assets/04102b3a-e03a-40b5-bd20-4bb2dc11edbe" /> <img width="210" height="128" alt="Screenshot 2025-11-19 at 1 56 49 PM" src="https://github.com/user-attachments/assets/4ca09e95-f078-4bad-9790-f6f76afccd55" />
1 parent f868c3c commit 237a267

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.changeset/giant-moles-help.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperdx/app": patch
3+
---
4+
5+
style: Fix missing AlertHistory colors

packages/app/styles/AlertsPage.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
}
3333

3434
&.ok {
35-
background-color: var(--color-success);
35+
background-color: var(--color-bg-success);
3636
}
3737

3838
&.alarm {
39-
background-color: var(--color-danger);
39+
background-color: var(--color-bg-danger);
4040
}
4141
}
4242

packages/app/styles/LogTable.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ $button-height: 18px;
172172
}
173173

174174
&.copied {
175-
color: var(--color-success);
175+
color: var(--color-bg-success);
176176
}
177177
}
178178

0 commit comments

Comments
 (0)