Skip to content

Commit

Permalink
feat: update tooltip color
Browse files Browse the repository at this point in the history
  • Loading branch information
tmthyadms committed Oct 14, 2023
1 parent 688509f commit 7ba4f1b
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 7 deletions.
5 changes: 4 additions & 1 deletion components/app-card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
{{ badge }}
</div>
<div v-if="info" class="hidden lg:block ml-auto">
<span class="tooltip tooltip-left font-normal" :data-tip="info">
<span
class="tooltip tooltip-info tooltip-left font-normal"
:data-tip="info"
>
<IconInfoCircleFill />
</span>
</div>
Expand Down
11 changes: 9 additions & 2 deletions components/hero-about.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
</template>
<template>
<div class="flex justify-center lg:justify-normal mb-6">
<div v-for="social in socials" class="tooltip" :data-tip="social.tip">
<div
v-for="social in socials"
class="tooltip tooltip-info"
:data-tip="social.tip"
>
<a
role="button"
:href="social.href"
Expand All @@ -39,7 +43,10 @@
</a>
<span class="block lg:inline text-xs md:text-base"
>or download it
<span class="tooltip tooltip-bottom" data-tip="timothy-resume.pdf">
<span
class="tooltip tooltip-info tooltip-bottom"
data-tip="timothy-resume.pdf"
>
<a
href="resume.pdf"
type="application/pdf"
Expand Down
4 changes: 3 additions & 1 deletion components/hero-main-projects.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
<br /><br />
</span>
<span>Learn more:</span>
<span class="tooltip tooltip-bottom" :data-tip="mainProject.url"
<span
class="tooltip tooltip-info tooltip-bottom"
:data-tip="mainProject.url"
><a
:href="mainProject.url"
target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion components/steps-edu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<p class="mb-2 text-xs opacity-60">
{{ edu.school }}
</p>
<div class="tooltip tooltip-bottom" :data-tip="edu.tip">
<div class="tooltip tooltip-info tooltip-bottom" :data-tip="edu.tip">
<div class="badge badge-sm badge-outline badge-success">
{{ edu.result }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/the-footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p class="text-sm font-semibold drop-shadow-sm">
Built with 💖 by
<span
class="tooltip"
class="tooltip tooltip-info"
data-tip="https://github.com/tmthyadms"
target="_blank"
>
Expand Down
2 changes: 1 addition & 1 deletion components/the-header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<div class="navbar-end">
<div
id="tip-theme"
class="tooltip tooltip-left"
class="tooltip tooltip-info tooltip-left"
:data-tip="theme.light.tip"
>
<label
Expand Down

0 comments on commit 7ba4f1b

Please sign in to comment.