~emersion/sinwon

d9c1ec898869abba663511af36a6839586bca12a — Simon Ser 7 months ago 3695587
Add dark theme

Co-authored-by: ~ckyb
Closes: https://todo.sr.ht/~emersion/sinwon/28
1 files changed, 27 insertions(+), 0 deletions(-)

M static/style.css
M static/style.css => static/style.css +27 -0
@@ 96,3 96,30 @@ main.narrow {
main.narrow input {
	max-width: 100%;
}

@media (prefers-color-scheme: dark) {
	body {
		background: #212529;
		color: #f8f9fa;
	}

	nav {
		border-color: rgba(255, 255, 2555, 0.02);
	}

	a {
		color: #809fff;
	}

	button {
		color: #f8f9fa;
	}
	button:hover {
		background-color: rgba(255, 255, 255, 0.02);
	}

	input[type="text"], input[type="password"], input[type="url"], textarea {
		background-color: rgba(255, 255, 255, 0.05);
		color: inherit;
	}
}