import { recipe } from '@vanilla-extract/recipes'; // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss export const visuallyHidden = recipe({ variants: { hidden: { true: { position: 'absolute', border: 0, width: 1, height: 1, padding: 0, margin: -1, overflow: 'hidden', clip: 'rect(0, 0, 0, 0)', whiteSpace: 'nowrap', wordWrap: 'normal', }, }, }, });