Skip to content

About

Tachyons for your favorite inline-styles package

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

tachyons-js

Use tachyons with your favorite CSS-in-JS composition solution.

Differences:

  • snake_cased rather than kebab-cased

Usage:

Works great with aphrodite:

:root {
  // fill in all of the tachyons default variables,
  // or import 'tachyons-js/variables.css';
}
import { StyleSheet } from 'aphrodite';
import t from 'tachyons-js';

const styles = StyleSheet.create({
  foo: {
    ...t.ma2,
    ...t.ma2_ns,
    ...t.bg_black,
    ...t.ph2,
    ...t.ph3_m,
    ...t.ph3_l,
  },
});

hmu if it breaks.

About

Tachyons for your favorite inline-styles package

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages