import { css } from '@emotion/react'; import type { Interpolation, Theme } from '@emotion/react'; export const selectorButtonCss: Interpolation = (theme) => ({ cursor: 'pointer', position: 'relative', padding: '5px 10px', borderStyle: 'solid', borderWidth: '1px', borderLeftWidth: 0, '&:first-of-type': { borderLeftWidth: '1px', borderTopLeftRadius: '3px', borderBottomLeftRadius: '3px', }, '&:last-of-type': { borderTopRightRadius: '3px', borderBottomRightRadius: '3px', }, backgroundColor: theme.TAB_BACK_COLOR, '&:hover': { backgroundColor: theme.TAB_BACK_HOVER_COLOR, }, borderColor: theme.TAB_BORDER_COLOR, }); export const selectorButtonSmallCss = css({ padding: '0px 8px', fontSize: '0.8em', }); export const selectorButtonSelectedCss: Interpolation = (theme) => ({ backgroundColor: theme.TAB_BACK_SELECTED_COLOR, });