Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
866cdd59
Commit
866cdd59
authored
Apr 24, 2020
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: dark mode improvements
parent
0ab9ecfd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
admin.vue
client/components/admin.vue
+2
-2
page.vue
client/themes/default/components/page.vue
+2
-0
No files found.
client/components/admin.vue
View file @
866cdd59
...
...
@@ -5,7 +5,7 @@
v-spacer
.overline.grey--text
{{
$t
(
'admin:adminArea'
)
}}
v-spacer
v-navigation-drawer.pb-0.admin-sidebar(v-model='adminDrawerShown', app, fixed, clipped, :right='$vuetify.rtl', permanent, width='300')
v-navigation-drawer.pb-0.admin-sidebar(v-model='adminDrawerShown', app, fixed, clipped, :right='$vuetify.rtl', permanent, width='300'
, :class='$vuetify.theme.dark ? `grey darken-4` : ``'
)
vue-scroll(:ops='scrollStyle')
v-list.radius-0(dense, nav)
v-list-item(to='/dashboard', color='primary')
...
...
@@ -123,7 +123,7 @@
v-list-item-avatar(size='24', tile): v-icon mdi-heart-outline
v-list-item-title
{{
$t
(
'admin:contribute.title'
)
}}
v-content(:class='darkMode ? "grey darken-
4
" : "grey lighten-5"')
v-content(:class='darkMode ? "grey darken-
5
" : "grey lighten-5"')
transition(name='admin-router')
router-view
...
...
client/themes/default/components/page.vue
View file @
866cdd59
...
...
@@ -429,6 +429,8 @@ export default {
this
.
$store
.
set
(
'page/mode'
,
'view'
)
},
mounted
()
{
this
.
scrollStyle
.
bar
.
background
=
'#424242'
// -> Check side navigation visibility
this
.
handleSideNavVisibility
()
window
.
addEventListener
(
'resize'
,
_
.
debounce
(()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment