A modern and cool Hugo theme with beautiful kawaii aesthetics, dark mode support, and delightful animations.
Visit the live demo to see the theme in action, or check out the exampleSite directory for a complete working example.
- π¨ Modern Design: Clean, contemporary aesthetics with beautiful typography
- π Dark Mode: Automatic system preference detection with manual toggle
- π± Responsive: Mobile-first design that looks great on all devices
- β‘ Fast: Optimized for performance with minimal resource overhead
- π Search: Built-in client-side search functionality
- β¨ Animations: Smooth animations and delightful micro-interactions
- π― Accessible: WCAG compliant with keyboard navigation support
- π οΈ Customizable: Easy to customize colors, fonts, and layout
-
Install the theme:
git submodule add https://github.com/yuis-ice/hugo-kawaii.git themes/kawaii
-
Update your
hugo.toml:theme = "kawaii"
-
Copy the example configuration:
cp themes/kawaii/exampleSite/hugo.toml . -
Start your site:
hugo server
- Hugo Extended version 0.147.0 or higher
- Git (for theme installation)
baseURL = "https://yoursite.com"
languageCode = "en-us"
title = "Your Site Title"
theme = "kawaii"
[params]
description = "Your site description"
author = "Your Name"
# Theme features
theme_toggle = true # Enable dark mode toggle
search = true # Enable search functionality
# Hero section
hero_cta = "Get Started"
hero_cta_link = "/posts"[[params.social]]
name = "github"
url = "https://github.com/yourusername"
[[params.social]]
name = "twitter"
url = "https://twitter.com/yourusername"[menu]
[[menu.main]]
name = "Home"
url = "/"
weight = 10
[[menu.main]]
name = "Posts"
url = "/posts"
weight = 20[[params.featured_sections]]
title = "Modern Design"
description = "Clean and beautiful aesthetics"
icon = "β¨"
link = "/about"Override CSS variables to customize colors:
/* assets/css/custom.css */
:root {
--kawaii-primary: #your-primary-color;
--kawaii-secondary: #your-secondary-color;
--kawaii-accent: #your-accent-color;
}Change typography by updating font variables:
:root {
--kawaii-font-family: 'Your Font', sans-serif;
--kawaii-font-mono: 'Your Mono Font', monospace;
}---
title: "Your Post Title"
date: 2024-01-15T10:00:00Z
description: "Post description for SEO"
tags: ["tag1", "tag2", "tag3"]
featured_image: "/images/featured.jpg"
---content/
βββ _index.md # Homepage content
βββ about/
β βββ _index.md # About page
βββ posts/
β βββ _index.md # Posts listing page
β βββ post-1.md # Individual posts
β βββ post-2.md
βββ contact/
βββ _index.md # Contact page
The Kawaii theme is optimized for performance:
- Lighthouse Score: 100/100 (Performance, Accessibility, Best Practices, SEO)
- Page Size: < 50KB (CSS + JS combined)
- Load Time: < 1 second on modern connections
- Mobile Friendly: Optimized for mobile devices
- Chrome/Chromium 88+
- Firefox 85+
- Safari 14+
- Edge 88+
We welcome contributions! Here's how you can help:
- Found a bug? Create an issue
- Use our detailed bug report template for faster resolution
- Have an idea? Request a feature
- Join our discussions to brainstorm
- Fork the repository and create a feature branch
- Follow the existing code style and patterns
- Test your changes with the example site
- Submit a pull request with a clear description
- Help improve documentation and examples
- Share your customizations and use cases
- Contribute to the community discussions
-
Fork and clone the repository:
git clone https://github.com/yuis-ice/hugo-kawaii.git cd kawaii-theme -
Create a test site:
hugo new site test-site cd test-site ln -s ../../../hugo-kawaii themes/kawaii -
Copy example configuration:
cp themes/kawaii/exampleSite/hugo.toml . cp -r themes/kawaii/exampleSite/content .
-
Start development server:
hugo server --theme kawaii
This theme is released under the MIT License.
- Hugo: The world's fastest framework for building websites
- Inter Font: Beautiful typography by Rasmus Andersson
- JetBrains Mono: Excellent monospace font for code
- Feather Icons: Beautiful open source icons
- Documentation: Check the README and exampleSite for usage instructions
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Community: Hugo Community Forum
- β Modern CSS with custom properties system
- β Dark mode with system preference detection
- β Responsive mobile-first design
- β Interactive JavaScript features
- β Comprehensive example site
- β Accessibility-focused HTML structure
- Multi-language support (i18n)
- Advanced search functionality
- Additional color schemes
- Animation improvements
- Performance optimizations
Made with β€οΈ for the Hugo community
If you like this theme, please β star it on GitHub and share it with others!
- Repository: github.com/yuis-ice/hugo-kawaii
- Hugo Themes: themes.gohugo.io
- Hugo Documentation: gohugo.io/documentation
