mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 14:14:41 +00:00
Move block-specific CSS from centralized assets/css/blox/ to co-located style.css files within each block directory. The css.html partial now auto-discovers style.css files from bundled and community blocks and concatenates them into the Tailwind entry via resources.Concat, enabling full @apply support while avoiding VFS path resolution issues. Shared biography styles (avatar, ruby) are extracted to blox/shared/css/ and auto-included before per-block styles. Navbar CSS moves to components/ as it's a framework-level concern. The separate community CSS pipeline in site_head.html is removed — all block CSS now flows through a single Tailwind entry point.
51 lines
1.3 KiB
CSS
51 lines
1.3 KiB
CSS
/*
|
|
Hugo Blox Tailwind CSS v4 - Main Entry Point
|
|
|
|
This file orchestrates all CSS imports in the correct order:
|
|
1. Tailwind base with configuration
|
|
2. Theme and color definitions
|
|
3. Base styles and utilities
|
|
4. Hugo Blox framework components
|
|
5. Hugo Blox module components
|
|
6. Safelist for dynamic classes
|
|
*/
|
|
|
|
/* Tailwind CSS v4 Base */
|
|
@import "tailwindcss";
|
|
|
|
/* Dynamic sources are injected by the css.html partial */
|
|
/* This handles both monorepo dev and end-user environments */
|
|
|
|
/* Configuration */
|
|
@import "config/tailwind.css";
|
|
@import "config/theme.css";
|
|
|
|
/* Base styles and utilities */
|
|
@import "framework/base.css";
|
|
|
|
/* Hugo Blox theme system (color utilities) */
|
|
@import "color-utilities.css";
|
|
|
|
/* Hugo Blox layout utilities (radius, spacing tokens) */
|
|
@import "layout-utilities.css";
|
|
|
|
/* Hugo Blox framework components */
|
|
@import "framework/components.css";
|
|
|
|
/* Hugo Blox module components */
|
|
@import "components/all.css";
|
|
@import "views/all.css";
|
|
|
|
/* Block-specific CSS is auto-discovered from co-located style.css files */
|
|
/* See css.html partial for the discovery mechanism */
|
|
@import "chroma.css";
|
|
|
|
/* Hugo Blox Search */
|
|
@import "hb-search.css";
|
|
|
|
/* Hugo Blox Animations (typewriter, scroll reveals) */
|
|
@import "animations.css";
|
|
|
|
/* Safelist for dynamic classes */
|
|
@import "config/safelist.css";
|