Token visualizer
Inspect a design role across themes and densities, then trace its use in released components.
sys.ink.primary
| Context | Resolved CSS | Alias chain |
|---|---|---|
| dark/comfortable | #ededef | sys.ink.primary → ref.color.xededef |
| dark/compact | #ededef | sys.ink.primary → ref.color.xededef |
| light/comfortable | #202025 | sys.ink.primary → ref.color.x202025 |
| light/compact | #202025 | sys.ink.primary → ref.color.x202025 |
Consumer items
- fe.activity-rail
- fe.button
- fe.chat-composer
- fe.checkbox
- fe.data-table
- fe.dialog
- fe.disclosure
- fe.drawer
- fe.error-card
- fe.event-list
- fe.field
- fe.filter-bar
- fe.icon-button
- fe.popover
- fe.progress
- fe.resizable-split
- fe.select
- fe.simple-markdown
- fe.table
- fe.tabs
- fe.tooltip
- fe.transcript
- fe.unified-diff-block
- fe.workspace-shell
WCAG 2.2 contrast
sys.ink.primary on sys.surface.canvastext · requires 4.5:1Pass 16.69696222367291:1sys.ink.primary on sys.surface.chrometext · requires 4.5:1Pass 16.11078043752095:1sys.ink.primary on sys.surface.paneltext · requires 4.5:1Pass 15.433116963461678:1sys.ink.primary on sys.surface.raisedtext · requires 4.5:1Pass 13.694928091461058:1sys.ink.primary on sys.surface.overlaytext · requires 4.5:1Pass 12.351627122646256:1sys.ink.primary on sys.surface.sunkentext · requires 4.5:1Pass 16.910273111327417:1sys.ink.primary on sys.action.selectedtext · requires 4.5:1Pass 10.839441483339828:1sys.ink.primary on sys.action.hovertext · requires 4.5:1Pass 12.802169872250582:1sys.ink.primary on sys.action.pressedtext · requires 4.5:1Pass 10.111728386399834:1sys.ink.primary on sys.surface.panellarge-text · requires 3:1Pass 15.433116963461678:1
Typography
构建日志与版本记录
Build notes and release history
| Run | Elapsed |
|---|---|
| Build 1 | 00:11:17 |
| Build 2 | 00:28:49 |
const panel = cssVar('sys.surface.panel')Spacing & row height
sys.size.rowsys.space.gapsys.space.hairsys.space.insetsys.space.sectionsys.space.snugsys.space.tightMotion
fast 120ms0ms · reduced motion
normal 180ms0ms · reduced motion
slow 300ms0ms · reduced motion
All public tokens
| Token | dark/comfortable | dark/compact | light/comfortable | light/compact |
|---|---|---|---|---|
comp.drawer.maxWidth | 36.25rem | 36.25rem | 36.25rem | 36.25rem |
comp.rail.width | 4.375rem | 4.375rem | 4.375rem | 4.375rem |
comp.split.handle.hitArea | 2.5rem | 2rem | 2.5rem | 2rem |
comp.split.handle.size | 0.125rem | 0.125rem | 0.125rem | 0.125rem |
sys.action.accent | #b9a3d2 | #b9a3d2 | #684a84 | #684a84 |
sys.action.accentInk | #0c0c10 | #0c0c10 | #ffffff | #ffffff |
sys.action.focus | #cdb2ea | #cdb2ea | #684a84 | #684a84 |
sys.action.hover | #27262e | #27262e | #f1eef4 | #f1eef4 |
sys.action.pressed | #3b3543 | #3b3543 | #e1dae7 | #e1dae7 |
sys.action.selected | #37303f | #37303f | #e9e2f0 | #e9e2f0 |
sys.border.control | #858591 | #858591 | #737380 | #737380 |
sys.border.default | #373740 | #373740 | #d2d2da | #d2d2da |
sys.border.subtle | #292930 | #292930 | #e6e6ea | #e6e6ea |
sys.diff.add.bg | #17372b | #17372b | #e4f4ec | #e4f4ec |
sys.diff.add.fg | #34d399 | #34d399 | #176649 | #176649 |
sys.diff.gutter | #a5a5b0 | #a5a5b0 | #52525e | #52525e |
sys.diff.remove.bg | #392628 | #392628 | #fbeaec | #fbeaec |
sys.diff.remove.fg | #f39b9b | #f39b9b | #9f3035 | #9f3035 |
sys.elevation.overlay | 0px 8px 24px 0px color(srgb 0 0 0 / 0.48) | 0px 8px 24px 0px color(srgb 0 0 0 / 0.48) | 0px 8px 24px 0px color(srgb 0 0 0 / 0.2) | 0px 8px 24px 0px color(srgb 0 0 0 / 0.2) |
sys.elevation.raised | 0px 2px 6px 0px color(srgb 0 0 0 / 0.32) | 0px 2px 6px 0px color(srgb 0 0 0 / 0.32) | 0px 2px 6px 0px color(srgb 0 0 0 / 0.12) | 0px 2px 6px 0px color(srgb 0 0 0 / 0.12) |
sys.ink.disabled | #6b6b75 | #6b6b75 | #9a9aa5 | #9a9aa5 |
sys.ink.inverse | #0c0c10 | #0c0c10 | #ffffff | #ffffff |
sys.ink.muted | #a5a5b0 | #a5a5b0 | #52525e | #52525e |
sys.ink.primary | #ededef | #ededef | #202025 | #202025 |
sys.ink.secondary | #c0c0c9 | #c0c0c9 | #393941 | #393941 |
sys.layer.base | 0 | 0 | 0 | 0 |
sys.layer.modal | 30 | 30 | 30 | 30 |
sys.layer.popover | 20 | 20 | 20 | 20 |
sys.layer.sticky | 10 | 10 | 10 | 10 |
sys.motion.easing | cubic-bezier(0.2, 0, 0, 1) | cubic-bezier(0.2, 0, 0, 1) | cubic-bezier(0.2, 0, 0, 1) | cubic-bezier(0.2, 0, 0, 1) |
sys.motion.fast | 120ms | 120ms | 120ms | 120ms |
sys.motion.normal | 180ms | 180ms | 180ms | 180ms |
sys.motion.slow | 300ms | 300ms | 300ms | 300ms |
sys.radius.lg | 0.5rem | 0.5rem | 0.5rem | 0.5rem |
sys.radius.md | 0.375rem | 0.375rem | 0.375rem | 0.375rem |
sys.radius.pill | 624.9375rem | 624.9375rem | 624.9375rem | 624.9375rem |
sys.radius.sm | 0.25rem | 0.25rem | 0.25rem | 0.25rem |
sys.radius.xl | 0.75rem | 0.75rem | 0.75rem | 0.75rem |
sys.size.control | 2rem | 1.75rem | 2rem | 1.75rem |
sys.size.hitTarget | 2.5rem | 2rem | 2.5rem | 2rem |
sys.size.icon | 1rem | 1rem | 1rem | 1rem |
sys.size.row | 2.5rem | 2rem | 2.5rem | 2rem |
sys.size.titleBar | 2.5rem | 2.25rem | 2.5rem | 2.25rem |
sys.space.gap | 0.75rem | 0.5rem | 0.75rem | 0.5rem |
sys.space.hair | 0.125rem | 0.125rem | 0.125rem | 0.125rem |
sys.space.inset | 0.75rem | 0.5rem | 0.75rem | 0.5rem |
sys.space.section | 2rem | 1.5rem | 2rem | 1.5rem |
sys.space.snug | 0.5rem | 0.375rem | 0.5rem | 0.375rem |
sys.space.tight | 0.25rem | 0.25rem | 0.25rem | 0.25rem |
sys.status.danger.bg | #392628 | #392628 | #fbeaec | #fbeaec |
sys.status.danger.border | #845357 | #845357 | #cd9092 | #cd9092 |
sys.status.danger.fg | #f39b9b | #f39b9b | #9f3035 | #9f3035 |
sys.status.info.bg | #232f40 | #232f40 | #e9f0fa | #e9f0fa |
sys.status.info.border | #4a6585 | #4a6585 | #89a5c7 | #89a5c7 |
sys.status.info.fg | #a1c4ef | #a1c4ef | #315c91 | #315c91 |
sys.status.success.bg | #17372b | #17372b | #e4f4ec | #e4f4ec |
sys.status.success.border | #387058 | #387058 | #80af97 | #80af97 |
sys.status.success.fg | #34d399 | #34d399 | #176649 | #176649 |
sys.status.warning.bg | #393021 | #393021 | #faf1d9 | #faf1d9 |
sys.status.warning.border | #79633c | #79633c | #b7a167 | #b7a167 |
sys.status.warning.fg | #edc678 | #edc678 | #765400 | #765400 |
sys.surface.canvas | #0c0c10 | #0c0c10 | #f5f5f7 | #f5f5f7 |
sys.surface.chrome | #111115 | #111115 | #f0f0f3 | #f0f0f3 |
sys.surface.overlay | #292930 | #292930 | #ffffff | #ffffff |
sys.surface.panel | #16161a | #16161a | #ffffff | #ffffff |
sys.surface.raised | #212127 | #212127 | #fafafd | #fafafd |
sys.surface.sunken | #0a0a0d | #0a0a0d | #f2f2f5 | #f2f2f5 |
sys.type.body.lineHeight | 1.6 | 1.6 | 1.6 | 1.6 |
sys.type.body.size | 1rem | 1rem | 1rem | 1rem |
sys.type.body.weight | 400 | 400 | 400 | 400 |
sys.type.code.lineHeight | 1.5 | 1.5 | 1.5 | 1.5 |
sys.type.code.size | 0.8125rem | 0.75rem | 0.8125rem | 0.75rem |
sys.type.code.weight | 400 | 400 | 400 | 400 |
sys.type.family.mono | "Geist Mono", "JetBrains Mono", "SF Mono", "Menlo", "Monaco", "Consolas", monospace | "Geist Mono", "JetBrains Mono", "SF Mono", "Menlo", "Monaco", "Consolas", monospace | "Geist Mono", "JetBrains Mono", "SF Mono", "Menlo", "Monaco", "Consolas", monospace | "Geist Mono", "JetBrains Mono", "SF Mono", "Menlo", "Monaco", "Consolas", monospace |
sys.type.family.sans | "Geist", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif | "Geist", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif | "Geist", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif | "Geist", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif |
sys.type.heading.1.lineHeight | 1.15 | 1.15 | 1.15 | 1.15 |
sys.type.heading.1.size | 2.25rem | 2.25rem | 2.25rem | 2.25rem |
sys.type.heading.1.weight | 700 | 700 | 700 | 700 |
sys.type.heading.2.lineHeight | 1.2 | 1.2 | 1.2 | 1.2 |
sys.type.heading.2.size | 1.75rem | 1.75rem | 1.75rem | 1.75rem |
sys.type.heading.2.weight | 600 | 600 | 600 | 600 |
sys.type.heading.3.lineHeight | 1.3 | 1.3 | 1.3 | 1.3 |
sys.type.heading.3.size | 1.25rem | 1.25rem | 1.25rem | 1.25rem |
sys.type.heading.3.weight | 600 | 600 | 600 | 600 |
sys.type.meta.lineHeight | 1.35 | 1.35 | 1.35 | 1.35 |
sys.type.meta.size | 0.6875rem | 0.6875rem | 0.6875rem | 0.6875rem |
sys.type.meta.weight | 500 | 500 | 500 | 500 |
sys.type.numeric | tabular-nums | tabular-nums | tabular-nums | tabular-nums |
sys.type.ui.lineHeight | 1.35 | 1.35 | 1.35 | 1.35 |
sys.type.ui.size | 0.8125rem | 0.75rem | 0.8125rem | 0.75rem |
sys.type.ui.weight | 400 | 400 | 400 | 400 |