feat:? add IRC colours to every user and member entry
This commit is contained in:
parent
4726a3376f
commit
26e215ed23
3 changed files with 7 additions and 3 deletions
|
@ -2,7 +2,9 @@
|
|||
<NuxtLink class="user-item" :href="`/me/${user.uuid}`" tabindex="0">
|
||||
<Avatar :profile="props.user" class="user-avatar"/>
|
||||
|
||||
<span class="user-display-name">{{ getDisplayName(props.user) }}</span>
|
||||
<span class="user-display-name" :style="`color: ${generateIrcColor(props.user.uuid)}`">
|
||||
{{ getDisplayName(props.user) }}
|
||||
</span>
|
||||
</NuxtLink>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue