aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/darkmode/custom.ts
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-10-14 09:32:20 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-14 13:02:20 +0530
commit52211095aab71f8b59b093b19ae34c222be9f390 (patch)
tree28f24a9be5ee5577667cdd396fb3fc64fc861e65 /src/webview/darkmode/custom.ts
parentchore: convert class components to functional (#2065) (diff)
downloadferdium-app-52211095aab71f8b59b093b19ae34c222be9f390.tar.gz
ferdium-app-52211095aab71f8b59b093b19ae34c222be9f390.tar.zst
ferdium-app-52211095aab71f8b59b093b19ae34c222be9f390.zip
chore: convert various JS to TS (#2062)
Diffstat (limited to 'src/webview/darkmode/custom.ts')
-rw-r--r--src/webview/darkmode/custom.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/webview/darkmode/custom.ts b/src/webview/darkmode/custom.ts
new file mode 100644
index 000000000..f767f5755
--- /dev/null
+++ b/src/webview/darkmode/custom.ts
@@ -0,0 +1,22 @@
1// CSS for pages that need custom styles to work correctly in darkmode
2export default {
3 'web.whatsapp.com': `
4 div.landing-window > div.landing-main {
5 background-color: #FFFFFF !important;
6 }
7 div.landing-window > div.landing-main * {
8 color: #212121 !important;
9 }
10 `,
11 'web.threema.ch': `
12 .scan {
13 background-color: #FFF;
14 }
15 .scan * {
16 color: #212121;
17 }
18 .scan input.md-input {
19 color: #212121;
20 }
21 `,
22};