import { ThemeProvider, createGlobalStyle } from 'styled-components'; import { dark } from '../theme'; import { styles } from '../typography'; type UIProviderProps = { children: React.ReactNode; }; // @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap'); const GlobalStyle = createGlobalStyle` * { box-sizing: border-box; overflow-wrap: break-word; } button { all: unset; cursor: pointer; } html, body { height: 100%; overscroll-behavior: none; } body { background-color: ${({ theme }) => theme.colors.bg.base}; background-image: linear-gradient(to right, rgb(38, 39, 54), rgb(25, 26, 35)); color: ${({ theme }) => theme.colors.text.base}; margin: 0; padding: 0; ${styles.body} } a { color: ${({ theme }) => theme.colors.bg.highlight}; text-decoration: none; } `; const UIProvider: React.FC = ({ children }) => { return ( {children} ); }; export { UIProvider };