diff --git a/src/components/WindowControlIcons.tsx b/src/components/WindowControlIcons.tsx index dd00fa2..36605c9 100644 --- a/src/components/WindowControlIcons.tsx +++ b/src/components/WindowControlIcons.tsx @@ -6,10 +6,10 @@ const FACE = '#C0C0C0' const OUTLINE = '#000000' const ACCENT_DARK = '#000080' const ACCENT_LIGHT = '#1084d9' -const ICON_CLASS = 'block h-4 w-4' - const svgBaseProps = { viewBox: '0 0 16 16', + width: 16, + height: 16, 'aria-hidden': true, focusable: 'false', shapeRendering: 'crispEdges' as const, @@ -17,12 +17,9 @@ const svgBaseProps = { type IconProps = SVGProps -const mergeClassName = (className?: string) => - [ICON_CLASS, className].filter(Boolean).join(' ') - export function Win95MinimizeIcon({ className, ...props }: IconProps) { return ( - + @@ -37,7 +34,7 @@ export function Win95MinimizeIcon({ className, ...props }: IconProps) { export function Win95MaximizeIcon({ className, ...props }: IconProps) { return ( - + @@ -58,7 +55,7 @@ export function Win95MaximizeIcon({ className, ...props }: IconProps) { export function Win95RestoreIcon({ className, ...props }: IconProps) { return ( - + @@ -92,43 +89,67 @@ export function Win95RestoreIcon({ className, ...props }: IconProps) { export function Win95CloseIcon({ className, ...props }: IconProps) { return ( - - - - - - - + + {[5, 6, 7, 8, 9, 10, 11].map((offset, index) => ( + + ))} + {[5, 6, 7, 8, 9, 10, 11].map((offset, index) => ( + + ))} + {[6, 7, 8, 9, 10, 11].map((offset, index) => ( + + ))} + {[5, 6, 7, 8, 9, 10].map((offset, index) => ( + + ))} + {[6, 7, 8, 9, 10, 11].map((offset, index) => ( + + ))} + {[5, 6, 7, 8, 9, 10].map((offset, index) => ( + + ))} ) }