mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-07 01:19:57 +00:00
fix: link color
This commit is contained in:
parent
8c1721f1c0
commit
1771291c08
6 changed files with 9 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
# Elk
|
||||
|
||||
A Mastodon web client made with 💚.
|
||||
A Mastodon web client made with 💛.
|
||||
|
||||
> Very WIP.
|
||||
|
|
|
@ -8,7 +8,7 @@ const buildTimeAgo = useTimeAgo(buildTime)
|
|||
<template>
|
||||
<div p4 text-sm op25 flex="~ col">
|
||||
<button i-ri-sun-line dark:i-ri-moon-line text-lg mb4 @click="toggleDark()" />
|
||||
<div>A Mastodon client made with 💚</div>
|
||||
<div>A Mastodon client made with 💛</div>
|
||||
<div>Built <span :title="buildTime">{{ buildTimeAgo }}</span> · <a href="https://github.com/antfu/elk" target="_blank">GitHub</a></div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<NuxtLink flex text-2xl gap-2 to="/">
|
||||
<img aria-label="Elk Logo" src="/logo.svg" width="25" height="25">
|
||||
<NuxtLink flex items-center text-2xl gap-2 to="/">
|
||||
<img aria-label="Elk Logo" src="/logo.svg" w-10 h-10>
|
||||
<div>
|
||||
Elk <sup text-sm italic op50 mt-1>alpha</sup>
|
||||
</div>
|
||||
|
|
|
@ -38,7 +38,7 @@ html {
|
|||
|
||||
.rich-content {
|
||||
a {
|
||||
--at-apply: text-primary hover:underline;
|
||||
--at-apply: text-primary hover:underline hover:text-primary-active;
|
||||
.invisible {
|
||||
--at-apply: hidden;
|
||||
}
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
}
|
||||
|
||||
.dark {
|
||||
--c-primary: #C16929;
|
||||
--c-primary-active: #EA9E44;
|
||||
--c-bg-base: #111;
|
||||
--c-bg-active: #151515;
|
||||
--c-text-base: #fff;
|
||||
|
|
|
@ -46,7 +46,10 @@ export default defineConfig({
|
|||
],
|
||||
theme: {
|
||||
colors: {
|
||||
primary: 'var(--c-primary)',
|
||||
primary: {
|
||||
DEFAULT: 'var(--c-primary)',
|
||||
active: 'var(--c-primary-active)',
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue