feat(styles): add screen reader only utility class

This commit is contained in:
2026-02-25 13:55:51 -06:00
parent c0a3a76f13
commit 456aa1eb6b

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

@@ -0,0 +1,13 @@
import { css } from '@styled-system/css'
export 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
})