@folkehelseinstituttet/style
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -1,3 +0,12 @@ | ||
# 3.1.0 | ||
# 3.2.0 | ||
> Des 17, 2021 | ||
* :tada: **Enhancement** Icon system is now generated when adding icon files | ||
* :nut_and_bolt: **New** Added styles for table with selectable rows | ||
* :tada: **Enhancement** Revise the projects folder structure | ||
* :tada: **Enhancement** Update README and CONTRIBUTING | ||
## 3.1.0 | ||
> Nov 09, 2021 | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "@folkehelseinstituttet/style", | ||
"version": "3.1.0", | ||
"description": "Css and sass styling used by Folkehelseinstituttet", | ||
"version": "3.2.0", | ||
"description": "CSS styling used by Folkehelseinstituttet", | ||
"keywords": [ | ||
"css", | ||
"sass" | ||
], | ||
"files": [ | ||
@@ -16,4 +20,5 @@ "/css", | ||
"compile-css": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/style.scss css/styles.css", | ||
"generate-icon-map": "node ./src/icons/generate-icon-map", | ||
"minify-css": "cleancss --level 1 --format breaksWith=lf --source-map --source-map-inline-sources --output css/styles.min.css css/styles.css", | ||
"prepack": "npm run compile-css && npm run minify-css", | ||
"prepack": "npm run generate-icon-map && npm run compile-css && npm run minify-css", | ||
"postversion": "git add package.json package-lock.json && git commit -mv%npm_package_version%" | ||
@@ -20,0 +25,0 @@ }, |
# Fhi.Frontend.Style | ||
Package containing fhi styling in both css and scss form for easy use in projects | ||
CSS styling used by [Folkehelseinstituttet](https://www.fhi.no), based on [Bootstrap](https://getbootstrap.com) front-end framework. | ||
## Usage | ||
## Get started | ||
**NB!** Only `SourceSansPro` and `CrimsonText` are distributed with this package. `BrandonText` are proprietary, and needs to be imported in projects where it's a design requirement. | ||
### Install | ||
Install with [npm](https://www.npmjs.com): `npm install @folkehelseinstituttet/style` | ||
### Use in project | ||
If you want the full style library | ||
@@ -20,1 +24,22 @@ | ||
``` | ||
If you want to use CSS instead of SCSS | ||
- run `npm pack` | ||
- add `~@folkehelseinstituttet/style/css/style.css` to your project | ||
## Contribute | ||
Read about how to contribute [here](https://github.com/folkehelseinstituttet/Fhi.Frontend.Style/blob/main/CONTRIBUTING.md). These two chapters are especially important: | ||
- [Coding conventions](https://github.com/folkehelseinstituttet/Fhi.Frontend.Style/blob/main/CONTRIBUTING.md#coding-conventions) | ||
- [Pull request guidelines](https://github.com/folkehelseinstituttet/Fhi.Frontend.Style/blob/main/CONTRIBUTING.md#pull-request-guidelines-for) | ||
## Demo and documentation | ||
Live examples in our demo app: [https://frontendbibliotek.fhi.no](https://frontendbibliotek.fhi.no) | ||
Repo for demo app: [Fhi.Frontend.Demo](https://github.com/folkehelseinstituttet/Fhi.Frontend.Demo) | ||
## Info about fonts | ||
Only `SourceSansPro` and `CrimsonText` are distributed with this package. `BrandonText` are proprietary, and must be imported in projects where it's a design requirement. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 31 instances in 1 package
45
0
1358034
9
10772