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

0% Statements 0/3
0% Branches 0/6
0% Functions 0/3
0% Lines 0/3

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

     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: ${props =>
        props.active
          ? get('colors.primary.default')(props)
          : get('colors.text.default')(props)};
      padding: ${get('spacing.medium')} ${get('spacing.large')};
      border-bottom: ${get('thicknesses.normal')} solid
        ${get('colors.border.light')};
      border-right: ${get('thicknesses.normal')} solid
        ${props =>
          props.active
            ? get('colors.gray.light')(props)
            : get('colors.border.light')(props)};
      position: relative;
      overflow-x: visible;
      z-index: 100;
    `;