@dpe/base
v0.0.6
Published
Atomic level styles and global variables
Downloads
47
Readme
@dpe/base
Base CSS for all of DPE components.
Contains styles for the following elements: (Login credentials required)
- Typography
- Links
- External links
- Bold/Italic
- Heading levels
- Ordered list
- Unordered list
- Inline list
- Horizontal rule
- Table
- Blockquote
- Error text
Installation
npm install @dpe/base --save-dev
How to use
Global
Import Sass variables, functions and mixins:
@import '@dpe/base/src/global';
Sass
Import styles:
@import '@dpe/base/index';
Native CSS
Import styles:
@import url('dist/base.css');
Or import styles via link tag:
<link href="dist/base.css" rel="stylesheet" type="text/css">
Developer notes
Currently only CSS variables (custom properties) are provided. They can be used in Native CSS, Sass or PostCSS, but only PostCSS will provide transpiling. For the best PostCSS config, see @dpe/builder
In the future Sass variables and Javascript variables may be provided if requested.
Release notes
0.0.0
- Initial files