1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 1 1 1 | /* * Base icon styles that are used and extended across * various elements. */ var iconSpriteUrl = 'https://s3.amazonaws.com/sprintly-ui-icons/icons-sprite.png'; var IconBaseStyles = { small: { display: 'block', height: '8px', width: '8px', backgroundImage: 'url(' + iconSpriteUrl + ')', backgroundRepeat: 'no-repeat' }, medium: { display: 'block', height: '16px', width: '16px', backgroundImage: 'url(' + iconSpriteUrl + ')', backgroundRepeat: 'no-repeat' } }; module.exports = IconBaseStyles; |