From fcb3ba9947f35b5233d4747f0d2b64f00be0e95f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 30 Dec 2018 09:21:07 +0900 Subject: [PATCH] [Client] Separate theme property --- src/client/app/common/views/components/mfm.ts | 2 +- src/client/theme/dark.json5 | 3 ++- src/client/theme/light.json5 | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/client/app/common/views/components/mfm.ts b/src/client/app/common/views/components/mfm.ts index 4adce68dc2..ad3d8204cc 100644 --- a/src/client/app/common/views/components/mfm.ts +++ b/src/client/app/common/views/components/mfm.ts @@ -132,7 +132,7 @@ export default Vue.component('misskey-flavored-markdown', { target: '_blank' }, attrs: { - style: 'color:var(--mfmLink);' + style: 'color:var(--mfmUrl);' } })]; } diff --git a/src/client/theme/dark.json5 b/src/client/theme/dark.json5 index 4445fe5c49..6c88090f87 100644 --- a/src/client/theme/dark.json5 +++ b/src/client/theme/dark.json5 @@ -120,7 +120,8 @@ mfmTitleBg: 'rgba(0, 0, 0, 0.2)', mfmQuote: ':alpha<0.7<$text', mfmQuoteLine: ':alpha<0.6<$text', - mfmLink: '$primary', + mfmUrl: '$primary', + mfmLink: '@mfmUrl', mfmMention: '$primary', mfmHashtag: '$primary', diff --git a/src/client/theme/light.json5 b/src/client/theme/light.json5 index 182efee234..9e362c99e2 100644 --- a/src/client/theme/light.json5 +++ b/src/client/theme/light.json5 @@ -120,7 +120,8 @@ mfmTitleBg: 'rgba(0, 0, 0, 0.07)', mfmQuote: ':alpha<0.6<$text', mfmQuoteLine: ':alpha<0.5<$text', - mfmLink: '$primary', + mfmUrl: '$primary', + mfmLink: '@mfmUrl', mfmMention: '$primary', mfmHashtag: '$primary',