Repository navigation
docs(design): define iconography guidance - #6429
Merged
Merged
Conversation
ernestt
requested review from
cixzhang,
imdreamrunner and
josephfarina
as code owners
September 21, 2026 18:40
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
AI review status for this pull request.
|
ernestt
force-pushed
the
docs/icon-presentation-hierarchy
branch
from
September 21, 2026 18:56
3c78c49 to
f2ac059
Compare
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size SummaryNo component packages changed. Accessibility AuditStatus: 36 accessibility violation(s) found — 2 critical, 34 serious. Button pattern - 1 issue(s)
ChatComposer - 1 issue(s)
ChatComposerInput - 1 issue(s)
ChatReasoning - 1 issue(s)
ChatToolCalls - 1 issue(s)
Checkbox pattern - 1 issue(s)
CheckboxList - 1 issue(s)
ClickableCard - 1 issue(s)
CodeEditor - 1 issue(s)
CodeEditorPerf - 1 issue(s)
CodeEditorTheme - 1 issue(s)
CodeTheme - 1 issue(s)
DateRangeInput - 1 issue(s)
FileInput - 1 issue(s)
GridMasonry - 1 issue(s)
Heading - 1 issue(s)
Icon - 1 issue(s)
LogStream - 1 issue(s)
MediaTheme Auto - 1 issue(s)
PowerSearch - 1 issue(s)
ProgressBar - 1 issue(s)
Radio group pattern - 1 issue(s)
RadioList - 1 issue(s)
RichTextEditor - 2 issue(s)
SelectableCard - 1 issue(s)
Stepper - 1 issue(s)
TableGroupedRows - 1 issue(s)
TableTree - 1 issue(s)
Text - 1 issue(s)
Theme - 1 issue(s)
PopArt - 1 issue(s)
Thumbnail - 1 issue(s)
Timestamp - 1 issue(s)
Token - 1 issue(s)
Tokenizer - 1 issue(s)
Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
This branch was successfully deployed
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.
Exact decision needed
Define one public, cross-component iconography contract grounded in current Astryx behavior for:
Existing authority searched
Reviewed the current
component:Iconcontract and implementation, fallback artwork, Button/IconButton sizing, Link’s labeled icon-only path, Tab’sicon/selectedIcon/endContentslots,component:Table,design:control-rhythm,architecture:icon-resolution-and-component-slots,architecture:component-theming-surface, andarchitecture:theme-authoring-contract, plus open icon and Table work including #5762, #6222, and #6244.Those records own Icon’s released API and geometry, component slot sizing, qualified theming, registry resolution, and control rhythm. None currently owns the cross-component visual and composition rules above. #6244 is complementary: it proposes how a registry may select size-specific artwork after a component has selected an effective size; it does not decide which semantic role or artwork style a component should choose.
Decision
Add
design:iconographyas a draft design record. It establishes:placeholderoronMediaAPI values;The design index receives one supporting entry.
Reconciliation with earlier guidance
The current implementation made several older rules unsuitable as written:
sm/mdand 20px forlg; bare Icon defaults to 20pxmd.placeholderandonMediaare not Icon color values. Busy-surface color comes through inheritance or an owning component target.Rejected alternatives
Claim scope and non-goals
This PR records design intent only. It does not change runtime behavior, Icon sizes, component APIs, theme targets, registry descriptors, individual SVG assets, hit-target thresholds, or existing callsites. The record starts as
draft; current component contracts remain authoritative until design-owner approval and explicit adoption.Evidence and implementation relationship
Scope
Validation
pnpm check:knowledgegit diff --checkLocal expert review was attempted before upload but the reviewer configuration was unavailable in this environment; repository validation is the fallback.