# All files / components/BandwidthProvider/styles StyleRoot.js

0% Statements 0/11
0% Branches 0/6
0% Functions 0/2
0% Lines 0/4

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22

     import styled, { css } from 'styled-components';
    import get from 'extensions/themeGet';
    import cssvars from 'theme/cssvars';

    export default styled.div`
      font-family: ${get('fonts.default')};
      background: ${get('colors.background.default')};
      color: ${get('colors.text.default')};
      font-size: ${get('fontSizes.default')};
      line-height: 1.5;
      letter-spacing: 0.28px;

      width: 100%;
      height: 100%;

      ${({ customTheme }) =>
        customTheme &&
        css`
          ${cssvars(customTheme)};
        `};
    `;