summaryrefslogtreecommitdiff
path: root/lib/theme.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/theme.tsx')
-rw-r--r--lib/theme.tsx10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/theme.tsx b/lib/theme.tsx
index 08f269f..8b65ac2 100644
--- a/lib/theme.tsx
+++ b/lib/theme.tsx
@@ -1,21 +1,23 @@
import { extendTheme } from "@chakra-ui/react"
import { mode } from '@chakra-ui/theme-tools'
+type propsType = any
+
const styles = {
- global: props => ({
+ global: (props : propsType) => {
body: {
//bg: mode('#d5d6db', '#24283b')(props),
//color: mode('#0f4b6e', '#7dcfff')(props),
}
- })
+ }
}
const components = {
Link: {
- baseStyle: props => ({
+ baseStyle: (props : propsType) => {
//color: mode('#34548a', '##34548a')(props),
textUnderlineOffset: 3
- })
+ }
},
Heading: {
baseStyle: {