@nbamford123/arwes
Version:
Futuristic Sci-Fi and Cyberpunk Graphical User Interface Framework for Web Apps
33 lines (30 loc) • 867 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var getBlockquoteStyles = exports.getBlockquoteStyles = function getBlockquoteStyles(theme) {
return {
display: 'block',
borderLeft: '4px solid ' + theme.color.primary.light,
margin: [0, 0, theme.margin, theme.margin],
padding: [0, 0, 0, theme.padding / 2],
color: theme.color.primary.light,
'&[data-layer="alert"]': {
borderColor: theme.color.alert.light,
color: theme.color.alert.light
},
'&[data-layer="success"]': {
borderColor: theme.color.success.light,
color: theme.color.success.light
},
'&[data-layer="disabled"]': {
borderColor: theme.color.disabled.light,
color: theme.color.disabled.light
}
};
};
exports.default = function (theme) {
return {
root: getBlockquoteStyles(theme)
};
};