aboutsummaryrefslogtreecommitdiff
path: root/src/_includes/partials/header.njk
diff options
context:
space:
mode:
authorIndrajith K L2022-09-30 18:19:17 +0530
committerIndrajith K L2022-09-30 18:19:17 +0530
commitaaa2da4e22be420891a00bb1b33bdfc431db80bd (patch)
tree11ce3f8da6d0307ee3be8c41a3579a60a0c608d5 /src/_includes/partials/header.njk
parent0664c2c30cb90da2156e83cf18526438e2e5ff57 (diff)
downloadindrajith-dev-aaa2da4e22be420891a00bb1b33bdfc431db80bd.tar.gz
indrajith-dev-aaa2da4e22be420891a00bb1b33bdfc431db80bd.tar.bz2
indrajith-dev-aaa2da4e22be420891a00bb1b33bdfc431db80bd.zip
Theming: IN-PROGRESS
Diffstat (limited to 'src/_includes/partials/header.njk')
-rw-r--r--src/_includes/partials/header.njk24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/_includes/partials/header.njk b/src/_includes/partials/header.njk
index bf91705..7b83d77 100644
--- a/src/_includes/partials/header.njk
+++ b/src/_includes/partials/header.njk
@@ -1,20 +1,20 @@
-<header class="w-full bg-black text-yellow-500 flex flex-row md:flex-col justify-between items-center px-6 py-4">
+<header class="w-full bg-darkish-300 text-lightish-200 flex flex-row md:flex-col justify-between items-center px-6 py-4">
<nav class="w-full">
<ul class="flex flex-col md:flex-row gap-3 md:gap-10 font-supply-regular w-full items-center text-lg md:text-xl">
<li>
<a href="/" class="text-lg md:text-3xl">{ indrajith.dev } </a>
</li>
- <li class="hover:text-white"><a href="/about" id="about" class="links">About</a></li>
- <li class="hover:text-white"><a href="/posts" id="posts" class="links">Posts</a></li>
- <li class="hover:text-white"><a href="/cv" id="cv" class="links">CV</a></li>
+ <li class="hover:text-lightish-50"><a href="/about" id="about" class="links">About</a></li>
+ <li class="hover:text-lightish-50"><a href="/posts" id="posts" class="links">Posts</a></li>
+ <li class="hover:text-lightish-50"><a href="/cv" id="cv" class="links">CV</a></li>
</ul>
- <ul class="hidden md:flex flex-row gap-10 font-supply-regular right-0 -my-8 mx-6 absolute">
- <li class="hover:text-white"><a title="Twitter" target="_blank" href="https://twitter.com/indrajithKLIS" class="links">{% feather "twitter" %}</a></li>
- <li class="hover:text-white"><a title="Github" target="_blank" href="https://github.com/cooljith91112" class="links">{% feather "github" %}</a></li>
- <li class="hover:text-white"><a title="Sourcehut" target="_blank" href="https://sr.ht/~cooljith91112/" class="links">{% feather "circle" %}</a></li>
- <li class="hover:text-white"><a title="LinkedIn" target="_blank" href="https://www.linkedin.com/in/indrajithklis/" class="links">{% feather "linkedin" %}</a></li>
- <li class="hover:text-white"><a title="Ko-Fi" target="_blank" href="https://ko-fi.com/indrajith" class="links">{% feather "coffee" %}</a></li>
- <li class="hover:text-white"><a title="RSS" target="_blank" href="/feed.xml" class="links">{% feather "rss" %}</a></li>
+ <ul class="hidden md:flex flex-row gap-2 font-supply-regular right-0 -my-8 mx-6 absolute">
+ <li class="hover:text-lightish-50"><a title="Twitter" target="_blank" href="https://twitter.com/indrajithKLIS" class="links">{% feather "twitter" %}</a></li>
+ <li class="hover:text-lightish-50"><a title="Github" target="_blank" href="https://github.com/cooljith91112" class="links">{% feather "github" %}</a></li>
+ <li class="hover:text-lightish-50"><a title="Sourcehut" target="_blank" href="https://sr.ht/~cooljith91112/" class="links">{% feather "circle" %}</a></li>
+ <li class="hover:text-lightish-50"><a title="LinkedIn" target="_blank" href="https://www.linkedin.com/in/indrajithklis/" class="links">{% feather "linkedin" %}</a></li>
+ <li class="hover:text-lightish-50"><a title="Ko-Fi" target="_blank" href="https://ko-fi.com/indrajith" class="links">{% feather "coffee" %}</a></li>
+ <li class="hover:text-lightish-50"><a title="RSS" target="_blank" href="/feed.xml" class="links">{% feather "rss" %}</a></li>
</ul>
</nav>
</header>
@@ -25,7 +25,7 @@
const navs = ["about","posts","cv"];
const currentNav = navs.find(nav=>currentLocation.includes(nav));
if (currentNav) {
- document.getElementById(currentNav).parentElement.classList.add("text-white");
+ document.getElementById(currentNav).parentElement.classList.add("text-lightish-50");
}
})();
</script> \ No newline at end of file