fix light mode background
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 58s
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 58s
Took 9 minutes
This commit is contained in:
parent
fbddc47582
commit
90faa80fe8
@ -44,8 +44,7 @@ const RootLayout = ({
|
|||||||
<body
|
<body
|
||||||
className="scroll-smooth antialiased"
|
className="scroll-smooth antialiased"
|
||||||
style={{
|
style={{
|
||||||
background:
|
background: "var(--background-gradient)",
|
||||||
"linear-gradient(to top, hsl(240, 6%, 10%), hsl(var(--background)))",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
|
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
|
||||||
|
@ -39,6 +39,8 @@ body {
|
|||||||
--chart-4: 43 74% 66%;
|
--chart-4: 43 74% 66%;
|
||||||
--chart-5: 27 87% 67%;
|
--chart-5: 27 87% 67%;
|
||||||
--radius: 0.5rem;
|
--radius: 0.5rem;
|
||||||
|
|
||||||
|
--background-gradient: hsl(var(--background));
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark {
|
.dark {
|
||||||
@ -66,6 +68,8 @@ body {
|
|||||||
--chart-3: 30 80% 55%;
|
--chart-3: 30 80% 55%;
|
||||||
--chart-4: 280 65% 60%;
|
--chart-4: 280 65% 60%;
|
||||||
--chart-5: 340 75% 55%;
|
--chart-5: 340 75% 55%;
|
||||||
|
|
||||||
|
--background-gradient: linear-gradient(to top, hsl(240, 6%, 10%), hsl(var(--background)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ const DocsFooter = ({
|
|||||||
current < pages.length - 1 ? pages[current + 1] : undefined;
|
current < pages.length - 1 ? pages[current + 1] : undefined;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<footer className="mx-14 my-5 flex flex-col select-none">
|
<footer className="xs:mx-5 sm:mx-10 my-5 flex flex-col select-none transition-all transform-gpu">
|
||||||
<Separator className="mb-4" />
|
<Separator className="mb-4" />
|
||||||
<div className="flex justify-between">
|
<div className="flex justify-between">
|
||||||
{previous && (
|
{previous && (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user