Conversation
- 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>
|
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replace Bulma CSS framework with Tailwind CSS while preserving the existing visual output.
Changes
postcss-importas devDependenciestailwind.config.jsandsrc/css/main.cssentry pointstatic/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_mixin.scsspostcss.config.jsto includetailwindcssandpostcss-importstyle-bundle.htmlto load bothtailwind.cssandcustom.csslayouts/,shortcodes/,partials/) from Bulma grid utilities (columns/column) to Tailwind flex/grid utilitiestailwind.css(11 KB) +custom.css(300 KB)Testing
Hugo build produces 67 pages with no errors.
Signed-off-by: Tamal Saha tamal@appscode.com