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
4d149988
Commit
4d149988
authored
May 11, 2020
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: dark theme UI improvements
parent
f3629056
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
v-card-info.vue
client/components/common/v-card-info.vue
+11
-3
nav-footer.vue
client/themes/default/components/nav-footer.vue
+1
-1
No files found.
client/components/common/v-card-info.vue
View file @
4d149988
<
template
lang=
'pug'
>
.v-card-info(:class='`is-` + color')
v-card-text(:class='colors.cls')
v-card-text
.d-flex.align-center
(:class='colors.cls')
v-icon(:color='colors.icon', left)
{{
icon
}}
slot
</
template
>
...
...
@@ -22,12 +22,12 @@ export default {
switch
(
this
.
color
)
{
case
'blue'
:
return
{
cls
:
this
.
$vuetify
.
theme
.
dark
?
'grey darken-4-l5'
:
'blue lighten-5 blue--text text--darken-3'
,
cls
:
this
.
$vuetify
.
theme
.
dark
?
'grey darken-4-l5
blue--text text--lighten-4
'
:
'blue lighten-5 blue--text text--darken-3'
,
icon
:
'blue lighten-3'
}
case
'red'
:
return
{
cls
:
this
.
$vuetify
.
theme
.
dark
?
'grey darken-4-l5'
:
'red lighten-5 red--text text--darken-2'
,
cls
:
this
.
$vuetify
.
theme
.
dark
?
'grey darken-4-l5
red--text text--lighten-4
'
:
'red lighten-5 red--text text--darken-2'
,
icon
:
'red lighten-3'
}
default
:
...
...
@@ -47,10 +47,18 @@ export default {
&
.is-blue
{
border-bottom-color
:
mc
(
'blue'
,
'100'
);
@at-root
.theme--dark
&
{
border-bottom-color
:
rgba
(
mc
(
'blue'
,
'100'
)
,
.3
);
}
}
&
.is-red
{
border-bottom-color
:
mc
(
'red'
,
'100'
);
@at-root
.theme--dark
&
{
border-bottom-color
:
rgba
(
mc
(
'red'
,
'100'
)
,
.3
);
}
}
}
</
style
>
client/themes/default/components/nav-footer.vue
View file @
4d149988
<
template
lang=
"pug"
>
v-footer.justify-center(:color='bgColor', inset)
.caption.grey--text
.text--darken-1
.caption.grey--text
(:class='$vuetify.theme.dark ? `text--lighten-1` : `text--darken-1`')
template(v-if='company && company.length > 0 && contentLicense !== ``')
span(v-if='contentLicense === `alr`')
{{
$t
(
'common:footer.copyright'
,
{
company
:
company
,
year
:
currentYear
,
interpolation
:
{
escapeValue
:
false
}
}
)
}}
|&
nbsp
;
span
(
v
-
else
)
{{
$t
(
'common:footer.license'
,
{
company
:
company
,
license
:
$t
(
'common:license.'
+
contentLicense
),
interpolation
:
{
escapeValue
:
false
}
}
)
}}
|&
nbsp
;
...
...
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