import React, { CSSProperties } from 'react'; export type ColorScheme = 'dark' | 'light'; const Sun = () => ( {Array(7) .fill(45) .map((v, i) => (i + 1) * v) .map((v, i) => ( ))} ); const labelStyle: CSSProperties = { marginLeft: '.5rem', borderRadius: '50%', backgroundColor: 'hsla(0,0%,50%,0.1)', display: 'flex', justifyContent: 'center', alignItems: 'center', width: '2rem', height: '2rem', }; export const StylesheetSwitch = ({ colorScheme, onSwitch = () => {}, }: { colorScheme: ColorScheme; onSwitch?: (scheme: ColorScheme) => void; }) => { return ( ); };