From f2d1f2d568105138efe64f205a93c5d200354272 Mon Sep 17 00:00:00 2001 From: jpmschuler Date: Thu, 25 Nov 2021 00:14:59 +0100 Subject: fix slack darkmode not working due to forced bgcolor of elements in original slack css (#770) --- all.json | 2 +- recipes/slack/darkmode.css | 14 +++++++++++++- recipes/slack/package.json | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/all.json b/all.json index 02a5d7a..1fb9f7f 100644 --- a/all.json +++ b/all.json @@ -1476,7 +1476,7 @@ "featured": true, "id": "slack", "name": "Slack", - "version": "1.3.3", + "version": "1.3.4", "icons": { "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/slack/icon.svg" } diff --git a/recipes/slack/darkmode.css b/recipes/slack/darkmode.css index 1fe857b..8a5d0d2 100644 --- a/recipes/slack/darkmode.css +++ b/recipes/slack/darkmode.css @@ -1,6 +1,18 @@ /* Copied from: https://github.com/ducfilan/Dark-mode-Franz-Ferdi */ -body { +body, +.c-message_kit__background, +.p-workspace__input, +.p-view_header, +.p-bookmarks_bar, +.p-drafts_page, +.p-threads_view__default_background, +.p-threads_view_load_older_message, +.c-basic_container__body, +.c-pillow_file__snippet__content .CodeMirror, +.p-flexpane--iap1 .p-flexpane_header, +.p-message_input__input_container_unstyled, +.p-drafts_page__draft { background: #222; color: #e6e6e6; } diff --git a/recipes/slack/package.json b/recipes/slack/package.json index 3a8f248..77f5a5b 100644 --- a/recipes/slack/package.json +++ b/recipes/slack/package.json @@ -1,7 +1,7 @@ { "id": "slack", "name": "Slack", - "version": "1.3.3", + "version": "1.3.4", "license": "MIT", "config": { "serviceURL": "https://{teamId}.slack.com", -- cgit v1.2.3-70-g09d2