Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A fluid and responsive Hugo theme with Fluent Design and Tailwind CSS, featuring search, dark mode, and archives.
Theme Fluidity is a Hugo theme built for blogs that combines Fluent Design visual language with Tailwind CSS to produce a responsive, searchable site with dark mode and archive pages.
Theme Fluidity is an open-source, MIT-licensed Hugo theme created by GitHub user wayjam. It takes Markdown content files from a Hugo site and renders them as a static blog with a fluid, responsive layout. The theme requires Hugo 0.128.0 or newer and supports installation either through Hugo Modules or as a Git submodule. It is listed on the Hugo Themes directory with a demo available at wayjam.github.io/hugo-theme-fluidity.
npx pagefind before each build..dark class on the html element switches between light and dark palettes.content/archives/_index.md to enable it.params.comment.thirdParty, any comment system can be injected, with JavaScript that syncs dark/light mode using a MutationObserver on the document class list.hugo mod npm pack).After installing via git submodule add or a Hugo Module import, set theme: hugo-theme-fluidity in hugo.yaml. Run hugo mod npm pack && npm update to fetch npm dependencies. For PageFind search, install pagefind (npm i pagefind) and execute npx pagefind before each production build. The example site configuration is provided in exampleSite/hugo.yaml, and the development server can be started with the run_example.sh script.
Yes, Theme Fluidity is released under the MIT License, so it is free to use, modify, and redistribute, including in commercial projects.
Theme Fluidity requires Hugo 0.128.0 or newer, as indicated by the ^0.128.0 version badge on the repository.
Add params.search.provider: google or params.search.provider: pagefind to your site config. For PageFind, you must also create a pagefind.yml config file, install the pagefind npm package, and run npx pagefind before every build.
Yes, set params.comment.thirdParty to an HTML snippet containing your comment widget's script and markup. The theme includes a JavaScript example (desensitized) that initializes the widget and syncs dark mode via a MutationObserver on the document.documentElement class attribute.
Yes, dark mode is built in. The theme toggles a .dark class on the document root, and all colors are defined to switch between light and dark themes. Third-party comments can also be synchronized to follow the current mode.
