Skip to content

docs: fix intro wording and correct CSS custom property defaults - #27

Merged
hunterbecton merged 1 commit into
mainfrom
docs/fix-css-custom-property-values
May 1, 2026
Merged

hunterbecton merged 1 commit into
mainfrom
docs/fix-css-custom-property-values

Conversation

@hunterbecton

@hunterbecton hunterbecton commented May 1, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Rewrites the "How Bones works" section to explain why React.cache() is used instead of React Context, replacing awkward phrasing
  • Fixes --bone-base and --bone-highlight default values in the styling docs — they listed hex colors (#e0e0e0, #2a2a2a, etc.) but the source CSS uses rgba() values
  • Fixes the dark mode code example to match the actual stylesheet

Test plan

  • Verify the styling docs table renders correctly
  • Confirm the values in the docs match packages/bones/src/css/bones.css

Rewrite the "How Bones works" explanation to lead with why
React.cache() is used instead of Context.

Fix --bone-base and --bone-highlight default values in the styling
docs — they listed hex colors but the source uses rgba().
@vercel

vercel Bot commented May 1, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
bones-demo Ready Ready Preview, Comment May 1, 2026 5:24pm
bones-docs Ready Ready Preview, Comment May 1, 2026 5:24pm

Request Review

@hunterbecton
hunterbecton merged commit 7b4623b into main May 1, 2026
11 checks passed

This branch was successfully deployed

2 active deployments
Preview – bones-demo — a2a362f7 Deployed May 1, 2026 by vercel[bot]
Preview – bones-docs — a2a362f7 Deployed May 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.

1 participant