Skip to content

refactor: migrate getBlocksStyles from SDK to native tailwindcss with PostCSS - #664

Merged
surajair merged 2 commits into
devfrom
issue-651
Feb 4, 2026
Merged

surajair merged 2 commits into
devfrom
issue-651

Conversation

@chaibuilder-dev

Copy link
Copy Markdown
  • Replace getStylesForBlocks from SDK with native tailwindcss and postcss packages
  • Add autoprefixer to PostCSS processing pipeline
  • Include Tailwind plugins: forms, typography, aspect-ratio, and container-queries
  • Add accordion animations to theme configuration
  • Implement regex-based #styles: marker cleanup in blocks JSON
  • Configure Tailwind with raw HTML content instead of SDK's internal processing

… PostCSS

- Replace getStylesForBlocks from SDK with native tailwindcss and postcss packages
- Add autoprefixer to PostCSS processing pipeline
- Include Tailwind plugins: forms, typography, aspect-ratio, and container-queries
- Add accordion animations to theme configuration
- Implement regex-based #styles: marker cleanup in blocks JSON
- Configure Tailwind with raw HTML content instead of SDK's internal processing
@vercel

vercel Bot commented Feb 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sdk Ready Ready Preview, Comment Feb 4, 2026 9:06am

Request Review

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Feb 4, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
sdk 893d6f1 Feb 04 2026, 09:06 AM

@surajair
surajair merged commit 666f7bf into dev Feb 4, 2026
1 of 2 checks passed
@surajair
surajair deleted the issue-651 branch February 4, 2026 09:05
@github-actions github-actions Bot mentioned this pull request Feb 4, 2026
surajair added a commit that referenced this pull request Feb 4, 2026

This branch was successfully deployed

1 active deployment
Preview — 893d6f14 Deployed Feb 4, 2026 by vercel[bot]
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.

arbitrary classes with commas are not detected correctly while generating styles for blocks

2 participants