Skip to content

Commit

Permalink
feat: theme css
Browse files Browse the repository at this point in the history
  • Loading branch information
edotau committed Feb 3, 2024
1 parent 3fd86df commit d972f00
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/dist
/node_modules
.DS_Store
.next
*.next*
6 changes: 6 additions & 0 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@ export default function MyApp({ Component, pageProps }) {
<ThemeProvider theme={theme}>
<StyleReset />
<Div
w="90%"
h="90%"
maxW="900px"
minW="600px"
maxH="auto"
textColor="black900"
rounded="br1"
align="center"
d="flex"
textWeight="500"
flexDir="column"
Expand Down
7 changes: 4 additions & 3 deletions pages/_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"title": "Home",
"href": "/",
"theme": {
"themeSwitch": "Light",
"breadcrumb": false
}
},
Expand All @@ -11,15 +12,15 @@
"type": "page",
"theme": {
"breadcrumb": false,
"toc": false
"themeSwitch": "Light"
}
},
"projects": {
"title": "Projects",
"type": "page",
"theme": {
"breadcrumb": false,
"toc": false
"themeSwitch": "Light",
"breadcrumb": false
}
}
}
5 changes: 0 additions & 5 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ export default function Home() {
<StyleReset />
<Div
textColor="black900"
w="90%"
h="90%"
maxW="1200px"
minW="600px"
m={{ x: "auto", y: "2rem" }}
p={{ x: "2rem", y: "2rem" }}
d="flex"
Expand All @@ -36,7 +32,6 @@ export default function Home() {
>
<Div
p={{ x: "1rem", y: "1rem" }}

d="flex"
flexDir="column"
justify="center"
Expand Down
8 changes: 0 additions & 8 deletions theme.config.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ export default {
search: {
component: false,
},
darkMode: false,
themeSwitch: {
useOptions() {
return {
light: 'Light',
}
},
},
gitTimestamp: null,
footer: {
text: (
Expand Down

0 comments on commit d972f00

Please sign in to comment.