You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: move FrameworkSelector + ConditionalQuestionnaire styles to docs.css for production builds (#472)
* fix: move component styles to docs.css to survive Astro MDX build
* refactor: remove redundant style blocks from components (styles live in docs.css)
* fix: scope .sl-steps to #questionnaire-steps and add :focus-visible to interactive buttons
- Scope all .sl-steps selectors under #questionnaire-steps to avoid
overriding Starlight's native step component styles elsewhere
- Add :focus-visible outlines to .framework-button, .question-btn,
and .react-framework-buttons .framework-button for keyboard accessibility
Addresses CodeRabbit review feedback on PR #472.
* fix: match question-btn font to page body text
Change font-family from var(--sl-font) to inherit so buttons get the
full Starlight font stack with fallbacks. Bump font-size from
var(--sl-text-sm) to var(--sl-text-body) to match surrounding text.
* fix: add monospace fallback stack to questionnaire code blocks
var(--sl-font-mono) only resolves to 'IBM Plex Mono' without fallbacks.
When that font isn't loaded, code blocks fall back to the browser's
default proportional font. Add the same fallback stack Starlight uses
for its own <code> elements.
0 commit comments