summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-12-30 09:21:07 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-12-30 09:21:07 +0900
commitfcb3ba9947f35b5233d4747f0d2b64f00be0e95f (patch)
tree876baf36023a55b6d13a3ea4086f3c7a1b467efc /src/client
parent[Client] Fix bug (diff)
downloadsharkey-fcb3ba9947f35b5233d4747f0d2b64f00be0e95f.tar.gz
sharkey-fcb3ba9947f35b5233d4747f0d2b64f00be0e95f.tar.bz2
sharkey-fcb3ba9947f35b5233d4747f0d2b64f00be0e95f.zip
[Client] Separate theme property
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/components/mfm.ts2
-rw-r--r--src/client/theme/dark.json53
-rw-r--r--src/client/theme/light.json53
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',