2014-03-13 08:36:43 +00:00
# TACHYONS
2016-08-26 13:26:44 +00:00
Functional css for humans.
2015-10-24 17:13:58 +00:00
2016-08-26 13:26:44 +00:00
Quickly build and design new UI without writing css.
2014-03-13 08:44:44 +00:00
2014-10-15 17:03:10 +00:00
## Principles
* Everything should be 100% responsive
* Everything should be readable on any device
2016-10-03 22:49:21 +00:00
* Everything should be as fast as possible
2014-10-15 17:03:10 +00:00
* Designing in the browser should be easy
2015-05-17 09:06:34 +00:00
* It should be easy to change any interface or part of an interface without breaking any existing interfaces
2015-02-02 23:59:01 +00:00
* Doing one thing extremely well promotes reusability and reduces repetition
2016-10-03 22:49:21 +00:00
* Documentation helps promote reusability and shared knowledge
* Css is global. Html is not. Send the smallest amount of code to the user as possible.
2014-10-15 17:03:10 +00:00
2014-10-17 22:02:48 +00:00
## Features
2016-10-03 22:49:21 +00:00
* Mobile-first css architecture
* 490 accessible color combinations
* 8px baseline grid
* Multiple debugging utilities to reduce layout struggles
2016-02-24 23:14:51 +00:00
* Single-purpose class structure
2014-10-17 22:02:48 +00:00
* Optimized for maximum gzip compression
2016-10-03 22:49:21 +00:00
* Lightweight (~13kB)
2014-10-17 22:02:48 +00:00
* Usable across projects
2016-10-03 22:49:21 +00:00
* Growing open source component library
* Works well with plain html, react, ember, angular, rails, and more
2014-10-18 21:50:30 +00:00
* Infinitely nestable responsive grid system
2016-02-24 23:14:51 +00:00
* Built with Postcss
2014-10-17 22:02:48 +00:00
2014-03-13 08:36:43 +00:00
## Getting started
2016-02-24 23:14:51 +00:00
Docs can be found at http://tachyons.io/docs
2016-10-03 22:49:21 +00:00
The modules are generally pretty small and thus quick and easy to read.
2014-10-17 22:02:48 +00:00
2016-02-24 23:14:51 +00:00
### Use the CDN
2014-03-13 08:36:43 +00:00
2016-02-24 23:14:51 +00:00
The quickest and easiest way to start using tachyons is to include a reference
to the minified file in the head of your html file.
2016-10-14 21:38:47 +00:00
Currently the latest version is 4.5.4
2016-02-24 23:14:51 +00:00
```html
2016-10-14 21:38:47 +00:00
< link rel = "stylesheet" href = "https://unpkg.com/tachyons@4.5.4/css/tachyons.min.css" >
2016-09-15 20:13:37 +00:00
```
You can always grab the latest version with
```html
< link rel = "stylesheet" href = "https://unpkg.com/tachyons/css/tachyons.min.css" >
2014-03-13 08:36:43 +00:00
```
2016-02-24 23:14:51 +00:00
### Local Setup
Clone the repo from github and install dependencies through npm.
2014-10-15 00:57:01 +00:00
2014-10-09 21:30:12 +00:00
```
2016-03-13 16:59:59 +00:00
git clone https://github.com/tachyons-css/tachyons.git
2016-02-24 23:14:51 +00:00
cd tachyons
npm install
2014-10-09 21:30:12 +00:00
```
2014-10-15 17:03:10 +00:00
2016-02-24 23:14:51 +00:00
#### Dev
2016-10-03 22:49:21 +00:00
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
2016-02-24 23:14:51 +00:00
```npm start```
This will output both minified and unminified versions of the css to the css directory.
2016-04-04 09:28:46 +00:00
If you want to recompile everything from src everytime you save a change - you can run the following command, which will compile and minify the css
```npm run build:watch```
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```
2016-02-24 23:14:51 +00:00
2016-04-29 11:19:45 +00:00
## Contributing
2016-10-03 22:49:21 +00:00
Please read our [code of conduct ](https://github.com/tachyons-css/tachyons/blob/master/code-of-conduct.md ) for contributors.
2016-04-29 11:19:45 +00:00
2016-08-16 13:24:06 +00:00
## Websites that Use Tachyons
(if you have a project that uses Tachyons feel free to make a PR to add it to this list)
2014-10-15 17:03:10 +00:00
2016-09-16 22:11:55 +00:00
* https://coralproject.net
2016-08-16 13:24:06 +00:00
* https://goldenstaterecord.com
2016-09-15 00:55:50 +00:00
* https://segment.com
2016-10-03 22:49:21 +00:00
* https://community.algolia.com/wordpress/
* http://samueldregan.com
2016-09-15 00:55:50 +00:00
* https://voteplz.com
2016-02-23 03:02:30 +00:00
* http://bluebottlecoffee.com
2016-10-03 22:49:21 +00:00
* http://cyclelove.cc
2016-09-26 07:13:09 +00:00
* http://topher.design
2016-09-15 00:55:50 +00:00
* http://iheanyi.com/
* http://johnotander.com
* https://vimgifs.com
2016-02-23 03:02:30 +00:00
* http://aboutlife.com
2016-08-16 13:24:06 +00:00
* http://joinoneroom.com
* http://jon.gold/txt
* http://rene.jon.gold
* https://tinychime.github.io/jekyons/
* http://mrmrs.io/up
* http://prnt.cc
* http://spenhar.com
* http://randoma11y.com
* http://www.csspurge.com
2016-02-23 21:35:34 +00:00
* http://clrs.cc
2016-09-15 13:47:51 +00:00
* https://cljsjs.github.io
2016-02-23 03:02:30 +00:00
* http://mrmrs.io/gradients
* https://www.getnoodl.es
2016-02-23 21:35:34 +00:00
* https://natwelch.com
2016-02-23 03:04:19 +00:00
* http://mrmrs.io/profile/
2014-10-19 11:38:57 +00:00
* http://mn-ml.cc
2014-10-15 17:13:42 +00:00
* http://pesticide.io
* http://mrmrs.io/btns/
* http://zachhurd.com
* http://mrmrs.cc
2016-08-16 13:24:06 +00:00
* http://gfffs.com
2014-10-15 17:13:42 +00:00
* http://mrmrs.io/beats/
2016-02-23 03:02:30 +00:00
* http://mrmrs.io/writing
2016-02-23 03:04:19 +00:00
* http://fade.pics
2016-04-15 06:25:17 +00:00
* https://wordpress.org/themes/vanilla-milkshake/
* http://comics.hongkonggong.com/
2016-08-16 14:56:11 +00:00
* https://accessmyinfo.hk/#/
* https://accessmyinfo.org/#/
2016-08-16 17:57:12 +00:00
* http://rene.jon.gold
* http://randoma11y.com
2016-08-18 13:05:07 +00:00
* http://designbytyping.com
2016-08-21 12:07:17 +00:00
* http://colepeters.com
2016-08-24 07:38:18 +00:00
* https://atmin.github.io/funponent/
2016-08-29 09:24:33 +00:00
* http://blog.colepeters.com
2016-09-26 07:13:09 +00:00
* http://filipaonunes.com
* https://vakra.band
* http://tylernford.com
* https://adventuretron.org
2016-10-11 01:31:44 +00:00
* https://uptimeumbrella.com
2016-10-26 01:46:00 +00:00
* http://www.talbs.me
2016-11-03 20:53:58 +00:00
* https://urlbox.io
2016-11-05 16:57:40 +00:00
* http://seanoshea.me
2016-02-23 03:04:19 +00:00
And of course...
* http://tachyons.io
2014-03-13 08:44:44 +00:00
2016-02-24 23:14:51 +00:00
## Help
2015-05-17 09:06:34 +00:00
2016-10-03 22:49:21 +00:00
If you have a question or need help feel free to open an issue here or jump into the [Tachyons slack channel ](http://tachyons-slack-invite.herokuapp.com ).
2015-02-02 23:59:01 +00:00
2014-03-13 08:44:44 +00:00
## License
2015-10-23 22:03:52 +00:00
MIT