@dpe/base

Atomic level styles and global variables

Usage no npm install needed!

<script type="module">
  import dpeBase from 'https://cdn.skypack.dev/@dpe/base';
</script>

README

@dpe/base

Base CSS for all of DPE components.

Contains styles for the following elements:
(Login credentials required)

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