Context
Card.tsx and src/theme/DocItem/Content/index.tsx use inline style objects while the adjacent DocSidebarItem/Link component uses the CSS module pattern. Flagged during review of #63 — deferred as out of scope for the migration PR.
What needs changing
src/components/Card.tsx — wrapper div, header div, and Link all use inline style={{...}} objects
src/theme/DocItem/Content/index.tsx (lines 32–38) — description paragraph uses an inline style object
Both should be moved to CSS modules (new Card.module.css and additions to src/theme/DocItem/Content/) to match the pattern used in DocSidebarItem/Link and the broader Docusaurus convention.
Why
CSS modules are easier to override in themes, avoid style recalculation on re-renders, and are the consistent pattern in this codebase. No functional or visual change expected.
Context
Card.tsxandsrc/theme/DocItem/Content/index.tsxuse inline style objects while the adjacentDocSidebarItem/Linkcomponent uses the CSS module pattern. Flagged during review of #63 — deferred as out of scope for the migration PR.What needs changing
src/components/Card.tsx— wrapper div, header div, and Link all use inlinestyle={{...}}objectssrc/theme/DocItem/Content/index.tsx(lines 32–38) — description paragraph uses an inline style objectBoth should be moved to CSS modules (new
Card.module.cssand additions tosrc/theme/DocItem/Content/) to match the pattern used inDocSidebarItem/Linkand the broader Docusaurus convention.Why
CSS modules are easier to override in themes, avoid style recalculation on re-renders, and are the consistent pattern in this codebase. No functional or visual change expected.