Download react-boilerplate/internals/templates/global-styles.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 556 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/internals/templates/global-styles.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-boilerplate/internals/templates/global-styles.js
-
curl -L -o global-styles.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/internals/templates/global-styles.js
556 Bytes
| import { createGlobalStyle } from 'styled-components'; | |
| const GlobalStyle = createGlobalStyle` | |
| html, | |
| body { | |
| height: 100%; | |
| width: 100%; | |
| } | |
| body { | |
| font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
| } | |
| body.fontLoaded { | |
| font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
| } | |
| #app { | |
| background-color: #fafafa; | |
| min-height: 100%; | |
| min-width: 100%; | |
| } | |
| p, | |
| label { | |
| font-family: Georgia, Times, 'Times New Roman', serif; | |
| line-height: 1.5em; | |
| } | |
| `; | |
| export default GlobalStyle; | |