@hedviginsurance/brand
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -36,2 +36,3 @@ "use strict"; | ||
gray300: _1.colorsV3.gray300, | ||
gray400: _1.colorsV3.gray400, | ||
gray500: _1.colorsV3.gray500, | ||
@@ -38,0 +39,0 @@ gray700: _1.colorsV3.gray700, |
@@ -7,2 +7,3 @@ export declare const colorsV3: { | ||
gray300: string; | ||
gray400: string; | ||
gray500: string; | ||
@@ -9,0 +10,0 @@ gray600: string; |
@@ -10,2 +10,3 @@ "use strict"; | ||
gray300: '#eaeaea', | ||
gray400: '#d2d2d2', | ||
gray500: '#aaaaaa', | ||
@@ -12,0 +13,0 @@ gray600: '#777777', |
@@ -30,2 +30,3 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { | ||
gray300: colorsV3.gray300, | ||
gray400: colorsV3.gray400, | ||
gray500: colorsV3.gray500, | ||
@@ -32,0 +33,0 @@ gray700: colorsV3.gray700, |
@@ -7,2 +7,3 @@ export declare const colorsV3: { | ||
gray300: string; | ||
gray400: string; | ||
gray500: string; | ||
@@ -9,0 +10,0 @@ gray600: string; |
@@ -7,2 +7,3 @@ export var colorsV3 = { | ||
gray300: '#eaeaea', | ||
gray400: '#d2d2d2', | ||
gray500: '#aaaaaa', | ||
@@ -9,0 +10,0 @@ gray600: '#777777', |
{ | ||
"name": "@hedviginsurance/brand", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "The hedvig brand package", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# Hedvig Brand | ||
Everything brand related 💅 | ||
## Javascript | ||
``` | ||
@@ -10,23 +12,26 @@ yarn add @hedviginsurance/brand | ||
### Colors | ||
```javascript | ||
import { colors } from "@hedviginsurance/brand" | ||
import { colors } from '@hedviginsurance/brand' | ||
// see colors.ts for available colors | ||
// see colors.ts for available colors | ||
colors.GREEN // etc | ||
colors.GREEN // etc | ||
``` | ||
### Fonts | ||
```javascript | ||
import { fonts } from '@hedviginsurance/brand' | ||
import { fonts } from '@hedviginsurance/brand' | ||
fonts.SORAY | ||
```` | ||
fonts.SORAY | ||
``` | ||
## Publishing this package | ||
This package is automatically published by CI (Codefresh) whenever a version is tagged in git. To publish a new version: | ||
1. While on the `master` branch, use `yarn version` to pin your new version number and create a git tag for it | ||
2. Use `git push origin master && git push origin --tags` to push the new tag to the server | ||
3. Go into Codefresh, find the build, wait for the checks to pass and approve the publishing step once prompted | ||
4. Wait for it... ... ... Done ✅ | ||
This package can be manually published by Github Actions. | ||
1. Go to [Publish to NPM](https://github.com/HedvigInsurance/brand/actions/workflows/publish-npm.yml) action | ||
2. Click "Run workflow" and enter which version you want to publish | ||
The version will be published to NPM and a corresponding tag will be pushed to main branch |
@@ -7,2 +7,3 @@ export const colorsV3 = { | ||
gray300: '#eaeaea', | ||
gray400: '#d2d2d2', | ||
gray500: '#aaaaaa', | ||
@@ -9,0 +10,0 @@ gray600: '#777777', |
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
1155
37
90738
70