1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-05 10:18:09 +09:00
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> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>
.mk-poll-editor
root(isDark)
padding 8px padding 8px
> .caution > .caution
@ -104,7 +102,7 @@ root(isDark)
width 300px width 300px
font-size 14px font-size 14px
color var(--inputText) color var(--inputText)
background isDark ? #191b22 : #fff background var(--pollEditorInputBg)
border solid 1px var(--primaryAlpha01) border solid 1px var(--primaryAlpha01)
border-radius 4px border-radius 4px
@ -142,10 +140,4 @@ root(isDark)
&:active &:active
color var(--primaryDarken30) color var(--primaryDarken30)
.mk-poll-editor[data-darkmode]
root(true)
.mk-poll-editor:not([data-darkmode])
root(false)
</style> </style>

View File

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

View File

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