fix(client): replace lingering hardcoded colours with theme tokens
- Default status-page colour now uses the brand green instead of a royal-blue hex - PageSpeed API-key alert pulls from theme.palette.warning + alpha for both modes instead of hand-rolled amber values - Settings JSON preview block uses action.hover instead of the hand-rolled #1e1e1e/#f5f5f5 pair - Drop the redundant #E0E0E0 thumb override on SwitchComponent so the theme MuiSwitch override actually wins
This commit is contained in:
1 parent
d678b3a304
commit
2ec55c6469
4 files changed
+15
-24
No files matched your search
@@ -28,7 +28,7 @@ export const useStatusPageForm = ({
|
||||
url: data?.url || generateDefaultUrl(),
|
||||
timezone: data?.timezone || Intl.DateTimeFormat().resolvedOptions().timeZone,
|
||||
type: data?.type || ["uptime"],
|
||||
color: data?.color || "#4169E1",
|
||||
color: data?.color || "#13715B",
|
||||
monitors: data?.monitors || [],
|
||||
isPublished: data?.isPublished ?? false,
|
||||
showCharts: data?.showCharts ?? true,
|
||||
|
||||
Reference in new issue
Block a user