Skip to content

Commit

Permalink
Fix light theme on homepage (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilkowalski authored Dec 30, 2023
1 parent afa1819 commit 033c427
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
border: 1px solid var(--gray3);
display: flex;
align-items: center;
color: var(--gray12);
}

.copy {
Expand Down
5 changes: 3 additions & 2 deletions website/src/globals.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:root {
:root,
.light {
--gray0: #fff;
--gray1: hsl(0, 0%, 99%);
--gray2: hsl(0, 0%, 97.3%);
Expand Down Expand Up @@ -48,6 +49,7 @@

.wrapper {
--side-padding: 16px;
background: var(--gray0);
margin: 0;
padding: 0;
padding-top: 100px;
Expand Down Expand Up @@ -175,7 +177,6 @@ m .wrapper h2 {
}

.wrapper a {
color: inherit;
text-decoration-color: var(--gray10);
text-underline-position: from-font;
}
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Home() {
const [closeButton, setCloseButton] = React.useState(false);

return (
<div className="wrapper">
<div className="wrapper light">
<Head />
<Toaster theme="light" richColors={richColors} closeButton={closeButton} expand={expand} position={position} />
<main className="container">
Expand Down

1 comment on commit 033c427

@vercel
Copy link

@vercel vercel bot commented on 033c427 Dec 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.