Skip to content
Snippets Groups Projects
Unverified Commit 5df85b5f authored by syuilo's avatar syuilo
Browse files

wip

parent b4a4d784
No related branches found
No related tags found
No related merge requests found
...@@ -68,9 +68,7 @@ export default Vue.extend({ ...@@ -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) ...@@ -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) ...@@ -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 @@ ...@@ -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 @@ ...@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment