Skip to content

color: emit logical border side and axis colours#161

Merged
samoht merged 1 commit into
mainfrom
border-y-color
Jul 26, 2026
Merged

color: emit logical border side and axis colours#161
samoht merged 1 commit into
mainfrom
border-y-color

Conversation

@samoht

@samoht samoht commented Jul 25, 2026

Copy link
Copy Markdown
Owner

border-y-<color> produced nothing where Tailwind emits border-block-color: var(--color-*), because the block axis had no cascade setter; border-x-<color> already mapped to border-inline-color. This wires the block-axis side (Bs_y) to Css.border_block_color, matching the reference.

Depends on cascade adding Css.border_block_color (samoht/cascade#197); CI stays red until that lands and is pinned.

border-y/s/e-<colour> produced nothing: the block axis and the inline
start/end edges had no border colour setter, while border-x already
mapped to border-inline-color. Wire Bs_y to border-block-color and
Bs_s/Bs_e to border-inline-start-color/border-inline-end-color.

Depends on cascade's Css.border_block_color (already added).
@samoht samoht changed the title color: emit border-y-<color> via border-block-color color: emit logical border side and axis colours Jul 25, 2026
@samoht
samoht merged commit 2ca4c23 into main Jul 26, 2026
2 checks passed
@samoht
samoht deleted the border-y-color branch July 26, 2026 03:18
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