mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 04:13:23 +00:00
Light-mode `secondary` was `blue` (hue ~260, almost identical to the `indigo` primary at hue ~277). Result: every primary→secondary gradient in light mode read as a flat solid colour — Pro pricing tier border, "Most popular" badge, Pro CTA, hero highlight (when not in forced-dark sections), stats numbers, comparison-table accents all lost their gradient direction. Switch light secondary to `teal` (hue ~182). Dark mode already used teal, so this unifies the brand pairing across modes. Visible gradient direction restored everywhere primary→secondary is used. No block changes needed — the fix lives in the theme palette where similar brand decisions belong, not as workarounds in individual blocks.
HugoBlox Kit Modules
Install HugoBlox features as Hugo Modules.
Quick start (most sites)
Add HugoBlox Kit core to config/_default/module.yaml (or hugo.yaml):
module:
imports:
- path: github.com/HugoBlox/kit/modules/blox
That’s it — analytics is already included when you use modules/blox.
Module map
- Core framework:
github.com/HugoBlox/kit/modules/blox- Layouts, blocks (Blox), Tailwind pipeline, shortcodes, defaults
- Includes:
github.com/HugoBlox/kit/modules/analytics
- Slides (content type):
github.com/HugoBlox/kit/modules/slides- Markdown slide decks (powered by Reveal.js)
- Integrations:
github.com/HugoBlox/kit/modules/integrations/*- Netlify:
github.com/HugoBlox/kit/modules/integrations/netlify
- Netlify:
Optional installs
Slides
module:
imports:
- path: github.com/HugoBlox/kit/modules/blox
- path: github.com/HugoBlox/kit/modules/slides
Netlify integration (security headers + redirects outputs)
module:
imports:
- path: github.com/HugoBlox/kit/modules/blox
- path: github.com/HugoBlox/kit/modules/integrations/netlify
Then enable Hugo outputs for Netlify:
outputs:
home: [HTML, RSS, headers, redirects]
Updating
hugo mod get -u github.com/HugoBlox/kit/modules/blox@main
hugo mod tidy