Skip to content

Render element styles in the terminal - #71

Draft
cowboyd wants to merge 1 commit into
dom-stylefrom
dom-style-rendering
Draft

cowboyd wants to merge 1 commit into
dom-stylefrom
dom-style-rendering

Conversation

@cowboyd

@cowboyd cowboyd commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Apply element declarations to terminal output: default display modes, inherited foreground colors, flex direction, gap, padding, and borders. CSS color values are converted to TTY colors; traversal remains iterative for deeply nested trees. Inline elements collect descendant text using their outer style.

Restacked above the native WPT base (#87). Relevant specs: CSS Display’s display property and CSS Flexbox’s flex-direction property.

Type of change

  • Bug fix
  • Feature
  • Refactor (no behavior change)
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • I have added a changeset

AI-generated code disclosure

  • This PR includes AI-generated code

AI disclosure: includes AI-assisted code, validation, and PR splitting.

@pkg-pr-new

pkg-pr-new Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/bombshell-dev/ui/@clack/ui@71

commit: 196f32b

@cowboyd
cowboyd marked this pull request as draft November 13, 2026 03:42
@cowboyd
cowboyd added this pull request to stack #73 November 13, 2026 03:43
@cowboyd
cowboyd force-pushed the dom-style-rendering branch from b373337 to 9defde7 Compare November 13, 2026 05:22
@cowboyd
cowboyd marked this pull request as ready for review November 13, 2026 05:39
@cowboyd
cowboyd marked this pull request as draft November 17, 2026 17:45
@cowboyd
cowboyd force-pushed the dom-style-rendering branch from 9defde7 to 3bf22a7 Compare November 17, 2026 18:03
@cowboyd
cowboyd removed this pull request from stack #73 November 17, 2026 18:06
@cowboyd
cowboyd added this pull request to stack #89 November 17, 2026 18:06
@cowboyd
cowboyd force-pushed the dom-style-rendering branch from 3bf22a7 to 534bbbe Compare November 17, 2026 21:35
@cowboyd
cowboyd removed this pull request from stack #89 November 17, 2026 21:35
@cowboyd
cowboyd added this pull request to stack #91 November 17, 2026 21:35
@cowboyd
cowboyd force-pushed the dom-style-rendering branch from 534bbbe to d8db316 Compare November 17, 2026 21:43
@cowboyd
cowboyd force-pushed the dom-style-rendering branch from d8db316 to a0be415 Compare November 17, 2026 22:12
@cowboyd
cowboyd force-pushed the dom-style-rendering branch from a0be415 to 03735d6 Compare November 18, 2026 02:41
@cowboyd
cowboyd force-pushed the dom-style-rendering branch from 03735d6 to 196f32b Compare November 18, 2026 02:50
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