Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tweak top text color #58

Merged
merged 1 commit into from
Sep 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ vite.config.ts.timestamp-*

# Tests
test-results

# Deploy
tmp-repo
6 changes: 3 additions & 3 deletions src/lib/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<a href="/" class="flex items-center py-4 px-2">
<img src="/favicon.png" alt="Logo" class="h-4 w-4 mr-2" />
<span
class="tracking-widest leading-tight font-normal text-neutral-300 text-lg"
class="tracking-widest leading-tight font-normal text-lg"
class:text-black={y < 50}
class:text-white={y >= 50}>FashionLab</span
>
Expand All @@ -31,7 +31,7 @@
<div class="hidden md:flex items-center space-x-1">
<a
href="#about"
class="py-2 px-2 rounded text-neutral-300 font-semibold hover:text-neutral-200 hover:bg-neutral-600 transition duration-300"
class="py-2 px-2 rounded font-semibold hover:text-neutral-200 hover:bg-neutral-600 transition duration-300"
class:text-black={y < 50}
class:text-white={y >= 50}>About</a
>
Expand All @@ -41,7 +41,7 @@
<div class="hidden md:flex items-center space-x-3">
<a
href="#contact"
class="py-2 px-2 rounded text-neutral-300 font-semibold hover:text-neutral-200 hover:bg-neutral-600 transition duration-300"
class="py-2 px-2 rounded font-semibold hover:text-neutral-200 hover:bg-neutral-600 transition duration-300"
class:text-black={y < 50}
class:text-white={y >= 50}>Contact</a
>
Expand Down