@flxaco/constants

0.0.15 • Public • Published

@flxaco/constants

Global variables.

Installation

npm install @flxaco/constants --save-dev

How to use

CSS

  • PostCSS workflow: @import '@flxaco/constants';
  • Native CSS: @import url('dist/constants.css');
  • Link tag: <link href="dist/constants.css" rel="stylesheet" type="text/css">

Developer notes

To override variables in a project:

@import "@flxaco/constants";

:root {
  --brand-primary: hsl(24, 95%, 50%);
  --brand-secondary: hsl(123, 41%, 45%);
} /* Or import project var file */

@import "@flxaco/component/src/_component.css";

.component {
  /* Overrides */
}

Dependents (10)

Package Sidebar

Install

npm i @flxaco/constants

Weekly Downloads

1

Version

0.0.15

License

MIT

Unpacked Size

5.6 kB

Total Files

4

Last publish

Collaborators

  • flxa