github.com/pluralsh/plural-cli@v0.9.5/pkg/ui/web/src/styled/global.ts (about)

     1  import { createGlobalStyle } from 'styled-components'
     2  
     3  // language=SCSS
     4  const GlobalStyles = createGlobalStyle(({ theme }) => `
     5    html, body, #root {
     6      // Layout
     7      height: 100vh;
     8      padding: 0;
     9      margin: 0;
    10      
    11      // Fonts
    12      font-size: 14px;
    13      font-family: Inter, Helvetica, Arial, "sans-serif";
    14      line-height: 20px;
    15      
    16      // Theming
    17      background: ${theme.colors['fill-zero']};
    18      color: ${theme.colors.text};    
    19    }
    20  `)
    21  
    22  export { GlobalStyles }