summaryrefslogtreecommitdiff
path: root/src/client/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-12-15 23:19:04 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-12-15 23:19:04 +0900
commitbe1125dcb92d8c6e972e00ac4697e136d0fec2bd (patch)
tree76e69a0fadf42b6e880ab604cb2f86860ab24896 /src/client/app/common
parentUpdate index.ts (#3624) (diff)
downloadmisskey-be1125dcb92d8c6e972e00ac4697e136d0fec2bd.tar.gz
misskey-be1125dcb92d8c6e972e00ac4697e136d0fec2bd.tar.bz2
misskey-be1125dcb92d8c6e972e00ac4697e136d0fec2bd.zip
OGP向けにインスタンスのバナー画像を提供するように
Diffstat (limited to 'src/client/app/common')
-rw-r--r--src/client/app/common/views/components/analog-clock.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/analog-clock.vue b/src/client/app/common/views/components/analog-clock.vue
index 43ae2ca933..8795076bb3 100644
--- a/src/client/app/common/views/components/analog-clock.vue
+++ b/src/client/app/common/views/components/analog-clock.vue
@@ -32,7 +32,7 @@
<script lang="ts">
import Vue from 'vue';
-import { themeColor } from '../../../config';
+import * as tinycolor from 'tinycolor2';
export default Vue.extend({
props: {
@@ -75,7 +75,7 @@ export default Vue.extend({
return this.dark ? '#fff' : '#777';
},
hHandColor(): string {
- return themeColor;
+ return tinycolor(getComputedStyle(document.documentElement).getPropertyValue('--text')).toHexString();
},
ms(): number {