polaris-sizing
v1.3.0
Published
Polaris Sizing Plugin for Polaris Framework. A set of responsive classes for controlling 'height', and 'width' of HTML elements.
Downloads
6
Maintainers
Readme
Polaris Sizing Plugin (v1.3.0)
In addition to the built-in features and components comes with Polaris framework, you can also use a set of useful plugins.
Polaris Sizing Plugin contains a set of responsive classes for controlling the width
and height
of HTML elements.
Documentation
Coming soon...
Dependencies
In general for production, Polaris Plugins depend on Polaris Framework Core CSS and/or JS libraries.
However, this specific plugin can be used stand alone. But, for development, it depends on:
- Node.js need to be installed.
- Sass as an npm developement package.
- Polaris Core as an npm developement package.
Get Started
Install via npm
npm install polaris-sizing
Use Polaris CDN
Coming soon...
Download Polaris Sizing
Clone Polaris
You can also clone Polaris Sizing using git:
git clone https://github.com/heminsatya/polaris-sizing.git
Customize Polaris Sizing
First, you need to download or clone it, then you need to follow a few easy steps:
- Open up your favourite CLI program.
- Change directory to the path where Polaris Sizing extracted:
cd path-to/polaris-sizing/
- Install packages by:
npm install
Now, you have everything set-up. You can customize it however you want.
Next step after customization is to rebuild the CSS libraries.
- To rebuild the CSS libraries run:
npm run css
npm run css-dev