visbug-lib
Version:
<p align="center"> <img src="./assets/visbug.png" width="300" height="300" alt="visbug"> <br> <a href="https://www.npmjs.org/package/visbug"><img src="https://img.shields.io/npm/v/visbug.svg?style=flat" alt="npm latest version number"></a> <a href
60 lines (57 loc) • 1.48 kB
JavaScript
export const desiredPropMap = {
color: 'rgb(0, 0, 0)',
backgroundColor: 'rgba(0, 0, 0, 0)',
backgroundImage: 'none',
backgroundSize: 'auto',
backgroundPosition: '0% 0%',
borderColor: 'rgb(0, 0, 0)',
borderWidth: '0px',
borderRadius: '0px',
boxShadow: 'none',
padding: '0px',
margin: '0px',
fontFamily: '',
fontSize: '16px',
fontWeight: '400',
textAlign: 'start',
textShadow: 'none',
textTransform: 'none',
lineHeight: 'normal',
letterSpacing: 'normal',
display: 'block',
alignItems: 'normal',
justifyContent: 'normal',
flexDirection: 'row',
flexWrap: 'nowrap',
flexBasis: 'auto',
// flexFlow: 'none',
fill: 'rgb(0, 0, 0)',
stroke: 'none',
gridTemplateColumns: 'none',
gridAutoColumns: 'auto',
gridTemplateRows: 'none',
gridAutoRows: 'auto',
gridTemplateAreas: 'none',
gridArea: 'auto / auto / auto / auto',
gap: 'normal normal',
gridAutoFlow: 'row',
}
export const desiredAccessibilityMap = [
'role',
'tabindex',
'aria-*',
'for',
'alt',
'title',
'type',
]
export const largeWCAG2TextMap = [
{
fontSize: '24px',
fontWeight: '0'
},
{
fontSize: '18.5px',
fontWeight: '700'
}
]