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:
@ -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,
|
||||
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user