Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimalistic Hugo blog theme with Solarized light, dark, and gray color schemes, ported from Ghost.
Solar is a minimalistic Hugo theme for blogs, ported from the Solar theme for Ghost, that offers Solarized light, dark, and gray color schemes with a user-preference auto-switch.
Solar is a free, open-source theme for the Hugo static site generator, designed specifically for blog sites. It is a port of the Solar Theme for Ghost by Matt Harzewski (mattvh) and is available on the official Hugo theme gallery with a live demo. The theme takes standard Hugo content (Markdown files with front matter) as input and renders it as a clean, Solarized-styled blog. It is licensed under GPLv2 or higher.
Solar follows the standard Hugo theme setup. Clone the Git repository into your Hugo project's themes folder, then reference solar-theme-hugo in your site configuration. An example config.toml is provided in the exampleSite folder to get you started. Run hugo server with the theme flag and the site builds with the selected color scheme.
Solar is free and open source, released under the GPLv2 or higher license. There are no paid tiers or premium features.
Yes, Solar is open source and free to use for any project. It is licensed under GPLv2 or higher, so you can modify and redistribute it as long as you keep the license.
Solar includes Solarized dark as the default color scheme. It also offers light and gray schemes, plus a "preference" mode that switches between light and dark automatically based on the user's operating system or browser preference.
Clone the repository to your Hugo site's themes directory, for example with git clone https://github.com/bake/solar-theme-hugo.git themes/solar-theme-hugo. Then run hugo server --theme solar-theme-hugo to preview the site locally.
Yes. Create a head.html or foot.html file inside your site's layouts/partials/ folder, and Solar will inject the contents just before the closing head or body tag on every page. You can also replace the logo by adding logo.svg to static/img/.
No. Solar does not bundle a syntax highlighter. You can enable Hugo's built-in Chroma highlighting by setting a matching pygmentsStyle in your config, or integrate a JavaScript highlighter such as highlight.js through a custom footer.html partial.
