~xdavidwu/uptime-monitor

cf97d27339bd29a9b13c6fde1f586934a85a2baf — xdavidwu 3 years ago aecee1b
view: provide dark theme
1 files changed, 15 insertions(+), 0 deletions(-)

M resources/views/uptime.blade.php
M resources/views/uptime.blade.php => resources/views/uptime.blade.php +15 -0
@@ 106,6 106,21 @@
            .uptime-item.unknown {
                background: #ccc;
            }

            @media (prefers-color-scheme: dark) {
                body {
                    background: black;
                    color: white;
                }

                .card {
                    background: #202124;
                }

                .uptime-item.unknown {
                    background: #666;
                }
            }
        </style>
    </head>
    <body>