storybook-addon-specifications
Version:
Add tests to your react storybook stories
53 lines (47 loc) • 1.03 kB
JavaScript
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _aphrodite = require('aphrodite');
exports.default = _aphrodite.StyleSheet.create({
wrapper: {
flex: 1,
display: 'flex',
flexDirection: 'column',
fontFamily: '-apple-system, ".SFNSText-Regular", "San Francisco", Roboto, "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif',
fontSize: 12,
letterSpacing: 1,
textDecoration: 'none',
listStyleType: 'none',
border: '1px solid transparent'
},
error: {
':before': {
content: "'✘'",
padding: '3px 5px',
backgroundColor: 'red'
}
},
li: {
':before': {
marginRight: '5px',
marginTop: '11px',
fontSize: '70%',
color: 'white',
fontWeight: 'bold',
borderRadius: '12px',
float: 'left'
}
},
message: {
padding: '10px',
margin: '10px'
},
pass: {
':before': {
content: "'✔'",
padding: '4px 5px',
backgroundColor: 'green'
}
}
});