diff options
author | Michal Sapka <michal@sapka.me> | 2022-09-04 22:34:11 +0200 |
---|---|---|
committer | Michal Sapka <michal@sapka.me> | 2022-09-04 22:34:11 +0200 |
commit | 065ebd57cd9da8e9e6c74152f7ab1200d6a6d013 (patch) | |
tree | 8f2865b46605aacacd5be57093bffc43f36d0afd /lib | |
parent | 6977eb0132a61e3f890ae68ace41b2acff6533e3 (diff) |
feat: add missing types
Diffstat (limited to 'lib')
-rw-r--r-- | lib/theme.tsx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/theme.tsx b/lib/theme.tsx index 08f269f7..8b65ac2b 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: { |