Skip to content

Commit

Permalink
dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nonrational committed Nov 21, 2024
1 parent 18e80cd commit 80ed7cf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion routes/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function App({ Component }: PageProps) {
rel='stylesheet'
/>
</head>
<body class='inter-regular'>
<body class='inter-regular dark:bg-zinc-800 dark:text-zinc-200'>
<Component />
</body>
<footer class='merienda-attrib flex flex-row gap-16 justify-center text-sm'>
Expand Down
2 changes: 0 additions & 2 deletions static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

footer {
font-size: 1rem;
background-color: #333;
color: #fff;
text-align: center;
padding: 1rem;
position: fixed;
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { type Config } from 'tailwindcss'

export default {
darkMode: 'media',
content: [
'{routes,islands,components}/**/*.{ts,tsx,js,jsx}',
],
Expand Down

0 comments on commit 80ed7cf

Please sign in to comment.