Created
January 15, 2023 22:39
-
-
Save winNft/4ffdae3ac13cf5b1cceef29c491b80bc to your computer and use it in GitHub Desktop.
theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Chakra UI specific theme and variables configuration | |
import { extendTheme } from '@chakra-ui/react'; | |
export const theme = extendTheme({ | |
styles: { | |
global: { | |
body: { | |
minHeight: '100vh', | |
overflowX: 'hidden', | |
bgGradient: | |
'linear-gradient(90deg, elvenTools.bgStripes 0.1%, elvenTools.dark.base 0.1%, elvenTools.dark.base 50%, elvenTools.bgStripes 50%, elvenTools.bgStripes 50.1%, elvenTools.dark.base 50.1%, elvenTools.dark.base 100%);', | |
bgSize: '700px', | |
backgroundPositionX: '150px', | |
color: 'elvenTools.white', | |
}, | |
'*': { | |
'&::-webkit-scrollbar': { | |
width: 1.5, | |
}, | |
'&::-webkit-scrollbar-track': { | |
backgroundColor: 'elvenTools.dark.base', | |
}, | |
'&::-webkit-scrollbar-thumb': { | |
backgroundColor: 'elvenTools.light', | |
borderRadius: 1.5, | |
}, | |
scrollbarWidth: 'auto', | |
scrollbarColor: 'elvenTools.light elvenTools.dark.base', | |
}, | |
}, | |
}, | |
fonts: { | |
heading: 'comfortaa, sans-serif', | |
body: 'comfortaa, sans-serif', | |
}, | |
colors: { | |
elvenTools: { | |
bgStripes: '#000000', | |
shadowColor: '#f0c132', | |
dark: { | |
lighter: '#f0c132', | |
base: '#000000' , | |
darker: '#1d222a', | |
}, | |
light: '#FAFFFD', | |
white: '#f7f7f7', | |
color1: { | |
lighter: '#59a1ea', | |
base: '#3C91E6', | |
darker: '#1c7bda', | |
}, | |
color2: { | |
lighter: 'f0c132', | |
base: '#f0c132', | |
darker: '#f0c132', | |
}, | |
color3: { | |
lighter: '#f0c132', | |
base: '#f0c132', | |
darker: '#f0c132', | |
}, | |
}, | |
}, | |
components: { | |
Alert: { | |
variants: { | |
subtle: { | |
container: { | |
bg: 'elvenTools.dark.lighter', | |
}, | |
}, | |
}, | |
}, | |
}, | |
breakpoints: { | |
sm: '320px', | |
md: '768px', | |
lg: '960px', | |
xl: '1200px', | |
'2xl': '1560px', | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment