UNPKG

@bnnvara/lists

Version:

BNNVARA Ordered and unordered lists

23 lines (13 loc) 1.52 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _templateObject = _taggedTemplateLiteral(['\n list-style: none;\n font-size: 16px;\n color: ', '; \n line-height: 1.6;\n \n li {\n padding-left: 24px;\n \n &:before {\n content: \'\';\n width: 16px;\n height: 4px;\n background-color: ', ';\n padding-right: 5px;\n display: inline-block;\n position: relative;\n top: -5px;\n left: -24px;\n } \n } \n'], ['\n list-style: none;\n font-size: 16px;\n color: ', '; \n line-height: 1.6;\n \n li {\n padding-left: 24px;\n \n &:before {\n content: \'\';\n width: 16px;\n height: 4px;\n background-color: ', ';\n padding-right: 5px;\n display: inline-block;\n position: relative;\n top: -5px;\n left: -24px;\n } \n } \n']); var _styledComponents = require('styled-components'); var _styledComponents2 = _interopRequireDefault(_styledComponents); var _colors = require('@bnnvara/colors'); var _colors2 = _interopRequireDefault(_colors); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } var UnorderedList = _styledComponents2.default.ul(_templateObject, _colors2.default.bnnvara.base.black, _colors2.default.bnnvara.base.black); exports.default = UnorderedList;