Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 679 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 679 Bytes

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