mlh-styles
v0.1.2
Published
This is a styling library for MLH.
Downloads
2
Readme
mlh-styles
This is a styling library for MLH.
Instalation and Usage
- Install the package wuth
npm i --save mlh-styles
- Import styles on top(this will allow you to use various mixins and variables in your scss) of your main scss file
@import '~mlh-styles/_sass/main';
Development
- Clone the repository
git clone https://github.com/MLH/mlh-styles.git
. - Change into the directory
cd mlh-styles
and install dependencies withnpm i
. - Start a development server with
npm start
. - In the root of the project there's an index.html file, it's for development only, perfect place to add/test new styling for elements. You can also make new html files in the root of the project if you need to, but you'll need to restart the server.
- If you create a new scss file, prefix it with
_
so that scss compiler knows it's a partial, and import it at the bottom of_sass/main.scss
. - Add, commit, merge, update version of the package to reflect changes you made with
npm version <newversion>
,<newversion>
should be a valid semver string, for example '2.3.1'. - Publish to npm with
npm publish