From 4fc0b2faa3d76506af4960c18dbac6d1becec7c2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 27 Sep 2018 16:49:18 +0900 Subject: [PATCH] wip --- .../app/common/views/widgets/calendar.vue | 2 +- .../app/desktop/views/components/calendar.vue | 45 +++++++------------ .../views/components/notifications.vue | 22 ++++----- .../desktop/views/pages/deck/deck.notes.vue | 4 +- .../views/pages/deck/deck.notifications.vue | 4 +- .../app/mobile/views/components/notes.vue | 4 +- .../mobile/views/components/notifications.vue | 14 ++---- src/client/theme/dark.json | 7 ++- src/client/theme/halloween.json | 2 +- src/client/theme/light.json | 5 +++ 10 files changed, 47 insertions(+), 62 deletions(-) diff --git a/src/client/app/common/views/widgets/calendar.vue b/src/client/app/common/views/widgets/calendar.vue index a24524d1c..238b493a6 100644 --- a/src/client/app/common/views/widgets/calendar.vue +++ b/src/client/app/common/views/widgets/calendar.vue @@ -124,7 +124,7 @@ root(isDark) .mkw-calendar--body padding 16px 0 - color isDark ? #c5ced6 : #777 + color var(--calendarDay) &:after content "" diff --git a/src/client/app/desktop/views/components/calendar.vue b/src/client/app/desktop/views/components/calendar.vue index 6b753068f..e2f1329b3 100644 --- a/src/client/app/desktop/views/components/calendar.vue +++ b/src/client/app/desktop/views/components/calendar.vue @@ -128,10 +128,8 @@ export default Vue.extend({ diff --git a/src/client/app/desktop/views/components/notifications.vue b/src/client/app/desktop/views/components/notifications.vue index 2eb80dcd0..1f3f62395 100644 --- a/src/client/app/desktop/views/components/notifications.vue +++ b/src/client/app/desktop/views/components/notifications.vue @@ -191,7 +191,7 @@ export default Vue.extend({ diff --git a/src/client/app/desktop/views/pages/deck/deck.notes.vue b/src/client/app/desktop/views/pages/deck/deck.notes.vue index 214ec3cdf..7e171a239 100644 --- a/src/client/app/desktop/views/pages/deck/deck.notes.vue +++ b/src/client/app/desktop/views/pages/deck/deck.notes.vue @@ -214,8 +214,8 @@ root(isDark) line-height 32px font-size 14px text-align center - color isDark ? #666b79 : #aaa - background isDark ? #242731 : #fdfdfd + color var(--dateDividerFg) + background var(--dateDividerBg) border-bottom solid 1px var(--faceDivider) span diff --git a/src/client/app/desktop/views/pages/deck/deck.notifications.vue b/src/client/app/desktop/views/pages/deck/deck.notifications.vue index 8a2806126..aa48571a5 100644 --- a/src/client/app/desktop/views/pages/deck/deck.notifications.vue +++ b/src/client/app/desktop/views/pages/deck/deck.notifications.vue @@ -177,8 +177,8 @@ root(isDark) line-height 32px text-align center font-size 0.8em - color isDark ? #666b79 : #aaa - background isDark ? #242731 : #fdfdfd + color var(--dateDividerFg) + background var(--dateDividerBg) border-bottom solid 1px var(--faceDivider) span diff --git a/src/client/app/mobile/views/components/notes.vue b/src/client/app/mobile/views/components/notes.vue index 8841b0e6b..9153b1d55 100644 --- a/src/client/app/mobile/views/components/notes.vue +++ b/src/client/app/mobile/views/components/notes.vue @@ -243,8 +243,8 @@ root(isDark) line-height 32px text-align center font-size 0.9em - color isDark ? #666b79 : #aaa - background isDark ? #242731 : #fdfdfd + color var(--dateDividerFg) + background var(--dateDividerBg) border-bottom solid 1px var(--faceDivider) span diff --git a/src/client/app/mobile/views/components/notifications.vue b/src/client/app/mobile/views/components/notifications.vue index 8243a9bfb..bfb6c1e62 100644 --- a/src/client/app/mobile/views/components/notifications.vue +++ b/src/client/app/mobile/views/components/notifications.vue @@ -104,9 +104,9 @@ export default Vue.extend({ diff --git a/src/client/theme/dark.json b/src/client/theme/dark.json index 403a5ded1..ef5170e71 100644 --- a/src/client/theme/dark.json +++ b/src/client/theme/dark.json @@ -17,6 +17,8 @@ "faceTextButton": "#9baec8", "faceTextButtonHover": "#b2c1d5", "faceTextButtonActive": "#b2c1d5", + "faceClearButtonHover": "rgba(0, 0, 0, 0.1)", + "faceClearButtonActive": "rgba(0, 0, 0, 0.2)", "popupBg": "#2c303c", "popupFg": "#d6dce2", "subNoteBg": "rgba(0, 0, 0, 0.18)", @@ -48,11 +50,14 @@ "cwButtonFg": "#393f4f", "cwButtonHoverBg": "#707b97", "reactionPickerButtonHoverBg": "rgba(255, 255, 255, 0.18)", + "calendarWeek": "#43d5dc", + "calendarSaturdayOrSunday": "#ff6679", + "calendarDay": "#c5ced6", "desktopHeaderBg": "#313543", "desktopHeaderFg": "#b8c5ca", "desktopHeaderHoverFg": "#fff", "desktopHeaderIcon": "url('/assets/desktop/header-icon.dark.svg')", - "desktopHeaderSearchBg": "rgba(0, 0, 0, 0.05)", + "desktopHeaderSearchBg": "rgba(0, 0, 0, 0.1)", "desktopHeaderSearchHoverBg": "rgba(255, 255, 255, 0.04)", "desktopHeaderSearchFg": "#fff", "desktopPostFormBg": "@face", diff --git a/src/client/theme/halloween.json b/src/client/theme/halloween.json index 474fc7ea8..420a03d2c 100644 --- a/src/client/theme/halloween.json +++ b/src/client/theme/halloween.json @@ -16,5 +16,5 @@ "renoteGradient": "#5d2d1a", "renoteText": "#ff6c00", "reactionPickerButtonHoverBg": "rgba(0, 0, 0, 0.18)", - "desktopHeaderBg": "#0c0b19" + "desktopHeaderBg": "#36314e" } diff --git a/src/client/theme/light.json b/src/client/theme/light.json index f9f9a9a52..bbffc8e14 100644 --- a/src/client/theme/light.json +++ b/src/client/theme/light.json @@ -17,6 +17,8 @@ "faceTextButton": "#ccc", "faceTextButtonHover": "#aaa", "faceTextButtonActive": "#999", + "faceClearButtonHover": "rgba(0, 0, 0, 0.025)", + "faceClearButtonActive": "rgba(0, 0, 0, 0.05)", "popupBg": "#fff", "popupFg": "#586069", "subNoteBg": "rgba(0, 0, 0, 0.01)", @@ -48,6 +50,9 @@ "cwButtonFg": "#fff", "cwButtonHoverBg": "#bbc4ce", "reactionPickerButtonHoverBg": "#eee", + "calendarWeek": "#19a2a9", + "calendarSaturdayOrSunday": "#ef95a0", + "calendarDay": "#777", "desktopHeaderBg": "#f7f7f7", "desktopHeaderFg": "#9eaba8", "desktopHeaderHoverFg": "#7b8c88",