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

@sproutsocial/seeds-typography

Package Overview
Dependencies
Maintainers
44
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sproutsocial/seeds-typography - npm Package Compare versions

Comparing version 0.3.3 to 0.4.0

typography/_generated/seeds-typography.0.3.3.json

5

dist/seeds-typography.js
'use strict';
module.exports = {
TYPOGRAPHY_FAMILY: '"Proxima Nova", proxima-nova, "Helvetica Neue", Helvetica, Arial, sans-serif',
TYPOGRAPHY_FAMILY_CLEAN_SANCHEZ: 'clean-sanchez, "Proxima Nova", proxima-nova, "Helvetica Neue", Helvetica, Arial, sans-serif',
TYPOGRAPHY_FAMILY: '"Proxima Nova", proxima-nova, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
TYPOGRAPHY_FAMILY_CLEAN_SANCHEZ: 'clean-sanchez, "Proxima Nova", proxima-nova, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
TYPOGRAPHY_FAMILY_SYSTEM: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
TYPOGRAPHY_SIZE_100: {

@@ -7,0 +8,0 @@ fontSize: '11px',

@@ -59,3 +59,6 @@ const fs = require('fs');

app: upperFirst(prop.name),
sass: `@include ${suitCssName(prop.package, prop.name)};`,
sass:
prop.category === 'font size'
? `@include ${suitCssName(prop.package, prop.name)};`
: sassVar(prop.package, prop.name),
javascript: `{ style: ${javascriptConst(prop.package, prop.name)} }`,

@@ -62,0 +65,0 @@ lineHeightProportional: prop.value.rules && prop.value.rules['line-height'],

2

package.json
{
"name": "@sproutsocial/seeds-typography",
"version": "0.3.3",
"version": "0.4.0",
"stability": "stable",

@@ -5,0 +5,0 @@ "description": "SEEDS Design System Typography Styles",

@@ -22,3 +22,3 @@ ## Examples

- Native mobile apps utilize the system font families: San Francisco for iOS and Roboto for Android.
- When limited to system fonts we use Helvetica.
- When Proxima Nova or Sanchez are unavailable, we attempt to default to [system font families](https://css-tricks.com/snippets/css/system-font-stack/). Defaulting to these fonts helps also with emoji rendering. The Proxima and Sanchez tokens already include theses system font fallbacks; **do not use the system font stack on its own unless you are using SEEDS in a situtation where loading Proxima or Sanchez is impossible or unwise**.

@@ -25,0 +25,0 @@ {% include_relative example-family.html %}

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

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