Skip to content

fix(ui): declare GridTable row-height for token contract - #11

Closed
0froq wants to merge 1 commit into
mainfrom
cursor/fix-check-tokens-f2fe
Closed

0froq wants to merge 1 commit into
mainfrom
cursor/fix-check-tokens-f2fe

Conversation

@0froq

@0froq 0froq commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Problem

pnpm check fails at check:tokens on commits through f483e20:

components/display/display.css: reads undeclared token --ui-grid-table-row-height

GridTable sets --ui-grid-table-row-height inline and display.css reads it with var(), but the token checker only allows reads of the 12 contract tokens in tokens.css unless the same file declares the custom property.

Fix

Add a default on .ui-grid-table:

--ui-grid-table-row-height: 48px;

This matches the component default; inline styles from GridTable.vue can still override it.

Verification

Note

The same one-line fix was pushed directly to main as 81ec46b while this branch was prepared. This PR documents the minimal change for review; do not merge if main already contains it—close when satisfied.

Open in Web Open in Cursor 

Declare --ui-grid-table-row-height on .ui-grid-table so check:tokens
treats var() reads in the same file as a file-local custom property.

Co-authored-by: froQ <sayhola@froq.me>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ b10836c 2026-10-23T00:29:33.637Z View logs ↗

@0froq 0froq closed this Oct 23, 2026
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