Skip to content
Snippets Groups Projects
Commit 071c7e6a authored by syuilo's avatar syuilo
Browse files

feat(theme): Add mentionMe property

parent 010e1b3b
No related branches found
No related tags found
No related merge requests found
<template>
<router-link class="ldlomzub" :to="url" v-user-preview="canonical" v-if="url.startsWith('/')">
<router-link class="ldlomzub" :class="{ isMe }" :to="url" v-user-preview="canonical" v-if="url.startsWith('/')">
<span class="me" v-if="isMe">{{ $t('you') }}</span>
<span class="main">
<span class="username">@{{ username }}</span>
......@@ -63,6 +63,10 @@ export default Vue.extend({
<style lang="scss" scoped>
.ldlomzub {
color: var(--mention);
&.isMe {
color: var(--mentionMe);
}
> .me {
pointer-events: none;
......
......@@ -29,6 +29,7 @@
link: '#44a4c1',
hashtag: '#ff9156',
mention: '@accent',
mentionMe: '@mention',
renote: '#229e82',
modalBg: 'rgba(0, 0, 0, 0.5)',
divider: 'rgba(255, 255, 255, 0.1)',
......
......@@ -29,6 +29,7 @@
link: '#44a4c1',
hashtag: '#ff9156',
mention: '@accent',
mentionMe: '@mention',
renote: '#229e82',
modalBg: 'rgba(0, 0, 0, 0.3)',
divider: 'rgba(0, 0, 0, 0.1)',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment