From e80e0392dcb8b5b7bdd40d3fdeb8afe94390da8d Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 28 Sep 2018 11:18:56 +0900 Subject: [PATCH] wip --- src/client/app/common/views/widgets/nav.vue | 14 +++----- .../common/views/widgets/posts-monitor.vue | 10 ++---- src/client/app/common/views/widgets/rss.vue | 16 +++------ .../views/widgets/server.cpu-memory.vue | 10 ++---- .../views/pages/admin/admin.cpu-memory.vue | 2 +- src/client/app/mobile/views/pages/user.vue | 34 +++++++------------ src/client/theme/dark.json | 9 +++++ src/client/theme/light.json | 9 +++++ 8 files changed, 45 insertions(+), 59 deletions(-) diff --git a/src/client/app/common/views/widgets/nav.vue b/src/client/app/common/views/widgets/nav.vue index 04dfe97c7..12003db3f 100644 --- a/src/client/app/common/views/widgets/nav.vue +++ b/src/client/app/common/views/widgets/nav.vue @@ -16,23 +16,17 @@ export default define({ diff --git a/src/client/app/common/views/widgets/posts-monitor.vue b/src/client/app/common/views/widgets/posts-monitor.vue index 801307be5..09f766696 100644 --- a/src/client/app/common/views/widgets/posts-monitor.vue +++ b/src/client/app/common/views/widgets/posts-monitor.vue @@ -173,7 +173,7 @@ export default define({ diff --git a/src/client/app/common/views/widgets/rss.vue b/src/client/app/common/views/widgets/rss.vue index a777388cd..448eee9fb 100644 --- a/src/client/app/common/views/widgets/rss.vue +++ b/src/client/app/common/views/widgets/rss.vue @@ -65,7 +65,7 @@ export default define({ diff --git a/src/client/app/common/views/widgets/server.cpu-memory.vue b/src/client/app/common/views/widgets/server.cpu-memory.vue index b0421d615..55aa1ea89 100644 --- a/src/client/app/common/views/widgets/server.cpu-memory.vue +++ b/src/client/app/common/views/widgets/server.cpu-memory.vue @@ -129,7 +129,7 @@ export default Vue.extend({ diff --git a/src/client/app/desktop/views/pages/admin/admin.cpu-memory.vue b/src/client/app/desktop/views/pages/admin/admin.cpu-memory.vue index d14ce1255..ebaa11478 100644 --- a/src/client/app/desktop/views/pages/admin/admin.cpu-memory.vue +++ b/src/client/app/desktop/views/pages/admin/admin.cpu-memory.vue @@ -125,7 +125,7 @@ root(isDark) > text font-size 10px - fill isDark ? rgba(#fff, 0.55) : rgba(#000, 0.55) + fill var(--chartCaption) > tspan opacity 0.5 diff --git a/src/client/app/mobile/views/pages/user.vue b/src/client/app/mobile/views/pages/user.vue index 1ff81fc0c..d7edda1a7 100644 --- a/src/client/app/mobile/views/pages/user.vue +++ b/src/client/app/mobile/views/pages/user.vue @@ -115,10 +115,8 @@ export default Vue.extend({ diff --git a/src/client/theme/dark.json b/src/client/theme/dark.json index 8a3964803..896ac7a92 100644 --- a/src/client/theme/dark.json +++ b/src/client/theme/dark.json @@ -86,6 +86,8 @@ "calendarSaturdayOrSunday": "#ff6679", "calendarDay": "#c5ced6", + "chartCaption": ":alpha<0.6<$text", + "announcementsBg": "#253a50", "announcementsTitle": "#539eff", "announcementsText": "#fff", @@ -125,6 +127,13 @@ "desktopSettingsNavItem": ":alpha<0.8<$text", "desktopSettingsNavItemHover": ":lighten<10<$text", + "mobileUserPageName": "#fff", + "mobileUserPageAcct": "$text", + "mobileUserPageDescription": "$text", + "mobileUserPageFollowedBg": "rgba(0, 0, 0, 0.3)", + "mobileUserPageFollowedFg": "$text", + "mobileUserPageStatusHighlight": "#fff", + "mobileUserPageHeaderShadow": "rgba(0, 0, 0, 0.3)", "mobileAnnouncement": "rgba(30, 129, 216, 0.2)", "mobileAnnouncementFg": "#fff", "mobileSignedInAsBg": "#273c34", diff --git a/src/client/theme/light.json b/src/client/theme/light.json index f5003ae2e..fe018b547 100644 --- a/src/client/theme/light.json +++ b/src/client/theme/light.json @@ -86,6 +86,8 @@ "calendarSaturdayOrSunday": "#ef95a0", "calendarDay": "#777", + "chartCaption": ":alpha<0.6<$text", + "announcementsBg": "#f3f9ff", "announcementsTitle": "#4078c0", "announcementsText": "#57616f", @@ -125,6 +127,13 @@ "desktopSettingsNavItem": ":alpha<0.8<$text", "desktopSettingsNavItemHover": ":darken<10<$text", + "mobileUserPageName": "#757c82", + "mobileUserPageAcct": "#969ea5", + "mobileUserPageDescription": "#757c82", + "mobileUserPageFollowedBg": "#a7bec7", + "mobileUserPageFollowedFg": "#fff", + "mobileUserPageStatusHighlight": "#787e86", + "mobileUserPageHeaderShadow": "rgba(0, 0, 0, 0.07)", "mobileAnnouncement": "rgba(155, 196, 232, 0.2)", "mobileAnnouncementFg": "#3f4967", "mobileSignedInAsBg": "#fcfff5",