ktx/docs-site/components
Bittu kumar 4f084186f1
feat(docs): add system theme option to theme toggle (#324)
* feat(docs): add system theme option to theme toggle

* fix(docs): address review on theme toggle

Render the switcher as a proper radio group (role="radiogroup"/role="radio"
with aria-checked, roving tabindex, and arrow-key navigation) instead of
independent aria-pressed toggles, since the three options are mutually
exclusive. Update the component docstring to describe the three-option
switcher and note that it reads `theme` (not `resolvedTheme`) so the System
option can show as selected. Drop unrelated formatting churn.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Luca Martial <lucamrtl@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Luca Martial <48870843+luca-martial@users.noreply.github.com>
2026-06-28 20:41:59 -04:00
..
diagram-studio docs: add serving-phase diagram to the introduction page (#264) 2026-06-05 19:22:45 -04:00
code-block.tsx docs: rewrite the-context-layer concept and highlight markdown frontmatter (#181) 2026-05-20 14:16:33 +02:00
context-review-loop.tsx docs: rewrite context-as-code as reviewing-context guide (#201) 2026-05-21 15:42:50 +02:00
copy-button.tsx docs: revamp quickstart and tighten code-block styling (#135) 2026-05-18 19:22:19 +02:00
docs-page-actions.tsx docs: revamp quickstart and tighten code-block styling (#135) 2026-05-18 19:22:19 +02:00
flow-canvas.tsx docs: rewrite context-as-code as reviewing-context guide (#201) 2026-05-21 15:42:50 +02:00
git-icon.tsx docs(context-layer): replace "committed" badge with git icon (#183) 2026-05-20 14:37:45 +02:00
github-icon.tsx docs: add Slack community invite to README and docs (#157) 2026-05-19 18:07:29 -04:00
github-stars.tsx docs(site): relocate GitHub stars to sidebar footer, add light/dark switcher (#294) 2026-06-12 09:06:04 +00:00
logo.tsx docs: minor README and docs-site touch-ups (#266) 2026-06-06 22:32:08 -04:00
product-mechanics.tsx docs: rewrite context-as-code as reviewing-context guide (#201) 2026-05-21 15:42:50 +02:00
product-runtime.tsx docs: add serving-phase diagram to the introduction page (#264) 2026-06-05 19:22:45 -04:00
scroll-reveal.tsx chore: move docs site workspace 2026-05-11 16:53:42 +02:00
semantic-layer-flow.tsx docs: standardize fanout terminology (#218) 2026-05-25 11:09:33 -04:00
slack-icon.tsx docs: add Slack community invite to README and docs (#157) 2026-05-19 18:07:29 -04:00
terminal-preview.tsx docs: standardize ktx naming (#187) 2026-05-20 17:33:38 +02:00
theme-toggle.tsx feat(docs): add system theme option to theme toggle (#324) 2026-06-28 20:41:59 -04:00