Skip to content

Commit a1f879e

Browse files
committed
Move global styles to global CSS file
New versions of Next.js aren't working with <styled jsx global> well. Instead of debugging, this commit moves those global styles to our global.css file. Also changes around some border colors in dark mode to reduce their prominence. Tested by poking around in dev mode and release mode.
1 parent ba9e617 commit a1f879e

4 files changed

Lines changed: 355 additions & 336 deletions

File tree

components/Shell/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function Footer({ children: links, landing }) {
139139
display: block;
140140
width: 100%;
141141
border: none;
142-
border-bottom: 1px solid var(--dark);
142+
border-bottom: 1px solid var(--page-border);
143143
}
144144
145145
.try-link {

components/Shell/TopNav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function TopNav({ children }) {
8585
margin: 0 auto;
8686
align-items: center;
8787
justify-content: space-between;
88-
border-bottom: 1px solid var(--dark);
88+
border-bottom: 1px solid var(--page-border);
8989
padding: 1rem 2rem 1.1rem;
9090
font-size: 15px;
9191
font-family: var(--sans);

0 commit comments

Comments
 (0)