diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-12-15 23:19:04 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-12-15 23:19:04 +0900 |
| commit | be1125dcb92d8c6e972e00ac4697e136d0fec2bd (patch) | |
| tree | 76e69a0fadf42b6e880ab604cb2f86860ab24896 /src/client/app/common | |
| parent | Update index.ts (#3624) (diff) | |
| download | misskey-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.vue | 4 |
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 { |