Skip to content

Commit 5e6f833

Browse files
committed
Default colorMode to null and format
1 parent f4dc1a8 commit 5e6f833

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/ThemeContext.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22

33
export const ThemeContext = React.createContext({
4-
colorMode: "dark",
4+
colorMode: null,
55
setColorMode: function () {}
66
});
77

src/pages/index.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313
font-size: 26px;
1414
text-align: center;
1515

16-
.link-div{
16+
.link-div {
1717
display: flex;
1818
justify-content: center;
1919

20-
a{
20+
a {
2121
text-decoration: none;
2222
padding-top: 0.5rem;
2323
padding-bottom: 0.5rem;
2424
padding-right: 1rem;
2525
padding-left: 1rem;
2626
border: 1px solid;
2727
color: inherit;
28-
margin: .5rem;
28+
margin: 0.5rem;
2929
border-radius: 1rem;
3030
}
3131
}

0 commit comments

Comments
 (0)