Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

CommitChange/commons.css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

includes utility classes + styles for core UI components:

docs: http://docs.commitchange.com/commons.css/

to use: npm install --save-dev @commitchange/commons.css

module list:

  • align
  • background
  • blockquote
  • border
  • button
  • color
  • cursor
  • form
  • grid
  • help box
  • hide
  • layout
  • list
  • margin
  • misc
  • opacity
  • padding
  • position
  • progress bar
  • shadow
  • table
  • tabs
  • type-scale
  • typography

We recommond using postcss and postcss-import for managing/building css:

example:

package.json

{
  "scripts": {
    "build-css": "postcss -c postcss-config.js",
    "watch-css": "postcss -c postcss-config.js -w"
   },
  "devDependencies": {
    "postcss": "5.2.4",
    "postcss-cli": "2.6.0",
    "postcss-import": "8.1.2",
    "@commitchange/commons.css": "0.0.1"
  }
  etc...
}

postcss-config.js

module.exports = {
  use: ['postcss-import']
, 'local-plugins' : true
, input: 'index.css'
, output: 'build.css'
}

index.css

@import '@commitchange/commons.css';

body {
  font-family: 'Comic Sans';
  etc...
}
npm run watch-css

About

resets, utils and components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published