Cell 3926cc0220 refactor: reorganize CSS structure and standardize CSS variable usage for improved maintainability (#690)
* refactor: CSS variables to use fixit-var for consistency across styles

* refactor: reorganize CSS structure and consolidate imports for improved maintainability

* refactor: unify CSS variable usage and improve structure across stylesheets

* refactor: standardize CSS variable usage for layout

* refactor: standardize CSS variable usage for archive and special pages

* refactor: standardize CSS variable usage for single page

* refactor: standardize CSS variable usage for widgets

* refactor(css): refactors the border-radius mixin and adds the .rounded-full utility class

* refactor: standardize z-index usage across components

* refactor(css): removes deprecated compatibility mixins and replaces them with native CSS properties

* feat: unify color variable naming and update theme color values

- Rename `global-font-secondary-color` to `global-placeholder-color` for more accurate description of its purpose
- Update multiple style references to use the new `secondary` theme color variable
- Update theme color mapping to the new color values ​​for improved visual consistency
- Fixed the use of search box placeholder colors and removed hard-coded transparency values
- Added color preview test documentation for easier verification of color rendering
- Cleaned up some duplicate dark mode styles and replaced them with unified CSS variables

* refactor: remove the `hr-background-color` variable and uses `global-border-color` uniformly

* feat(CSE): add dark theme style to Google CSE search box and results container

* fix(task-lists): fixed styling and rendering issues with nested task lists
2026-02-28 17:24:10 +08:00
2026-01-08 17:31:45 +08:00
2026-01-04 15:19:09 +08:00
2025-09-06 14:42:46 +08:00

Hugo Theme FixIt

FixIt is a clean, elegant but advanced blog theme for Hugo.
Don't forget to leave a if you like this theme, thanks!

English | 简体中文 | 繁體中文 | Français | Русский язык | Español | हिन्दी | deutsch | 한국어 | しろうと

FixIt logo

FixIt

It is based on the original LoveIt Theme, KeepIt Theme and LeaveIt Theme.

Build GitHub release (latest by date) Hugo License GitHub stars Gitee star of FixIt

Live Preview

💟 Docs | ❇️ Test | 🚼 Demo | 🆕 Starter

More FixIt examples here.

Usage

Documentation

Head to the Quick Start page for a step-by-step guide on how to create a new website with FixIt.

Outline: InstallationGetting StartedContent ManagementAdvanced Usage

Starter Wizard

We provided a CLI tool to help you create a new project with FixIt by a single command.

pnpx fixit-cli create my-blog

asciicast

Templates

Click the following links to generate a new repository with template:

Template repository Generate link
A quick-start template base on Hugo Modules. hugo-fixit-starter Click
A quick-start template base on Git submodule. hugo-fixit-starter1 Click
Build multilingual sites using Fixit theme. docs Click
Customize with FixIt theme. Lruihao/hugo-blog Click

Features

Click to view.

Performance and SEO

Appearance and Layout

  • Responsive layout
  • Light/Dark mode
  • Globally consistent design language
  • Pagination supported
  • Easy-to-use and self-expanding table of contents
  • Multilanguage supported and i18n ready
  • Beautiful CSS animation

Social and Comment Systems

  • Gravatar supported by Gravatar
  • Local Avatar supported
  • Up to 87 social links supported
  • Up to 28 share sites supported
  • Disqus comment system supported by Disqus
  • Gitalk comment system supported by Gitalk
  • Valine comment system supported by Valine
  • Waline comment system supported by Waline
  • Facebook comments system supported by Facebook
  • Telegram comments system supported by Telegram Comments
  • Commento comment system supported by Commento
  • Utterances comment system supported by Utterances
  • Artalk comment system supported by Artalk
  • Twikoo comment system supported by Twikoo
  • giscus comment system supported by giscus

Extended Features

  • AI Summary, AI Search and AI Chatbot supported by PostChat
  • PWA (Progressive Web App) supported
  • Sub Menu supported
  • Content Encryption supported (Pages, Partial)
  • Friends page embedded template
  • Search supported by algolia, Fuse.js, CSE or PostChat
  • Custom Search Engine (CSE) supported by Google
  • Twemoji supported
  • Automatically highlighting code
  • Copy code to clipboard with one click
  • Images gallery supported by lightgallery
  • Extended Markdown syntax for Font Awesome icons
  • Extended Markdown syntax for ruby annotation
  • Extended Markdown syntax for fraction
  • Multiple admonitions shortcode or alerts extended Markdown syntax
  • Tabs and Tab shortcode with multiple design styles
  • Mathematical formula supported by KaTeX or MathJax
  • Diagrams code fences extended and shortcode supported by mermaid
  • Interactive data visualization shortcode and code fences extended supported by ECharts
  • Timeline code fences extended and shortcode supported
  • File tree code fences extended and shortcode supported
  • Mapbox shortcode supported by Mapbox GL JS
  • Music player shortcode supported by APlayer and MetingJS
  • Bilibili player and Douyin player shortcode
  • Custom style shortcode
  • Custom script shortcode
  • Open more custom blocks
  • Animated typing supported by TypeIt
  • Cookie consent banner supported by cookieconsent
  • Web Watermark supported by cell-watermark
  • Chinese typesetting supported by pangu.js
  • Options to cache remote image locally
  • ...

Multilingual and i18n

FixIt supports multilingual and i18n. For more information, see the Content Management documentation. You are welcome to contribute with a new language.

FixIt supports the following languages.
  • English
  • Simplified Chinese
  • Traditional Chinese
  • French
  • Polish
  • Brazilian Portuguese
  • Italian
  • Spanish
  • German
  • Serbian
  • Russian
  • Romanian
  • Vietnamese
  • Hindi
  • Japanese
  • Korean

Theme Components

The FixIt theme balances simplicity and extensibility with extra Hugo theme components for customization.

Click to view.

Community

All feedback is welcome! Head over to the discussions, Pull requests and issues tracker.

Official Community Description
Discussions GitHub discussion forum
FixIt WeChat group Follow and reply "FixIt" to get
FixIt QQ group QQ group: 814031017
Hugo FixIt Planet Paid knowledge Planet

Contributing

We welcome you to join the development of FixIt. Please see contributing document. 🤗

Also, we welcome Issue or PR to our official-components.

Note

When contributing, please first discuss the change you wish to make via a discussion on this repository before making the actual change.

Acknowledgements

Thanks to the support of all contributors!

Thanks to the Hugo DoIt theme and Hexo NexT theme for inspiration and reference.

Thanks to all the open source projects used in the FixIt theme.

License

FixIt is licensed under the MIT license. Check the LICENSE file for details.

Sponsor Support

If you enjoy the theme, please consider buying me a cup of coffee . Thanks!

Thanks to the following sponsors for their great support:

Author

Lruihao

Languages
HTML 32.1%
TypeScript 21.2%
TOML 18.9%
SCSS 17.7%
Markdown 8.1%
Other 1.9%