From a0920dfe0f845a57cdbb0b2228176e0b83cb12ab Mon Sep 17 00:00:00 2001 From: eggy Date: Sat, 28 Jan 2023 15:59:29 -0500 Subject: [PATCH] feat: highlight on hover for most els --- app.vue | 50 ++++++++++++++++++++++++------------- components/BlogStatBox.vue | 8 ++++-- components/ProjectCard.vue | 4 +++ components/StoryStatBox.vue | 6 ++++- package.json | 3 ++- yarn.lock | 18 +++++++++++-- 6 files changed, 66 insertions(+), 23 deletions(-) diff --git a/app.vue b/app.vue index f2124f9..c2212ae 100644 --- a/app.vue +++ b/app.vue @@ -4,7 +4,7 @@ - diff --git a/components/BlogStatBox.vue b/components/BlogStatBox.vue index 2a4d41a..2fff2e1 100644 --- a/components/BlogStatBox.vue +++ b/components/BlogStatBox.vue @@ -11,7 +11,7 @@ const latest = docs.at(-1) as BlogParsedContent; - diff --git a/components/ProjectCard.vue b/components/ProjectCard.vue index 0c6d327..3e7f03b 100644 --- a/components/ProjectCard.vue +++ b/components/ProjectCard.vue @@ -56,6 +56,10 @@ const imgUrl = props.project.img width: 100%; } +.project-anchor:hover h3 { + @apply text-blue-700 dark:text-blue-400; +} + .card { border: 0.2rem solid pink; background: white; diff --git a/components/StoryStatBox.vue b/components/StoryStatBox.vue index f9519d8..6e0b049 100644 --- a/components/StoryStatBox.vue +++ b/components/StoryStatBox.vue @@ -11,7 +11,7 @@ const latest = docs.at(-1) as StoryParsedContent;