summaryrefslogtreecommitdiff
path: root/src/client/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app')
-rw-r--r--src/client/app/common/views/components/poll-editor.vue12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/client/app/common/views/components/poll-editor.vue b/src/client/app/common/views/components/poll-editor.vue
index 7f52c62c23..b5c57d48a5 100644
--- a/src/client/app/common/views/components/poll-editor.vue
+++ b/src/client/app/common/views/components/poll-editor.vue
@@ -68,9 +68,7 @@ export default Vue.extend({
</script>
<style lang="stylus" scoped>
-
-
-root(isDark)
+.mk-poll-editor
padding 8px
> .caution
@@ -104,7 +102,7 @@ root(isDark)
width 300px
font-size 14px
color var(--inputText)
- background isDark ? #191b22 : #fff
+ background var(--pollEditorInputBg)
border solid 1px var(--primaryAlpha01)
border-radius 4px
@@ -142,10 +140,4 @@ root(isDark)
&:active
color var(--primaryDarken30)
-.mk-poll-editor[data-darkmode]
- root(true)
-
-.mk-poll-editor:not([data-darkmode])
- root(false)
-
</style>