wip
This commit is contained in:
parent
b4a4d784c3
commit
5df85b5feb
|
@ -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>
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue