GitFOSS
William Nemenchainitial commit
86fb32e9/11/2022, 1:13:39 AM
.ts
TypeScript
(application/typescript)
import styled, { css } from "styled-components";

import type { WithThemeSchemeProp } from "../types";
import { NamedColors } from "../utils/style";

export const MenuDivider = styled.div<WithThemeSchemeProp>`
  width: 100%;
  height: 1px;
  margin: 8px 0;

  ${({ themeScheme }) => css`
    background-color: ${NamedColors.BORDER_DEFAULT[themeScheme]};
  `};
`;