feat: implement dark mode with theme toggle

- Add dark mode support across all components and pages
- Implement theme toggle button in navbar (desktop and mobile)
- Fix desktop theme toggle icon visibility issue
- Add dark mode color variants to all text, backgrounds and components
- Update Tailwind config to enable class-based dark mode
- Add dark mode support to prose styles for blog content
- Persist theme preference in localStorage
- Update all pages (index, bio, blog) with dark mode colors
- Optimize images (me.png and me-baby.jpg)
This commit is contained in:
Lorenzo Iovino 2026-01-09 16:20:24 +01:00
parent a6cd4bcee5
commit 5f95673d2f
16 changed files with 392 additions and 203 deletions

View file

@ -1,7 +1,7 @@
---
title: "Welcome to My Blog!"
description: "First commit"
pubDate: 2024-01-15
pubDate: 2026-01-08
heroImage: "../../assets/photos/remote.jpg"
tags: ["personal", "welcome"]
---
@ -9,7 +9,7 @@ tags: ["personal", "welcome"]
Hi, I’m Lorenzo.
I’ve been thinking about writing for a long time, and I finally decided to publish this blog.
Not to be “a creator” or something like that — just to keep track of what I learn and share it with whoever finds it useful.
Not to be “a creator” or something like that, just to keep track of what I learn and share it with whoever finds it useful.
## What you will find here