Add prettier configuration

This commit is contained in:
Hazem Krimi
2023-07-01 00:38:49 +01:00
parent de22cafb12
commit 5e01140d6e
57 changed files with 1896 additions and 1718 deletions
+14 -14
View File
@@ -1,21 +1,21 @@
import { ThemeProvider, DefaultTheme } from 'styled-components';
const Shared = ({ children }: { children: React.ReactNode }) => {
const theme: DefaultTheme = {
colors: {
dark: {
background: '#262626',
text: 'white'
},
light: {
background: '#F9F9F9',
text: 'black'
},
blue: '#1573CA'
}
};
const theme: DefaultTheme = {
colors: {
dark: {
background: '#262626',
text: 'white',
},
light: {
background: '#F9F9F9',
text: 'black',
},
blue: '#1573CA',
},
};
return <ThemeProvider theme={theme}>{children}</ThemeProvider>;
return <ThemeProvider theme={theme}>{children}</ThemeProvider>;
};
export default Shared;