forked from rDrama/rDrama
37 lines
747 B
JavaScript
37 lines
747 B
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports.default = _default;
|
||
|
|
||
|
function _default() {
|
||
|
return function ({
|
||
|
addUtilities,
|
||
|
variants
|
||
|
}) {
|
||
|
addUtilities({
|
||
|
'.sr-only': {
|
||
|
position: 'absolute',
|
||
|
width: '1px',
|
||
|
height: '1px',
|
||
|
padding: '0',
|
||
|
margin: '-1px',
|
||
|
overflow: 'hidden',
|
||
|
clip: 'rect(0, 0, 0, 0)',
|
||
|
whiteSpace: 'nowrap',
|
||
|
borderWidth: '0'
|
||
|
},
|
||
|
'.not-sr-only': {
|
||
|
position: 'static',
|
||
|
width: 'auto',
|
||
|
height: 'auto',
|
||
|
padding: '0',
|
||
|
margin: '0',
|
||
|
overflow: 'visible',
|
||
|
clip: 'auto',
|
||
|
whiteSpace: 'normal'
|
||
|
}
|
||
|
}, variants('accessibility'));
|
||
|
};
|
||
|
}
|