UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

7 lines (4 loc) 585 B
import { css } from 'styled-components'; import { get } from './constants.js'; const sharedCheckboxAndRadioStyles = css(["appearance:none;border-color:", ";border-style:solid;border-width:", ";cursor:pointer;display:grid;height:var(--base-size-16,16px);margin:0;margin-top:0.125rem;place-content:center;position:relative;width:var(--base-size-16,16px);&:disabled{background-color:var(--color-input-disabled-bg,rgba(175,184,193,0.2));border-color:", ";}"], get('colors.neutral.emphasis'), get('borderWidths.1'), get('colors.border.default')); export { sharedCheckboxAndRadioStyles };