Welcome to my blog

5 min read
#meta #astro #catppuccin

Welcome to my blog

This is my first post on my new blog built with Astro and styled with the beautiful Catppuccin color palette.

What you can expect

I’ll be writing about:

  • Software development
  • Open source projects
  • Technology thoughts and opinions
  • Personal projects and learnings

The setup

This blog is built with:

  • Astro - Static site generator
  • Tailwind CSS - Utility-first CSS framework
  • Catppuccin - Soothing pastel theme
  • GitHub Pages - Hosting and deployment

The source code is available on GitHub.

Dark mode

The site supports both light and dark themes using Catppuccin’s Latte and Mocha palettes respectively. Try toggling the theme using the button in the header!

// Theme switching is handled with localStorage persistence
export const toggleTheme = (): Theme => {
  const currentTheme = getTheme();
  const newTheme = currentTheme === 'light' ? 'dark' : 'light';
  applyTheme(newTheme);
  return newTheme;
};

Looking forward to sharing more content here!