From ec652dd0ace7ccf57d4d32d8855192748cbbb0b3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 28 Sep 2018 20:03:14 +0900 Subject: [PATCH] wip --- .../app/desktop/assets/header-icon.light.svg | 150 ------------------ .../{header-icon.dark.svg => header-icon.svg} | 8 +- .../desktop/views/components/ui.header.vue | 11 +- src/client/theme/dark.json | 1 - src/client/theme/light.json | 1 - 5 files changed, 10 insertions(+), 161 deletions(-) delete mode 100644 src/client/app/desktop/assets/header-icon.light.svg rename src/client/app/desktop/assets/{header-icon.dark.svg => header-icon.svg} (94%) diff --git a/src/client/app/desktop/assets/header-icon.light.svg b/src/client/app/desktop/assets/header-icon.light.svg deleted file mode 100644 index 61e202624..000000000 --- a/src/client/app/desktop/assets/header-icon.light.svg +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - diff --git a/src/client/app/desktop/assets/header-icon.dark.svg b/src/client/app/desktop/assets/header-icon.svg similarity index 94% rename from src/client/app/desktop/assets/header-icon.dark.svg rename to src/client/app/desktop/assets/header-icon.svg index fa42856fa..d677d2d16 100644 --- a/src/client/app/desktop/assets/header-icon.dark.svg +++ b/src/client/app/desktop/assets/header-icon.svg @@ -124,24 +124,24 @@ id="g4502" transform="matrix(1.096096,0,0,1.096096,-2.960633,-44.023579)"> diff --git a/src/client/app/desktop/views/components/ui.header.vue b/src/client/app/desktop/views/components/ui.header.vue index 1b96e0648..d38aebec8 100644 --- a/src/client/app/desktop/views/components/ui.header.vue +++ b/src/client/app/desktop/views/components/ui.header.vue @@ -10,7 +10,9 @@
-
+
+ +
@@ -129,13 +131,12 @@ export default Vue.extend({ display block width 48px height 48px - background-image var(--desktopHeaderIcon) - background-size 24px - background-position center - background-repeat no-repeat opacity 0.3 cursor pointer + > svg + fill currentColor + > .left, > .center left 0 diff --git a/src/client/theme/dark.json b/src/client/theme/dark.json index 72aedbce9..c43de3024 100644 --- a/src/client/theme/dark.json +++ b/src/client/theme/dark.json @@ -136,7 +136,6 @@ "desktopHeaderBg": ":lighten<5<$secondary", "desktopHeaderFg": "$text", "desktopHeaderHoverFg": "#fff", - "desktopHeaderIcon": "url('/assets/desktop/header-icon.dark.svg')", "desktopHeaderSearchBg": "rgba(0, 0, 0, 0.1)", "desktopHeaderSearchHoverBg": "rgba(255, 255, 255, 0.04)", "desktopHeaderSearchFg": "#fff", diff --git a/src/client/theme/light.json b/src/client/theme/light.json index 4690054cb..2e4f4b8cc 100644 --- a/src/client/theme/light.json +++ b/src/client/theme/light.json @@ -136,7 +136,6 @@ "desktopHeaderBg": ":lighten<5<$secondary", "desktopHeaderFg": "$text", "desktopHeaderHoverFg": "#7b8c88", - "desktopHeaderIcon": "url('/assets/desktop/header-icon.light.svg')", "desktopHeaderSearchBg": "rgba(0, 0, 0, 0.05)", "desktopHeaderSearchHoverBg": "rgba(0, 0, 0, 0.08)", "desktopHeaderSearchFg": "#000",