@elvia/elvis-typography
Advanced tools
Comparing version 1.2.0 to 1.2.1
# Elvia Typography Changelog | ||
## 1.2.0 (07.11.22) | ||
## 1.2.1 (08.02.22) | ||
### Patch | ||
- Updated README to document how to use package in Javascript/Typescript. | ||
## 1.2.0 (07.11.21) | ||
### New feature | ||
@@ -6,0 +12,0 @@ |
{ | ||
"name": "@elvia/elvis-typography", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Elvia typography", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -13,2 +13,18 @@ # Elvia typography | ||
Remember to also import the correct typographies from the Google font api. If you are using the @elvia/elvis | ||
package you don't have to do this, because they are already imported there. | ||
- @import url('https://fonts.googleapis.com/css?family=Red+Hat+Display:400,400i,500,700,900&display=swap'); | ||
- @import url('https://fonts.googleapis.com/css?family=Red+Hat+Text:400,400i,500,600,700&display=swap'); | ||
- @import | ||
url('https://fonts.googleapis.com/css2?family=Red+Hat+Mono:ital,wght@0,400;0,500;1,400&display=swap'); | ||
## Usage Typescript/Javascript | ||
To use this package you can import the function getTypography(). It takes the name of the requested typography | ||
as input, and returns the typography's attributes if it exists. <br> | ||
- import { getTypography } from '@elvia/elvis-typography'; | ||
- const typography = getTypography('text-md'); | ||
## Maintaining | ||
@@ -15,0 +31,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 1.2.0 | ||
* @version 1.2.1 | ||
*/ | ||
@@ -8,0 +8,0 @@ declare module '@elvia/elvis-typography' { |
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
24809
33