From 5523d18a4d32670b655aa3242b93ad0a29ba598c Mon Sep 17 00:00:00 2001 From: LuckFire <39076891+LuckFire@users.noreply.github.com> Date: Mon, 8 Apr 2024 00:42:11 -0400 Subject: [PATCH] fix: theme poll related areas --- src/theme/chat/_messages.scss | 16 ++++++++++++++++ src/theme/modals/_index.scss | 1 + src/theme/modals/_polls.scss | 7 +++++++ 3 files changed, 24 insertions(+) create mode 100644 src/theme/modals/_polls.scss diff --git a/src/theme/chat/_messages.scss b/src/theme/chat/_messages.scss index 1bff846..8960755 100644 --- a/src/theme/chat/_messages.scss +++ b/src/theme/chat/_messages.scss @@ -15,4 +15,20 @@ border-color: var(--background-secondary-alt); background-color: var(--background-secondary); } + // Polls -- scuffed but it works + .container__0bd59 { + background-color: var(--background-secondary); + + .enabled_d1cac4[aria-checked="false"] .answerInner_b97752:hover { + outline-color: var(--background-secondary-alt); + } + + .answerInner_b97752 { + background-color: var(--background-primary); + } + + .normalStylesDefault__1c2f5 .votePercentageBar_ba9103 { + background-color: var(--background-secondary-alt); + } + } } \ No newline at end of file diff --git a/src/theme/modals/_index.scss b/src/theme/modals/_index.scss index 00fe2f6..7a6fb7b 100644 --- a/src/theme/modals/_index.scss +++ b/src/theme/modals/_index.scss @@ -9,4 +9,5 @@ @forward 'modify-attachment'; @forward 'notification-settings'; @forward 'onboarding'; +@forward 'polls'; @forward 'stickers'; \ No newline at end of file diff --git a/src/theme/modals/_polls.scss b/src/theme/modals/_polls.scss new file mode 100644 index 0000000..69e845a --- /dev/null +++ b/src/theme/modals/_polls.scss @@ -0,0 +1,7 @@ +:is(.theme-dark, .theme-midnight) #app-mount .container_f5b15d { + background-color: var(--modal-background); + + .footer__95d9e { + background-color: var(--modal-footer-background); + } +} \ No newline at end of file