Skip to content

Replace Bulma CSS with Tailwind CSS#205

Open
tamalsaha wants to merge 1 commit intomasterfrom
tailwind
Open

Replace Bulma CSS with Tailwind CSS#205
tamalsaha wants to merge 1 commit intomasterfrom
tailwind

Conversation

@tamalsaha
Copy link
Copy Markdown
Member

Summary

Replace Bulma CSS framework with Tailwind CSS while preserving the existing visual output.

Changes

  • Remove Bulma npm dependency; add Tailwind CSS, Dart Sass, and postcss-import as devDependencies
  • Add tailwind.config.js and src/css/main.css entry point
  • Create static/assets/sass/base/_bulma-compat.scss — a compatibility layer that provides all Bulma CSS classes via pure SCSS so any residual Bulma class names continue to render correctly
  • Add full set of Bulma responsive mixins to _mixin.scss
  • Update postcss.config.js to include tailwindcss and postcss-import
  • Update style-bundle.html to load both tailwind.css and custom.css
  • Migrate all HTML templates (layouts/, shortcodes/, partials/) from Bulma grid utilities (columns/column) to Tailwind flex/grid utilities
  • Rebuild CSS: tailwind.css (11 KB) + custom.css (300 KB)

Testing

Hugo build produces 67 pages with no errors.

Signed-off-by: Tamal Saha tamal@appscode.com

- Remove Bulma npm dependency
- Add Tailwind CSS, Dart Sass, and postcss-import as devDependencies
- Create tailwind.config.js and src/css/main.css
- Add _bulma-compat.scss compatibility layer so Bulma class names
  continue to render correctly during incremental migration
- Update postcss.config.js to include tailwindcss and postcss-import
- Add full set of Bulma responsive mixins to _mixin.scss
- Update style-bundle.html to load both tailwind.css and custom.css
- Migrate all HTML templates (layouts/, shortcodes/, partials/) from
  Bulma grid classes (columns/column) to Tailwind flex/grid utilities
- Rebuild CSS: tailwind.css (11K) + custom.css (300K)

Hugo build produces 67 pages with no errors.

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha tamalsaha requested review from mohin7 April 1, 2026 09:25
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Visit the preview URL for this PR (updated for commit 78cb25b):

https://appscode-v3-hugo--pr205-tailwind-zybftotu.web.app

(expires Wed, 08 Apr 2026 09:26:10 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1720b7810a846fabdac7ca3b944d0f3a577e94de

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant