This commit is contained in:
syuilo 2018-09-28 12:10:15 +09:00
parent b4a4d784c3
commit 5df85b5feb
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
3 changed files with 6 additions and 10 deletions

View file

@ -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>

View file

@ -77,6 +77,8 @@
"reactionViewerBorder": "rgba(255, 255, 255, 0.1)",
"pollEditorInputBg": "rgba(0, 0, 0, 0.25)",
"urlPreviewBorder": "rgba(0, 0, 0, 0.4)",
"urlPreviewBorderHover": "rgba(255, 255, 255, 0.2)",
"urlPreviewTitle": "$text",

View file

@ -77,6 +77,8 @@
"reactionViewerBorder": "rgba(0, 0, 0, 0.1)",
"pollEditorInputBg": "#fff",
"urlPreviewBorder": "rgba(0, 0, 0, 0.1)",
"urlPreviewBorderHover": "rgba(0, 0, 0, 0.2)",
"urlPreviewTitle": "$text",