1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 15:16:40 -04:00

fix stitches variable conflicts

This commit is contained in:
2022-05-30 23:06:44 -04:00
parent 9410a6b2df
commit 3c48207bd5
4 changed files with 19 additions and 22 deletions

View File

@ -14,11 +14,11 @@ const ColorfulLink = ({
<Link
css={{
color: lightColor,
setUnderlineVar: { color: lightColor },
setUnderlineVars: { color: lightColor },
[`.${darkTheme} &`]: {
color: darkColor,
setUnderlineVar: { color: darkColor },
setUnderlineVars: { color: darkColor },
},
...css,

View File

@ -31,7 +31,7 @@ const DOS = styled(Terminal, {
maxWidth: "700px",
});
const Wrapper = ({ style, ...rest }: ComponentProps<typeof Wrapper>) => {
const RandomWallpaper = ({ style, ...rest }: ComponentProps<typeof Wallpaper>) => {
const [wallpaperUrl, setWallpaperUrl] = useState("");
// set a random retro Windows ME desktop tile for the entire content area
@ -101,7 +101,7 @@ Y2K.getLayout = (page: ReactElement) => {
},
}}
>
<Wrapper>{page}</Wrapper>
<RandomWallpaper>{page}</RandomWallpaper>
</Layout>
);
};