2.0.5 • Published 6 months ago

@chris-cross-crash/ck-css v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

CK CSS

This stylesheet contains a few opinionated styles that I like to use in every one of my projects.

It should be used together with modern-normalize.css.

Installation

npm i modern-normalize @chris-cross-crash/ck-css

Then import it where you import your other css files:

import 'modern-normalize'
import '@chris-cross-crash/ck-css'

colors CSS Custom Properties

You can also import a nice set of colors from this package:

// Import the custom properties before your global styles.
import '@chris-cross-crash/ck-css/colors.css'
import '../styles/globals.css'
/* globals.css */
/* You can now use the colors here */

.btn {
  background-color: var(--teal-800);
  color: var(--white);
}

The colors are from Tailwind CSS v3.0.0-alpha.1 (MIT License):

Here is the Tailwind CSS color reference (it might differ slightly from this version).

2.0.5

6 months ago

2.0.4

6 months ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago