Update project structure

This commit is contained in:
Hazem Krimi
2022-01-08 19:06:43 +01:00
parent 574f0b4d63
commit 79279e4706
20 changed files with 78 additions and 104 deletions
+22
View File
@@ -0,0 +1,22 @@
import { FC } from 'react';
import { ThemeProvider, DefaultTheme } from 'styled-components';
const Shared: FC = ({ children }) => {
const theme: DefaultTheme = {
colors: {
dark: {
background: '#262626',
text: 'white'
},
light: {
background: '#F9F9F9',
text: 'black'
},
blue: '#1573CA'
}
};
return <ThemeProvider theme={theme}>{children}</ThemeProvider>;
};
export default Shared;