# All files / components/SidebarList/styles SidebarListItemContainer.js

0% Statements 0/9
0% Branches 0/8
0% Functions 0/3
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

     import styled from 'styled-components';
    import get from 'extensions/themeGet';

    export default styled.li`
      background: ${props =>
        props.active
          ? get('colors.gray.light')(props)
          : get('colors.background.default')(props)};
      color: ${get('colors.text.default')};
      padding: ${get('spacing.medium')} ${get('spacing.large')};
      border-bottom: ${get('thicknesses.normal')} solid
        ${get('colors.border.medium')};
      border-right: ${get('thicknesses.normal')} solid
        ${props =>
          props.active
            ? get('colors.gray.light')(props)
            : get('colors.border.medium')(props)};
      position: relative;
      overflow-x: visible;
    `;