@42mo/42mo-web-styles

Lightweight SCSS library Demo page https://fortumo-web-styles-staging.s3-eu-west-1.amazonaws.com/index.html

Usage no npm install needed!

<script type="module">
  import 42mo42moWebStyles from 'https://cdn.skypack.dev/@42mo/42mo-web-styles';
</script>

README

README

What is it?

Lightweight SCSS library Demo page https://fortumo-web-styles-staging.s3-eu-west-1.amazonaws.com/index.html

Install

npm i @42mo/42mo-web-styles -D

How to use it?

In SCSS:

@import '~@42mo/42mo-web-styles/lib/index';

How to override any library variable?

define it BEFORE importing the library, e.g

$btn-color: blue !default;

@import '~@42mo/42mo-web-styles/lib/index';

Developing

npm run start

http://localhost:9000/dist/

npm publish steps:

npm init --scope=42mo npm publish --access public

Deploying

With teamcity

https://teamcity.fortumo.com/project.html?projectId=StaticWebs_WebStyles&branch_StaticWebs_WebStyles