Skip to content

Commit

Permalink
enable dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mairisb committed Sep 16, 2023
1 parent 537fae5 commit cf220f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/app/navigation-bar/navigation-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const NavigationBar: React.FC = () => {
};

return (
<Navbar bg="primary" data-bs-theme="dark">
<Navbar bg="primary" data-bs-theme="dark" className="bg-body-tertiary">
<Container>
<Navbar.Brand as={Link} to="/">
Navbar
Expand Down
7 changes: 6 additions & 1 deletion packages/client/src/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
<!doctype html>
<html lang="en">
<html lang="en" data-bs-theme="dark">
<head>
<meta charset="utf-8" />
<title><%= process.env.TSPARK_APP_APP_NAME %></title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<style>
body {
background-color: #212529;
}
</style>
</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit cf220f2

Please sign in to comment.