CSS framework for use in
Minna UI projects or standalone.
We recommend using a custom build in most projects but for quick prototyping you can use a pre-built CSS file. Simply add this to your document head for the latest version:
Or use a specific version:
Install this package and dependencies:yarn add @minna-ui/css \&& yarn add -D @minna-ui/postcss-config
@minna-ui/postcss-configaccording it its usage instructions.
If you want to override the default variables, create an
_variables.cssfile alongside your other CSS:
import.css:/* README: Import this file into components for access to CSS variables */;;
Import the framework into your main CSS:;
Although optional, we highly recommend setting up purgecss in your project to remove any unused styles. This will drastically reduce your CSS file size making it faster to send over the network and faster for browsers to parse when loading pages.
© 2020 We Are Genki