├── .npmignore ├── circle.yml ├── .babelrc ├── .gitignore ├── example ├── index.html ├── components.js ├── clrs.js ├── product-card.js ├── profile-card.js └── index.js ├── __tests__ ├── __snapshots__ │ ├── with-color.test.js.snap │ ├── with-background-color.test.js.snap │ ├── with-size.test.js.snap │ ├── with-base-styles.test.js.snap │ ├── with-typography.test.js.snap │ ├── with-spacing.test.js.snap │ ├── with-border.test.js.snap │ ├── with-defaults.test.js.snap │ └── with-msrd.test.js.snap ├── style-helper.test.js ├── media-queries.test.js ├── with-color.test.js ├── with-base-styles.test.js ├── with-size.test.js ├── with-background-color.test.js ├── with-defaults.test.js ├── with-typography.test.js ├── with-spacing.test.js ├── with-border.test.js ├── with-msrd.test.js └── utils.test.js ├── src ├── with-defaults.js ├── index.js ├── with-msrd.js ├── with-base-styles.js ├── style-helper.js ├── with-color.js ├── with-background-color.js ├── with-typography.js ├── media-queries.js ├── with-size.js ├── with-spacing.js ├── utils.js └── with-border.js ├── webpack.dev.config.js ├── License ├── webpack.prod.config.js ├── .eslintrc ├── package.json └── README.md /.npmignore: -------------------------------------------------------------------------------- 1 | # dependencies 2 | node_modules 3 | 4 | # testing 5 | coverage 6 | 7 | # production 8 | build 9 | 10 | # misc 11 | .DS_Store 12 | .env 13 | npm-debug.log 14 | yarn-error.log 15 | stats.json 16 | -------------------------------------------------------------------------------- /circle.yml: -------------------------------------------------------------------------------- 1 | machine: 2 | node: 3 | version: 6 4 | 5 | dependencies: 6 | override: 7 | - yarn 8 | cache_directories: 9 | - ~/.cache/yarn 10 | 11 | test: 12 | override: 13 | - yarn test 14 | -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "react"], 3 | "env": { 4 | "commonjs": { 5 | "presets": [ 6 | ["es2015", { modules: false }], 7 | "react" 8 | ], 9 | } 10 | }, 11 | "plugins": [ 12 | "ramda", 13 | "transform-object-rest-spread" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | node_modules 5 | 6 | # testing 7 | coverage 8 | 9 | # production 10 | build 11 | dist 12 | lib 13 | es 14 | 15 | # misc 16 | .DS_Store 17 | .env 18 | npm-debug.log 19 | yarn-error.log 20 | stats.json 21 | -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | tachyons msrd tests 7 | 8 | 9 |
10 | 11 | 12 | -------------------------------------------------------------------------------- /__tests__/__snapshots__/with-color.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Button 1`] = ` 4 |