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

@bothrs/zero-height

Package Overview
Dependencies
Maintainers
7
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bothrs/zero-height

This script will fetch a specified theme from zero height and put it into a Typescript file you can immediately start using.

  • 0.1.6
  • Source
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

Zero Height

This script will fetch a specified theme from zero height and put it into a Typescript file you can immediately start using.

Getting started

yarn add --dev @bothrs/zero-height

API

The command take a few input flags:

  • --token This will contain the token for the version of your theme. (Alternative is to set the ZERO_HEIGHT_TOKEN env variable.)
  • --workspace This is the Zero Height workspace where you design system is located. (Example: .zeroheight.com)
  • --destination This is is the path to the file where you want you theme to be generated. (Example: ./src/styles/theme.ts)
  • --expo This flag will change some configuration in the theme to make it work with Expo. (Optional)
  • --css This flag will change the outputted file to vanilla css.

Example command

yarn sync-theme --token gh123hf1 --workspace bothrs.zeroheight.com --destination ./src/styles/theme.ts

FAQs

Package last updated on 18 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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