Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimal Hugo theme foundation that integrates PicoCSS via Sass, built on the KISS principle.
Pico Base is a minimal Hugo theme boilerplate that integrates the PicoCSS framework into Hugo's Dart Sass pipeline, giving theme developers a ready-made starting point for building new Hugo themes with PicoCSS styling.
Pico Base is a Hugo theme foundation generated from hugo new theme, then converted to YAML and extended with PicoCSS as an npm dependency. The theme takes a standard Hugo theme skeleton and modifies the css.html partial to transpile main.scss from the sass directory using Hugo's built-in dartsass transpiler, producing a compiled css/main.css file. It runs on Hugo as the static site generator, using npm only to install PicoCSS's SCSS source. The repository is public, carries a single star, and has no listed description or topics.
node_modules/@picocss/pico/scss into Hugo's Sass compiler via includePaths, so all PicoCSS variables and mixins are available in main.scss.outputStyle is set to compressed when hugo.IsProduction is true and expanded otherwise, and source maps are enabled only in non-production builds.hugo new theme scaffold is converted from TOML to YAML for site settings.main.scss lives in the sass directory (instead of the default css folder), matching Hugo's documented Sass pipeline.css function.main.scss and the layout files, and run Hugo to build a site styled with PicoCSS.main.scss to override colors, spacing, and other design settings before the CSS is compiled.Installation is done either by copying the repository or by adding it as a Hugo theme component. After installation, you modify main.scss and any layout files to fit your needs, then build the site with Hugo; the css.html partial invokes the dartsass transpiler to produce a compressed (production) or expanded (development) css/main.css file.