91fd5971d6
## Description The Yoga design system follows design guidelines specification, we developed a React and React Native UI library that contains a set of high-quality components that defines our interfaces. - https://github.com/Gympass/yoga - https://gympass.github.io/yoga/ ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
22 lines
431 B
JavaScript
22 lines
431 B
JavaScript
import { ThemeProvider, FontLoader } from '@gympass/yoga'
|
|
import { createGlobalStyle } from 'styled-components'
|
|
|
|
const GlobalStyle = createGlobalStyle`
|
|
body {
|
|
margin: 20px;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
`
|
|
|
|
function MyApp({ Component, pageProps }) {
|
|
return (
|
|
<ThemeProvider>
|
|
<GlobalStyle />
|
|
<FontLoader />
|
|
<Component {...pageProps} />
|
|
</ThemeProvider>
|
|
)
|
|
}
|
|
|
|
export default MyApp
|