import React, { CSSProperties } from 'react';
export type ColorScheme = 'dark' | 'light';
const Sun = () => (
);
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 (
);
};