This commit is contained in:
syuilo 2018-09-28 12:10:15 +09:00
parent c3be2ff2d5
commit c5af541211
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",