Skip to content

0.13.1: forms save again, dark sections stay light, classes in Bricks… - #24

Merged
Hamido212 merged 1 commit into
BricksSnapfrom
claude/funny-planck-6mxikd
Oct 1, 2026
Merged

Hamido212 merged 1 commit into
BricksSnapfrom
claude/funny-planck-6mxikd

Conversation

@Hamido212

Copy link
Copy Markdown
Owner

…' own form

Found while rebuilding a real club website on a Bricks 2.4.2 site:

  • Forms: Bricks rejects submitButtonPadding; the padding moves to the bs-form class.
  • Dark and primary surfaces: Bricks prints class controls as .class.brxe-element, as strong as the surface rules, so titles stayed dark when a dark section came first. Surface and parent overrides now outrank Bricks' class rules.
  • Class CSS: Bricks moves gap, padding, grid-column etc. of a class's own rule into controls, splits selector lists and puts at-rules first. Classes are now written in that form, so updates verify and stop reporting "another version". Eyebrow and tabs use _gap, the gap control Bricks prints on text and nested tabs.
  • Saving a page compares classes without CSS layout (no false "keeps the site's definition" warnings). stableJson moves to its own module to avoid an import cycle.
  • Tests cover rejected and unprinted controls, rewritten class CSS and weak override rules across all layouts.

Claude-Session: https://claude.ai/code/session_01APhfigKq7DMdgedQ4Pr9VK

…' own form

Found while rebuilding a real club website on a Bricks 2.4.2 site:

- Forms: Bricks rejects submitButtonPadding; the padding moves to the
  bs-form class.
- Dark and primary surfaces: Bricks prints class controls as
  .class.brxe-element, as strong as the surface rules, so titles stayed dark
  when a dark section came first. Surface and parent overrides now outrank
  Bricks' class rules.
- Class CSS: Bricks moves gap, padding, grid-column etc. of a class's own
  rule into controls, splits selector lists and puts at-rules first. Classes
  are now written in that form, so updates verify and stop reporting
  "another version". Eyebrow and tabs use _gap, the gap control Bricks
  prints on text and nested tabs.
- Saving a page compares classes without CSS layout (no false
  "keeps the site's definition" warnings). stableJson moves to its own
  module to avoid an import cycle.
- Tests cover rejected and unprinted controls, rewritten class CSS and weak
  override rules across all layouts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01APhfigKq7DMdgedQ4Pr9VK
@vercel

vercel Bot commented Oct 1, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
bricks-snap Ready Ready Preview Oct 1, 2026 10:45pm UTC

@Hamido212
Hamido212 merged commit c8eb2db into BricksSnap Oct 1, 2026
7 checks passed
@Hamido212
Hamido212 deleted the claude/funny-planck-6mxikd branch October 4, 2026 21:59

This branch was successfully deployed

1 active deployment
Preview — 034a30b6 Deployed Oct 1, 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.

2 participants