Theme rotation as composition
Light and dark aren't a toggle. Used per section, the tonal shift carries an argument the layout alone can't make.
The line between a component and a layout is where most design systems blur. Here's how we draw it.
A component owns its internals. A layout arranges components. When a component starts deciding where its siblings go, it has taken on a job that isn’t its own.
If a prop exists only to fix one page, it doesn’t belong on the component. Push it up to the layout. The component stays small, and the system stays composable.