th-pit-viper
v1.72.5
Published
A CSS framework for Turquoise Health's design system.
Downloads
1,205
Readme
Pit Viper
Documentation and CSS framework for Turquoise Health's design system, Pit Viper.
Running Pit Viper Locally
- Clone this repo.
- Run
npm install
to install all necessary packages. - Run
npm run start
and you should see Pit Viper in http://localhost:8080/. Any updates will automatically update and refresh in the browser.
To develop locally with the Turquoise Health site, read the Notion documentation.
Applying Pit Viper
Install as an npm package
npm install th-pit-viper
The package includes the following files:
_site/assets/css/pit-viper.css
_src/assets/sprite.svg
Add pit-viper.css
in the <head>
of a page:
<link rel="stylesheet" href="[path]/pit-viper.css">
Add the contents of sprite.svg
in the <body>
of a page:
<div hidden>[include sprite.svg here]</div>
Use as a CodePen template
You can use the template below to start a new pen that pulls in the latest version of pit-viper.css
so you can start prototyping quickly without writing CSS.
Support
- #design-system channel in Slack
- Office Hours, every Wednesday from 11am-Noon Pacific (contact Mike Aparicio for an invite)
- Submit an issue in this Github repo