import styled from "styled-components"; type StyledWallpaperImageProps = { $imgSrc: string; }; const StyledWallpaperImage = styled("div")` width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 0; background-image: url(${(props) => props.$imgSrc}); background-color: var(--wintheme); background-repeat: no-repeat; background-size: cover; background-position: center; transition: all 0.2s ease; `; export default StyledWallpaperImage;