mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-02 02:10:27 +00:00
23 lines
421 B
TypeScript
23 lines
421 B
TypeScript
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;
|