feat: easy customization of theme color

This commit is contained in:
Timothy Lin
2021-06-19 17:40:01 +08:00
parent f3a21646ab
commit 2c0d11d414
7 changed files with 25 additions and 24 deletions

View File

@@ -70,7 +70,7 @@ export default function Home({ posts }) {
<div className="text-base font-medium leading-6">
<Link
href={`/blog/${slug}`}
className="text-blue-500 hover:text-blue-600 dark:hover:text-blue-400"
className="text-primary-500 hover:text-primary-600 dark:hover:text-primary-400"
aria-label={`Read "${title}"`}
>
Read more &rarr;
@@ -88,7 +88,7 @@ export default function Home({ posts }) {
<div className="flex justify-end text-base font-medium leading-6">
<Link
href="/blog"
className="text-blue-500 hover:text-blue-600 dark:hover:text-blue-400"
className="text-primary-500 hover:text-primary-600 dark:hover:text-primary-400"
aria-label="all posts"
>
All Posts &rarr;