feat: move to nextjs
This commit is contained in:
18
style/scroll.css
Normal file
18
style/scroll.css
Normal file
@@ -0,0 +1,18 @@
|
||||
.scroll::-webkit-scrollbar-track {
|
||||
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
||||
border-radius: 10px;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.scroll::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.scroll::-webkit-scrollbar-thumb {
|
||||
border-radius: 10px;
|
||||
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
||||
background-color: #2a8ed6;
|
||||
}
|
||||
27
style/theme.ts
Normal file
27
style/theme.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { extendTheme, ThemeConfig } from "@chakra-ui/react";
|
||||
|
||||
const colors = {
|
||||
brand: {
|
||||
black: "#101010",
|
||||
lightBlack: "#1a1a1a",
|
||||
},
|
||||
};
|
||||
|
||||
const config: ThemeConfig = {
|
||||
initialColorMode: "dark",
|
||||
useSystemColorMode: false,
|
||||
};
|
||||
|
||||
const theme = extendTheme({
|
||||
styles: {
|
||||
global: {
|
||||
body: {
|
||||
bg: "brand.black",
|
||||
},
|
||||
},
|
||||
},
|
||||
config,
|
||||
colors,
|
||||
});
|
||||
|
||||
export default theme;
|
||||
Reference in New Issue
Block a user