mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 13:25:44 +01:00
Improve theme
This commit is contained in:
parent
816ae7eb7e
commit
0e95b33b6a
3 changed files with 14 additions and 4 deletions
|
@ -95,7 +95,8 @@ export default Vue.component('misskey-flavored-markdown', {
|
||||||
return [createElement(MkUrl, {
|
return [createElement(MkUrl, {
|
||||||
props: {
|
props: {
|
||||||
url: token.content,
|
url: token.content,
|
||||||
target: '_blank'
|
target: '_blank',
|
||||||
|
style: 'color:var(--mfmLink);'
|
||||||
}
|
}
|
||||||
})];
|
})];
|
||||||
}
|
}
|
||||||
|
@ -106,7 +107,8 @@ export default Vue.component('misskey-flavored-markdown', {
|
||||||
class: 'link',
|
class: 'link',
|
||||||
href: token.url,
|
href: token.url,
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
title: token.url
|
title: token.url,
|
||||||
|
style: 'color:var(--mfmLink);'
|
||||||
}
|
}
|
||||||
}, token.title)];
|
}, token.title)];
|
||||||
}
|
}
|
||||||
|
@ -116,7 +118,8 @@ export default Vue.component('misskey-flavored-markdown', {
|
||||||
attrs: {
|
attrs: {
|
||||||
href: `${url}/@${getAcct(token)}`,
|
href: `${url}/@${getAcct(token)}`,
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
dataIsMe: (this as any).i && getAcct((this as any).i) == getAcct(token)
|
dataIsMe: (this as any).i && getAcct((this as any).i) == getAcct(token),
|
||||||
|
style: 'color:var(--mfmMention);'
|
||||||
},
|
},
|
||||||
directives: [{
|
directives: [{
|
||||||
name: 'user-preview',
|
name: 'user-preview',
|
||||||
|
@ -129,7 +132,8 @@ export default Vue.component('misskey-flavored-markdown', {
|
||||||
return [createElement('a', {
|
return [createElement('a', {
|
||||||
attrs: {
|
attrs: {
|
||||||
href: `${url}/tags/${encodeURIComponent(token.hashtag)}`,
|
href: `${url}/tags/${encodeURIComponent(token.hashtag)}`,
|
||||||
target: '_blank'
|
target: '_blank',
|
||||||
|
style: 'color:var(--mfmHashtag);'
|
||||||
}
|
}
|
||||||
}, token.content)];
|
}, token.content)];
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,6 +121,9 @@
|
||||||
mfmTitleBg: 'rgba(0, 0, 0, 0.2)',
|
mfmTitleBg: 'rgba(0, 0, 0, 0.2)',
|
||||||
mfmQuote: ':alpha<0.7<$text',
|
mfmQuote: ':alpha<0.7<$text',
|
||||||
mfmQuoteLine: ':alpha<0.6<$text',
|
mfmQuoteLine: ':alpha<0.6<$text',
|
||||||
|
mfmLink: '$primary',
|
||||||
|
mfmMention: '$primary',
|
||||||
|
mfmHashtag: '$primary',
|
||||||
|
|
||||||
suspendedInfoBg: '#611d1d',
|
suspendedInfoBg: '#611d1d',
|
||||||
suspendedInfoFg: '#ffb4b4',
|
suspendedInfoFg: '#ffb4b4',
|
||||||
|
|
|
@ -121,6 +121,9 @@
|
||||||
mfmTitleBg: 'rgba(0, 0, 0, 0.07)',
|
mfmTitleBg: 'rgba(0, 0, 0, 0.07)',
|
||||||
mfmQuote: ':alpha<0.6<$text',
|
mfmQuote: ':alpha<0.6<$text',
|
||||||
mfmQuoteLine: ':alpha<0.5<$text',
|
mfmQuoteLine: ':alpha<0.5<$text',
|
||||||
|
mfmLink: '$primary',
|
||||||
|
mfmMention: '$primary',
|
||||||
|
mfmHashtag: '$primary',
|
||||||
|
|
||||||
suspendedInfoBg: '#ffdbdb',
|
suspendedInfoBg: '#ffdbdb',
|
||||||
suspendedInfoFg: '#570808',
|
suspendedInfoFg: '#570808',
|
||||||
|
|
Loading…
Reference in a new issue