feat: add srOnly class

This commit is contained in:
2026-03-20 11:39:32 -06:00
parent 2fc7de2cc8
commit 9b8b8de875

15
src/styles/srOnly.ts Normal file
View File

@@ -0,0 +1,15 @@
import { css } from '@styled-system/css'
const srOnlyClass = css({
position: 'absolute',
width: 1,
height: 1,
padding: 0,
margin: -1,
overflow: 'hidden',
clip: 'rect(0, 0, 0, 0)',
whiteSpace: 'nowrap',
border: 0
})
export default srOnlyClass