fastcss

Fastcss

Code fast with this awesome css framework.


Installation

  1. Install via npm

npm i fastcss or yarn add fastcss

  1. Copy the default configuration from here:

node_modules/fastcss/scss/_config.scss

  1. Import fastcss with your custom configuration and compile it. Check the build.scss file to see different ways to do it.

@use 'fastcss' with ($config: ...);

  1. Build the css

Note: Fastcss uses Webpack to build the css, you can use whatever bundler you want as long as it compiles the scss and it understands the new @use at-rule from sass. Check the folowing file to see how the module is imported and compiled with the default config:

node_modules/fastcss/scss/build.scss

Also don’t forget to check the webpack.config.js file.

Examples

Check the examples file https://fastcss.org/examples.html.

Documentation

Contributing

The contribution guide is on the road. For now, just follow the patterns and submit a PR, any contribution is welcomed.

License

Fastcss is open-sourced under the MIT license.