Skip to content

Commit

Permalink
Merge pull request #58 from FashionLab/tkp/toptext
Browse files Browse the repository at this point in the history
Tweak top text color
  • Loading branch information
timkpaine authored Sep 21, 2024
2 parents 6e1431c + 32b5d75 commit 5ec5497
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
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

0 comments on commit 5ec5497

Please # to comment.