UNPKG

@groceristar/pdf-export

Version:
59 lines (53 loc) 1.14 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.listStyles = exports.documentStyles = void 0; var _renderer = require("@react-pdf/renderer"); // @TODO someone want to replace it with smacss var documentStyles = _renderer.StyleSheet.create({ title: { fontSize: 16, marginBottom: 10, borderRadius: 5, backgroundColor: '#45322E', color: 'white', padding: 4 }, main: { marginTop: 10 } }); exports.documentStyles = documentStyles; var listStyles = _renderer.StyleSheet.create({ item: { flexDirection: 'row', marginBottom: 5, marginLeft: '25px', borderBottomWidth: 1, borderBottomColor: 'black' }, bulletPoint: { width: 10, fontSize: 14 }, itemContent: { flex: 1, fontSize: 14 }, knob: { borderBottomWidth: 1, borderBottomColor: 'black', marginLeft: 10, alignItems: 'center', justifyContent: 'center', width: '10px', height: '10px', borderWidth: 1, borderColor: 'black', position: 'absolute', backgroundColor: 'white', fontSize: 8 } }); exports.listStyles = listStyles;