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

vtex-tachyons

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vtex-tachyons

Functional CSS for humans — customized by the VTEX team

  • 4.7.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.2K
decreased by-18.63%
Maintainers
4
Weekly downloads
 
Created
Source

VTEX TACHYONS

Extending tachyons powers for VTEX admins.

How to use

Install

npm i vtex-tachyons --save

Link in your application:

<link rel="stylesheet" href="tachyons.min.css">
<link rel="stylesheet" href="vtex-tachyons.min.css">
<link rel="stylesheet" href="theme.min.css">

or

//React Webpack import
import 'tachyons'
import 'vtex-tachyons'
import 'theme'

Use the CDN

WIP

How to develop

Local Setup

Clone the repo from github and install dependencies through npm.

git clone https://github.com/vtex-apps/vtex-tachyons
cd vtex-tachyons
npm install
Dev

If you want to just use everything in tachyons/src as a jumping off point and edit all the code yourself, you can compile all of your wonderful changes by running

npm start

This will output both minified and unminified versions of the css to the css directory and watch the src directory for changes. It's aliased to the command:

npm run build:watch

If you'd like to just build the css once without watching the src directory run

npm run build

If you want to check that a class hasn't been redefined or 'mutated' there is a linter to check that all of the classes have only been defined once. This can be useful if you are using another library or have written some of your own css and want to make sure there are no naming collisions. To do this run the command

npm run mutations

Keywords

FAQs

Package last updated on 30 Mar 2017

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