From 828af07a8a1ae4515a1cf84cd5eba61ec8470352 Mon Sep 17 00:00:00 2001 From: Misode Date: Fri, 20 Dec 2019 18:57:05 +0100 Subject: [PATCH] Theme selection and dark background --- custom.css | 10 ++++++++++ index.html | 13 +++++++++++-- view.js | 4 ++++ 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/custom.css b/custom.css index 1d873ce5..92fa370f 100644 --- a/custom.css +++ b/custom.css @@ -70,3 +70,13 @@ textarea.invalid:focus { overflow-wrap: normal; overflow-x: scroll; } + +body[data-style="dark"] { + background-color: #222529; +} + +body[data-style="dark"] #source { + background-color: #181a1d; + border-color: #646b72; + color: #eee; +} diff --git a/index.html b/index.html index 83284f78..07340920 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ - +