refactor: add dark theme in status page

This commit is contained in:
moonrailgun 2023-12-16 13:41:20 +08:00
parent 63145c1e4b
commit 824d5cd14e
2 changed files with 5 additions and 1 deletions

View File

@ -23,6 +23,10 @@ a {
height: 100%; height: 100%;
} }
.App.dark {
@apply bg-gray-900 text-white;
}
/* Scrollbar */ /* Scrollbar */
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 8px; width: 8px;

View File

@ -16,7 +16,7 @@ export const StatusPage: React.FC = React.memo(() => {
const monitorList = info?.monitorList ?? []; const monitorList = info?.monitorList ?? [];
return ( return (
<div className="w-4/5 mx-auto py-8"> <div className="w-4/5 mx-auto py-8 ">
<div className="text-2xl mb-4">{info?.title}</div> <div className="text-2xl mb-4">{info?.title}</div>
<div className="text-lg mb-2">Services</div> <div className="text-lg mb-2">Services</div>