summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-09-28 16:13:47 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-09-28 16:13:47 +0900
commite0d3fd17ce5df8ac7e2adc5c4434cd8b050e5a86 (patch)
treed344ef56634604cd63672dcaaee88629f286672a /src
parentwip (diff)
downloadsharkey-e0d3fd17ce5df8ac7e2adc5c4434cd8b050e5a86.tar.gz
sharkey-e0d3fd17ce5df8ac7e2adc5c4434cd8b050e5a86.tar.bz2
sharkey-e0d3fd17ce5df8ac7e2adc5c4434cd8b050e5a86.zip
wio
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/components/drive.vue15
-rw-r--r--src/client/theme/dark.json1
-rw-r--r--src/client/theme/light.json1
3 files changed, 5 insertions, 12 deletions
diff --git a/src/client/app/desktop/views/components/drive.vue b/src/client/app/desktop/views/components/drive.vue
index a1748963aa..f9b7eea64e 100644
--- a/src/client/app/desktop/views/components/drive.vue
+++ b/src/client/app/desktop/views/components/drive.vue
@@ -585,17 +585,14 @@ export default Vue.extend({
</script>
<style lang="stylus" scoped>
-
-
-root(isDark)
-
+.mk-drive
> nav
display block
z-index 2
width 100%
overflow auto
font-size 0.9em
- color isDark ? #d2d9dc : #555
+ color var(--text)
background var(--face)
box-shadow 0 1px 0 rgba(#000, 0.05)
@@ -674,7 +671,7 @@ root(isDark)
padding 8px
height calc(100% - 38px)
overflow auto
- background isDark ? #191b22 : #fff
+ background var(--desktopDriveBg)
&, *
user-select none
@@ -780,10 +777,4 @@ root(isDark)
> input
display none
-.mk-drive[data-darkmode]
- root(true)
-
-.mk-drive:not([data-darkmode])
- root(false)
-
</style>
diff --git a/src/client/theme/dark.json b/src/client/theme/dark.json
index ee5e1fb42c..151001350d 100644
--- a/src/client/theme/dark.json
+++ b/src/client/theme/dark.json
@@ -140,6 +140,7 @@
"desktopTimelineSrc": "@faceTextButton",
"desktopTimelineSrcHover": "@faceTextButtonHover",
"desktopWindowTitle": "@faceHeaderText",
+ "desktopDriveBg": "@bg",
"desktopSettingsNavItem": ":alpha<0.8<$text",
"desktopSettingsNavItemHover": ":lighten<10<$text",
diff --git a/src/client/theme/light.json b/src/client/theme/light.json
index 4cfba2c1f6..0f26f8b165 100644
--- a/src/client/theme/light.json
+++ b/src/client/theme/light.json
@@ -140,6 +140,7 @@
"desktopTimelineSrc": "#6f7477",
"desktopTimelineSrcHover": "#525a5f",
"desktopWindowTitle": "#666",
+ "desktopDriveBg": "#fff",
"desktopSettingsNavItem": ":alpha<0.8<$text",
"desktopSettingsNavItemHover": ":darken<10<$text",