wip
This commit is contained in:
parent
e82a44c03d
commit
74be1c81b1
3 changed files with 8 additions and 11 deletions
|
@ -39,10 +39,9 @@ export default Vue.extend({
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
root(isDark)
|
.mk-reactions-viewer
|
||||||
$borderColor = isDark ? #5e6673 : #eee
|
border-top dashed 1px var(--reactionViewerBorder)
|
||||||
border-top dashed 1px $borderColor
|
border-bottom dashed 1px var(--reactionViewerBorder)
|
||||||
border-bottom dashed 1px $borderColor
|
|
||||||
margin 4px 0
|
margin 4px 0
|
||||||
|
|
||||||
&:empty
|
&:empty
|
||||||
|
@ -60,12 +59,6 @@ root(isDark)
|
||||||
> span
|
> span
|
||||||
margin-left 4px
|
margin-left 4px
|
||||||
font-size 1.2em
|
font-size 1.2em
|
||||||
color isDark ? #d1d5dc : #444
|
color var(--text)
|
||||||
|
|
||||||
.mk-reactions-viewer[data-darkmode]
|
|
||||||
root(true)
|
|
||||||
|
|
||||||
.mk-reactions-viewer:not([data-darkmode])
|
|
||||||
root(false)
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -69,6 +69,8 @@
|
||||||
|
|
||||||
"reactionPickerButtonHoverBg": "rgba(255, 255, 255, 0.18)",
|
"reactionPickerButtonHoverBg": "rgba(255, 255, 255, 0.18)",
|
||||||
|
|
||||||
|
"reactionViewerBorder": "rgba(255, 255, 255, 0.1)",
|
||||||
|
|
||||||
"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",
|
||||||
|
|
|
@ -69,6 +69,8 @@
|
||||||
|
|
||||||
"reactionPickerButtonHoverBg": "#eee",
|
"reactionPickerButtonHoverBg": "#eee",
|
||||||
|
|
||||||
|
"reactionViewerBorder": "rgba(0, 0, 0, 0.1)",
|
||||||
|
|
||||||
"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 a new issue