Skip to content

vestfoldfylke/css-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

css-components

Pure css components with fylkes-styling

Generate css-file

  • npm i @vestfoldfylke/css-components
  • { generateCssFile, generateCssString } = paackge
  • cssString for string version, cssFile for writing a file see options and theming

Development

  • git clone
  • Edit components / elements
    • just update css-components.css, and refresh/open exemple/index.html
  • Edit colors / autogenerated css
    • Edit generate-css.js (or where it will reside)
  • run npm dev and open example/index.html to see result

Publish

release it

Rules to follow

  • Use rem, em, vh, or percent for font-sizes, margin, padding, heights and widths
  • Use px for borders and outline

About

Pure css components with fylkes-styling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published