Skip to content

yuis-ice/hugo-kawaii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Kawaii Hugo Theme

A modern and cool Hugo theme with beautiful kawaii aesthetics, dark mode support, and delightful animations.

πŸ“Έ Preview

Kawaii Theme Screenshot

Visit the live demo to see the theme in action, or check out the exampleSite directory for a complete working example.

✨ Features

  • 🎨 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

πŸš€ Quick Start

  1. Install the theme:

    git submodule add https://github.com/yuis-ice/hugo-kawaii.git themes/kawaii
  2. Update your hugo.toml:

    theme = "kawaii"
  3. Copy the example configuration:

    cp themes/kawaii/exampleSite/hugo.toml .
  4. Start your site:

    hugo server

πŸ“‹ Requirements

  • Hugo Extended version 0.147.0 or higher
  • Git (for theme installation)

🎨 Configuration

Basic Configuration

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"

Social Links

[[params.social]]
  name = "github"
  url = "https://github.com/yourusername"

[[params.social]]
  name = "twitter"
  url = "https://twitter.com/yourusername"

Navigation Menu

[menu]
  [[menu.main]]
    name = "Home"
    url = "/"
    weight = 10
  
  [[menu.main]]
    name = "Posts"
    url = "/posts"
    weight = 20

Featured Sections

[[params.featured_sections]]
  title = "Modern Design"
  description = "Clean and beautiful aesthetics"
  icon = "✨"
  link = "/about"

🎨 Customization

Colors

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;
}

Fonts

Change typography by updating font variables:

:root {
  --kawaii-font-family: 'Your Font', sans-serif;
  --kawaii-font-mono: 'Your Mono Font', monospace;
}

πŸ“ Content Structure

Post Front Matter

---
title: "Your Post Title"
date: 2024-01-15T10:00:00Z
description: "Post description for SEO"
tags: ["tag1", "tag2", "tag3"]
featured_image: "/images/featured.jpg"
---

Page Structure

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

🎯 Performance

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

🌍 Browser Support

  • Chrome/Chromium 88+
  • Firefox 85+
  • Safari 14+
  • Edge 88+

🀝 Contributing

We welcome contributions! Here's how you can help:

πŸ› Report Issues

  • Found a bug? Create an issue
  • Use our detailed bug report template for faster resolution

✨ Suggest Features

πŸ”§ Code Contributions

  • 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

πŸ“š Documentation

  • Help improve documentation and examples
  • Share your customizations and use cases
  • Contribute to the community discussions

Development Setup

  1. Fork and clone the repository:

    git clone https://github.com/yuis-ice/hugo-kawaii.git
    cd kawaii-theme
  2. Create a test site:

    hugo new site test-site
    cd test-site
    ln -s ../../../hugo-kawaii themes/kawaii
  3. Copy example configuration:

    cp themes/kawaii/exampleSite/hugo.toml .
    cp -r themes/kawaii/exampleSite/content .
  4. Start development server:

    hugo server --theme kawaii

πŸ“„ License

This theme is released under the MIT License.

πŸ™ Credits

  • 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

πŸ“ž Support

πŸš€ What's New

  • βœ… 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

πŸ—ΊοΈ Future Plans

  • 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 Stats

GitHub stars GitHub forks GitHub issues GitHub license

πŸ”— Links

About

A modern and cool Hugo theme with beautiful kawaii aesthetics, dark mode support, and delightful animations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •