DarkMode User Photos
This commit is contained in:
parent
6ad31dca76
commit
530ee6f80e
1 changed files with 10 additions and 2 deletions
|
@ -39,8 +39,9 @@ export default Vue.extend({
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
|
root(isDark)
|
||||||
.photos
|
.photos
|
||||||
background #fff
|
background isDark ? #282C37 : #fff
|
||||||
border solid 1px rgba(#000, 0.075)
|
border solid 1px rgba(#000, 0.075)
|
||||||
border-radius 6px
|
border-radius 6px
|
||||||
|
|
||||||
|
@ -51,7 +52,8 @@ export default Vue.extend({
|
||||||
line-height 42px
|
line-height 42px
|
||||||
font-size 0.9em
|
font-size 0.9em
|
||||||
font-weight bold
|
font-weight bold
|
||||||
color #888
|
background: isDark ? #313543 : inherit
|
||||||
|
color isDark ? #e3e5e8 : #888
|
||||||
box-shadow 0 1px rgba(#000, 0.07)
|
box-shadow 0 1px rgba(#000, 0.07)
|
||||||
|
|
||||||
> i
|
> i
|
||||||
|
@ -85,4 +87,10 @@ export default Vue.extend({
|
||||||
> i
|
> i
|
||||||
margin-right 4px
|
margin-right 4px
|
||||||
|
|
||||||
|
.photos[data-darkmode]
|
||||||
|
root(true)
|
||||||
|
|
||||||
|
.photos:not([data-darkmode])
|
||||||
|
root(false)
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue