mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-08 06:51:43 -04:00
[profile][bug] force default font colour in links
This commit is contained in:
parent
89a3bf0553
commit
b9a35c41d3
@ -43,4 +43,5 @@ $colours: (
|
||||
'green': ('light': $green, 'dark': $green-300),
|
||||
'blue': ('light': $blue-700, 'dark': $blue-200),
|
||||
'grey': ('light': $gray-600, 'dark': $gray-600),
|
||||
'default':('light': $body-color, 'dark': $light),
|
||||
);
|
||||
|
@ -4,7 +4,7 @@
|
||||
<Icon :v="op.icon"/>
|
||||
</Tooltip>
|
||||
<Twemoji>
|
||||
<nuxt-link v-if="link" :to="link" :class="`colour-${op.colour}`"><Spelling :escape="escape" :text="word"/></nuxt-link>
|
||||
<nuxt-link v-if="link" :to="link" :class="`colour-${op.colour || 'default'}`"><Spelling :escape="escape" :text="word"/></nuxt-link>
|
||||
<span v-else><Spelling :escape="escape" :text="word"/></span>
|
||||
</Twemoji>
|
||||
</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user