refactor: deprecate kumo hairline - #700
Draft
FBalint wants to merge 4 commits into
Draft
Conversation
added 4 commits
August 5, 2026 11:28
Redefine kumo-line to use 10% black in light mode and 10% white in dark mode, unifying the two former border/ring tokens into a single semantic token. Add a backwards-compatibility alias so existing consumers using bg-kumo-hairline / border-kumo-hairline / ring-kumo-hairline etc. continue to render identically; the alias will be removed in the next major release.
Update AGENTS.md examples, USAGE.md token reference, colors.mdx token table, and lint rule comments to reflect the deprecation. Merge the two former Borders & Rings rows (hairline + line) into a single line entry describing the new semantics.
Sweep every internal usage of bg-kumo-hairline / border-kumo-hairline / ring-kumo-hairline / divide-kumo-hairline etc. across kumo components, registry metadata, kumo-figma parsers and generators, and the docs site (demos, layouts, mdx pages, global.css) over to kumo-line. Also fix a pre-existing duplicate --color-kumo-hairline declaration in KumoPressDemo.tsx (collapsed to a single --color-kumo-line) and reword a JSDoc comment in SidebarDemo.tsx to avoid the deprecated term. Existing external consumers are unaffected thanks to the compatibility alias added when the token was deprecated.
commit: |
Contributor
Docs PreviewCommit: |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



























































































































Deprecate kumo-hairline, unify on kumo-line
We had two border tokens that were doing the same job with subtly different values
(light: oklch(93.5% 0 0)vsoklch(14.5% 0 0 / 0.1), dark: oklch(26.9%) vs oklch(32%)). In practice that just produced a two-tone look across the UI depending on which component you were looking at. Consolidating on kumo-line.New values: 10% black in light mode, 10% white in dark mode. Opacity-based so it plays nicely with shadows and tinted surfaces.
kumo-hairline is kept as a CSS alias (--color-kumo-hairline: var(--color-kumo-line);) with a deprecated JSDoc, so external consumers keep working.