Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@elvia/elvis-typography

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elvia/elvis-typography - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

8

CHANGELOG.md
# 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 @@

2

package.json
{
"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' {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc