This commit is contained in:
syuilo 2018-09-27 02:35:13 +09:00
parent 15a8b4c6e5
commit 49f8cfb0db
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
3 changed files with 13 additions and 13 deletions

View file

@ -216,9 +216,7 @@ export default Vue.extend({
</script> </script>
<style lang="stylus" scoped> <style lang="stylus" scoped>
.mk-notes
root(isDark)
.transition .transition
.mk-notes-enter .mk-notes-enter
.mk-notes-leave-to .mk-notes-leave-to
@ -235,8 +233,8 @@ root(isDark)
line-height 32px line-height 32px
font-size 14px font-size 14px
text-align center text-align center
color isDark ? #666b79 : #aaa color var(--dateDividerFg)
background isDark ? #242731 : #fdfdfd background var(--dateDividerBg)
border-bottom solid 1px var(--faceDivider) border-bottom solid 1px var(--faceDivider)
span span
@ -266,15 +264,9 @@ root(isDark)
border-bottom-right-radius 6px border-bottom-right-radius 6px
&:hover &:hover
background isDark ? #2e3440 : #f5f5f5 background var(--footerButtonHover)
&:active &:active
background isDark ? #21242b : #eee background var(--footerButtonActive)
.mk-notes[data-darkmode]
root(true)
.mk-notes:not([data-darkmode])
root(false)
</style> </style>

View file

@ -15,6 +15,10 @@
"popupBg": "#2c303c", "popupBg": "#2c303c",
"popupFg": "#d6dce2", "popupFg": "#d6dce2",
"modalBackdrop": "rgba(0, 0, 0, 0.5)", "modalBackdrop": "rgba(0, 0, 0, 0.5)",
"dateDividerBg": "#242731",
"dateDividerFg": "#666b79",
"footerButtonHover": "#2e3440",
"footerButtonActive": "#21242b",
"noteHeaderName": "#fff", "noteHeaderName": "#fff",
"noteHeaderBadgeFg": "#758188", "noteHeaderBadgeFg": "#758188",

View file

@ -15,6 +15,10 @@
"popupBg": "#fff", "popupBg": "#fff",
"popupFg": "#586069", "popupFg": "#586069",
"modalBackdrop": "rgba(0, 0, 0, 0.1)", "modalBackdrop": "rgba(0, 0, 0, 0.1)",
"dateDividerBg": "#fdfdfd",
"dateDividerFg": "#aaa",
"footerButtonHover": "#f5f5f5",
"footerButtonActive": "#eee",
"noteHeaderName": "#627079", "noteHeaderName": "#627079",
"noteHeaderBadgeFg": "#aaa", "noteHeaderBadgeFg": "#aaa",