jongold / Tachyons Js
Licence: mit
[UNMAINTAINED] Tachyons for your favorite inline-styles package
Stars: ✭ 105
Programming Languages
javascript
184084 projects - #8 most used programming language
tachyons-js
Use tachyons with your favorite CSS-in-JS composition solution.
Differences:
-
snake_cased
rather thankebab-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.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].