1.0.1 • Published 15 days ago

cwf-lite v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
15 days ago

Claritas Web Framework lite (cwf-lite)

A very lightweight but modern css framework.

Documentation

Status

Current version CSS size CSS gzip size

Quick start

For best results install via npm or yarn:

yarn add cwf-lite --dev
npm install cwf-lite -D

Once installed, import the source css file from node_modules/cwf-lite/dist/index.css into your projects css file:

@import "cwf-lite/dist/index.css";

Customisation

cwf-lite uses css variables with defaults, this means that it will work out for the box (but won't look very good). However, should you wish to change a css property you can update the variable in your project css. There are three main ways of doing this:

In the :root
:root {
  --card-background-color: red;
}
In the css selector
.card {
  --card-background-color: red;
}
Overriding the variable in the css selector (not recommended)
.card {
  background-color: red;
}
1.0.1

15 days ago

1.0.0

21 days ago

0.0.8

22 days ago

0.0.91

22 days ago

0.0.7

25 days ago

0.0.6

26 days ago

0.0.5

2 months ago

0.0.3

2 months ago

0.0.4

2 months ago

0.0.2

3 months ago

0.0.1

3 months ago