Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
8880f37
Nuke unneeded deps, lerna init
johno Aug 24, 2016
5bf5c0a
Add all the modules
johno Aug 24, 2016
8c40148
Add a changelog
johno Aug 24, 2016
717c4bf
Add list of new things to include
johno Aug 24, 2016
db4ccfa
Add css module copy
johno Aug 24, 2016
27ca206
Add update script
johno Aug 24, 2016
afe34e5
Adjust build to add media queries
johno Aug 24, 2016
63152e8
Add tachyons-code package
johno Aug 24, 2016
9a1e6c4
Add last module ignore
johno Aug 24, 2016
05b28af
Tweak build spacing
johno Aug 24, 2016
3a24abb
Fix border-radius typo
johno Aug 24, 2016
d6e8373
Add autoprefixing to the build
johno Aug 25, 2016
013ca18
Run latest build process for packages
johno Aug 25, 2016
d7abd59
Nuke tachyons-styles
johno Aug 25, 2016
1477c86
Update changelog with latest release notes
johno Sep 6, 2016
ae52080
Add comments to border colors file
Sep 7, 2016
ff30b8b
Add Athelas option to font-familys
Sep 7, 2016
886a944
Fix grow bug where the transition doesn't animate
Sep 7, 2016
582fb28
Add additional aspect ratios. Gallery power goes to 11.
Sep 7, 2016
da2a4fa
Bump version number
Sep 7, 2016
f6a0e07
Add the compiled css for 4.3.0
Sep 7, 2016
d78c281
Use minified file in style
Sep 7, 2016
c84cb49
Add !important to fix (what seems to be a bug)
Sep 8, 2016
8afd5b7
Bump to v4.3.1
Sep 8, 2016
bf5ee3b
Bump version
Sep 8, 2016
81a2805
Use data-uri's instead of link to tachyons.io
btnwtn Sep 8, 2016
6a7f7d7
Merge pull request #251 from btnwtn/master
Sep 8, 2016
e7f3fe3
Add link to docs in comments where appropriate.
Sep 14, 2016
8f8405f
Merge branch 'master' of github.com:tachyons-css/tachyons
Sep 14, 2016
ec18624
Tweak red for more a11y friendly combos
Sep 15, 2016
8cbf471
Add some more links to sites built with tachyons
Sep 15, 2016
97df511
Tweak colors. Add colors.
Sep 15, 2016
06837a0
Update border colors and skins to reflect new colors.
Sep 15, 2016
d98f06f
Add some min-heights.
Sep 15, 2016
a365e97
More performant animated hovers.
Sep 15, 2016
7d54671
Add compiled css
Sep 15, 2016
0aaf751
Add missing }
Sep 15, 2016
6c254d7
Add new site
Sep 15, 2016
49ff093
Add thirds because you gotta give the people what they want.
Sep 15, 2016
00ad246
Update build
Sep 15, 2016
a7b1c90
Merge branch 'master' of github.com:tachyons-css/tachyons
Sep 15, 2016
28959fb
Update cli
Sep 15, 2016
b812951
Fix bug.
Sep 15, 2016
2a6d1b6
Update build version.
Sep 15, 2016
f1d9bc8
Update build version to 4.4.1
Sep 15, 2016
8d65311
Fix skins-pseudos typo
johno Sep 15, 2016
136a3b3
Update version reference
Kikobeats Sep 15, 2016
6d621b6
Merge pull request #252 from tachyons-css/skins-pseudos-typo
Sep 15, 2016
d1fac90
Update build after bug fix.
Sep 15, 2016
7599299
Merge pull request #253 from Kikobeats/patch-1
johno Sep 15, 2016
cfc8ffe
Update readme.
Sep 15, 2016
fd38efa
Merge branch 'master' of github.com:tachyons-css/tachyons
Sep 15, 2016
8904924
Remove special comment syntax in normalize's first line
Sep 16, 2016
2d0212a
Add special comment syntax so version doesn't get stripped out
Sep 16, 2016
764cacd
Fix broken link
Sep 16, 2016
1bbf4c4
Change website in comment
Sep 16, 2016
6fee152
Add compiled css with proper version number
Sep 16, 2016
8e5a16c
Bump in package
Sep 16, 2016
d661a49
Add coralproject site to readme
Sep 16, 2016
1b73d1c
Remove leading 0s. Add bg-animate class.
Sep 17, 2016
72bfc37
Add gaps in units of 10. Add w-two-thirds for 66.66% column.
Sep 17, 2016
4c6f97a
Add debug classes for outlining all elements in white or black.
Sep 17, 2016
c6b8cd9
Bump version to 4.5.0
Sep 17, 2016
83ad786
Bump version listed in package.json to 4.5.0
Sep 17, 2016
ea70f5c
Add compiled css for 4.5.0
Sep 17, 2016
84029f6
Update readme
Sep 17, 2016
1a4ab95
Fix typo in widths for two-thirds
Sep 17, 2016
06b49b5
Update readme
Sep 17, 2016
5be59c1
Fix the build and bump to the latest cli version
johno Sep 20, 2016
53fbab9
Merge pull request #262 from tachyons-css/fix-build
johno Sep 20, 2016
b9f66bb
4.5.2
johno Sep 20, 2016
d75be7d
Update readme
johno Sep 20, 2016
e36bd59
Add transition to bg-animate so that background animates off hover.
Sep 23, 2016
17e8af3
Bump to 4.5.3
Sep 23, 2016
9d37cad
Add some sites to the list of things made with Tachyons
Sep 26, 2016
34d3854
Update readme. Remove old instructions.
Oct 3, 2016
61ba4d1
Add uptime umbrella to sites list
johno Oct 11, 2016
7a9f87d
Merge pull request #275 from tachyons-css/add-uptime-umbrella
johno Oct 11, 2016
a7f45d8
Fix typo in heights
johno Oct 14, 2016
1d41939
Merge pull request #276 from tachyons-css/fix-mq-typo-in-heights
johno Oct 14, 2016
f53061f
Bump readme version to latest
johno Oct 14, 2016
21961b0
4.5.4
johno Oct 14, 2016
dedb0d2
Update site list
talbs Oct 26, 2016
c941bd4
Merge pull request #277 from talbs/add-talbs.me
johno Oct 26, 2016
31e4001
Add urlbox.io to list of projects
cjroebuck Nov 3, 2016
e5bb475
Merge pull request #285 from cjroebuck/patch-1
Nov 4, 2016
bab28a3
Add seanoshea.me to list of sites
sposhe Nov 5, 2016
97bc03f
Merge pull request #287 from sposhe/master
johno Nov 5, 2016
4cd2af2
4.5.5
johno Nov 7, 2016
b6371bd
Bump to 4.5.5
balcsida Nov 10, 2016
c2ecff2
Merge pull request #290 from balcsida/patch-1
johno Nov 10, 2016
91c54a2
Update normalize to 5.0
Nov 15, 2016
62fb568
Bumping package number.
Nov 15, 2016
05596b0
Close unclosed string
Nov 15, 2016
1b4d0ce
Move aspect ratios out of utilities
Nov 15, 2016
862d2cc
Add compiled css
Nov 15, 2016
beae111
First pass at integrating cms module
Nov 15, 2016
8ac8046
Update comment
Nov 15, 2016
1426916
Update the readme with some more info and more urls
Nov 15, 2016
bb246f6
Add anchors, headings, and some extra form elements to box-sizing module
Nov 17, 2016
872378e
Add rotations. Change file name to nested.
Nov 17, 2016
bd8a10a
adding https://www.hiaida.com
chenghanlee Nov 22, 2016
278ba3a
Merge pull request #294 from chenghanlee/master
Nov 22, 2016
f2ece10
Add more sites to built with tachyons section in readme
Nov 27, 2016
7b55732
Merge branch 'master' of github.com:tachyons-css/tachyons
Nov 27, 2016
e4b26f0
Bump watch version to latest
Nov 27, 2016
ca8897d
4.5.6
Nov 27, 2016
6016b8e
Update with new links
Nov 29, 2016
c1f58e6
Add DevDayAR to "Websites that Use Tachyons"
durancristhian Dec 1, 2016
14971b3
Merge pull request #303 from durancristhian/patch-1
Dec 1, 2016
bf83f28
Add glow class
Dec 7, 2016
3f6aaa7
* fix border-radius typo
Dec 12, 2016
6058970
Remove extra white-space
Dec 13, 2016
f9e72d2
Animated box-shadow on hover bug fix.
Dec 13, 2016
35a2426
4.7.0
Dec 13, 2016
0893aa9
Cleanup for 4.6.0 release
Dec 13, 2016
580f953
Merge branch '4.6.0'
Dec 13, 2016
951acdc
Fix bug where color is declared instead of background-color.
Dec 14, 2016
9b7c4b3
Fix bug in font family ordering. Regenerate some css.
Dec 14, 2016
441d278
fix typo, adds .min-h-100-m
Jan 4, 2017
3854ab6
build css
Jan 4, 2017
8dc5a0b
Add moon-gray to border colors
Jan 13, 2017
9a1e42a
Update widths documentation comment
lchski Jan 15, 2017
334970e
Merge pull request #321 from ali/fix-min-h-typo
johno Jan 20, 2017
2ecb60a
Merge pull request #322 from forzalupo/patch-1
johno Jan 20, 2017
047a766
Merge pull request #323 from lchski/patch-1
johno Jan 20, 2017
018d850
Ensure modifiers are consistent in _display
johno Jan 24, 2017
5c9e16e
Run build with latest css changes
johno Jan 24, 2017
9a9fe34
4.6.2
johno Jan 24, 2017
77a376e
adding fontawesome.com to site list
talbs Feb 1, 2017
3ff2ade
Merge pull request #330 from talbs/master
johno Feb 1, 2017
34ad084
Add 7th step of .75rem to type scale
Feb 14, 2017
7d0d9eb
Add responsive classes for centering elements with margin auto
Feb 14, 2017
7e58113
Remove sans-serif declaration on buttons
Feb 14, 2017
43dbc23
Add utilities for inheriting color values.
Feb 14, 2017
af2df85
Fix media query reference in outlines modules
Apr 3, 2017
f117bcf
Add reverse for wrap, column, row.
Apr 3, 2017
c832eb6
Update normalize to 6.0.0
Apr 3, 2017
954b838
Fix dead link
Apr 3, 2017
9acbca0
Add recompiled css.
Apr 3, 2017
26bf9cd
Bump version number
Apr 3, 2017
2071e67
Merge pull request #357 from tachyons-css/v4.7.0
Apr 3, 2017
6beb05a
Fix watch statements on Windows
annoyingmouse Apr 4, 2017
ca92558
Merge pull request #359 from annoyingmouse/master
johno Apr 4, 2017
b3c87d3
Renaming the main file not to be minified
alexpchin Apr 18, 2017
c874cb0
Merge pull request #367 from alexpchin/master
johno Apr 18, 2017
841e24e
4.7.1
johno Apr 18, 2017
44fea6f
Recompile css.
May 10, 2017
a791b48
4.7.2
May 10, 2017
7a24728
chore: update dependencies in package.json
cwonrails May 18, 2017
7d14f57
chore: removed whitespace from readme.md
cwonrails May 18, 2017
e286671
feat: update normalize.css partial to 7.0.0
cwonrails May 18, 2017
07057a4
chore: updated text in src/tachyons to 4.7.3
cwonrails May 18, 2017
37be12b
chore: updated semver in package.json to 4.7.3
cwonrails May 18, 2017
4d0247f
chore: recompiled css
cwonrails May 18, 2017
3b6be69
Merge pull request #384 from cwonrails/master
johno May 19, 2017
a7cf1cb
Ensure -webkit-transition prefixes are there
johno May 19, 2017
c58e696
4.7.4
johno May 19, 2017
0434f88
Big nasty merge with master
johno Jul 27, 2017
c8c4959
Update all packages, add new modules
johno Jul 27, 2017
c312451
Update modules
johno Jul 27, 2017
4f9bd9b
Add blurb to changelog for v5
johno Jul 27, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tachyons",
"description": "Functional CSS for humans",
"main": "css/tachyons.min.css",
"main": "css/tachyons.css",
"authors": [
"mrmrs"
],
Expand Down
31 changes: 31 additions & 0 deletions build/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
const fs = require('fs')
const globby = require('globby')
const stripComments = require('strip-css-comments')

const pattern = [
'src/**/*.css',
'!src/tachyons.css',
'!src/_debug-children.css',
'!src/_debug-grid.css',
'!src/_nested.css',
'!src/_normalize.css',
'!src/_media-queries.css',
'!src/_module-template.css'
]

const mq = stripComments(fs.readFileSync('src/_media-queries.css', 'utf8'))

globby(pattern)
.then(paths => paths.forEach(processPackage))
.catch(console.error)

const processPackage = path => {
const name = path.replace('src/_', '').replace('.css', '')
let css = fs.readFileSync(path, 'utf8')

if (/@media/.test(css)) {
css = `${mq}${css}`
}

fs.writeFileSync(`packages/tachyons-${name}/src/tachyons-${name}.css`, css)
}
189 changes: 189 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
# Tachyons Changelog

### 5.0.0

First and foremost, we've introduced an official changelog for v5 of Tachyons.
We want to ensure that anyone can quickly check out what's changed for each version.
Especially because, as we all know, semver for css is nebulous at best.

##### Breaking changes

- Remove `ns` mq

TODO: Thorough description as to how this change will affect users.

##### Other changes

The majority of changes for v5 are changing how things work behind the scenes.
We've sought out automating everything that can be possibly automated.
With a project as ambitious as Tachyons is, having to manually update, version and deploy became quite a chore.

Now its `npm run` :tada:.

- Monorepo build process
- `npm run pkg` - to update css for all modules
- Automatic git updates to modules via CI
- Tests for all packages, including linting and rendering
- All the docs
- Better build scripts

### 4.2.1

#### Comments: There is no substitute

![](https://media.giphy.com/media/9CFB8fnPPgzok/giphy.gif)

This patch fixes a small bug in class naming and also adds comments to the css partials in the src/ directory.

After making another pass through the source code I was horrified to find how many glaring inconsistencies there were in the code comments for each module. Especially regarding naming systems. It never ceases to amaze me how bad past me is at writing code.

In an effort to not have poorly documented code I woke up this morning, made some coffee, and tried to make the comments more clear and more consistent. They aren't perfect yet. But
they are less glaringly awful. I hope.

### Bug fix
![](https://media.giphy.com/media/7zYQSkF4LPmmY/giphy.gif)

There were two different classes called striped--moon-gray which is very silly because they were set to different values. So that has been fixed. No more duplicative classes and the class striped--light-gray has been added in as originally intended.

### 4.3 news
Next up I'll be adding some more table striping utilities along with some additional aspect ratios used for fluid embeds.

Cheers.

### 4.2.0

#### High Times

![](https://media.giphy.com/media/FVbsOFYqdARtS/giphy.gif)

Without a doubt this is my favorite release ever. We fixed a couple of bugs and also
added some new goodness.

## Additions

#####_debug-grid.css
Added some classes to help enable lining things up. If you place the ```.grid-debug``` class on an element you'll get an 8px grid on the background with a slightly transparent blue line. To get a 16px grid use the class ```.grid-debug-16```

##### 8px grid
<img width="1197" alt="screen shot 2016-09-01 at 5 39 03 pm" src="https://cloud.githubusercontent.com/assets/1748143/18177535/87caf59c-7072-11e6-956b-5d5018f368ed.png">

##### 16px grid
<img width="1280" alt="screen shot 2016-09-01 at 5 45 05 pm" src="https://cloud.githubusercontent.com/assets/1748143/18177523/7de0a202-7072-11e6-956f-ae95fa7ff539.png">

#### vh units
Added some classes for setting the height of the element based off of the screen height as opposed to the height of the parent. You can now use vh-100, vh-75, vh-50, or vh-25 to set the height of an element to 100, 75, 50, or 25% of the screen height. Shout out to @yoshuawuyts for the recommendation.

#### outlines
You can now place a 1px outline on an element with the ```class="outline"``` it will be set to the currentColor of the element.

#### line-height
Made some slight tweaks to line-height values. ```lh-copy``` is now set to 1.5 and ```lh-title``` is set to 1.25. This will hopefully help people worried about baseline grids a little bit.

#### pill shaped links / buttons
Added a class called br-pill that makes things look like pills with a border-radius of 9999px. Shout out to @matthewmueller for getting this in.

<img width="387" alt="screen shot 2016-09-01 at 7 10 51 pm" src="https://cloud.githubusercontent.com/assets/1748143/18178988/663fdc20-7078-11e6-8ed7-d5dd6bd779fb.png">


## Bug Fixes
![](https://media.giphy.com/media/oJ3a572OzNV2U/giphy.gif)

#### Animation fix
The .glow class was not animating properly. This has been fixed.
![hover](https://cloud.githubusercontent.com/assets/1748143/18177453/3755a0f8-7072-11e6-9cdc-838732f0967b.gif)

#### Filename consistency
Renamed _debug_children.css to _debug-children.css to follow the naming pattern of the other partials

##### Until next time
I think that is about it. Thanks to everyone who has given feedback and helped out with docs fixes. It's all really helpful.

### 4.1.3

## They're back

![](https://media.giphy.com/media/CrUNKmmIi74RO/giphy.gif)

We accidentally were not including the images partial or the z-index partial in the main build.
The 4.1.3 fixes this 100% completely embarrassing mistake by including them back in.

If you use the CDN link you can find the new version at
```
https://npmcdn.com/tachyons@4.1.3/css/tachyons.min.css
```

### 4.1.1

##### More Simple. Fewer Dependencies.

Originally tachyons was a monolithic repo. Eventually along the way I started splitting things up onto NPM as when I went to work at other places sometimes I would only need a handful of modules and if a clients build system allowed for it I could just grab them quickly from npm and add them to the outputted css. I was separately maintaining publishing the mono repo and the modules though.

When @johnotander and I started working on v4 one of the things we talked about was having a single source of truth and making it easier to keep everything in sync. So we would install through npm and then copy files over to source. This then caused a new problem, each module needed to be fully encapsulated - so when we would copy them from node_modules to src - we left in a lot of duplicated variables and custom media props. As Tachyons is all about immutability - this seems not the best :)

In practice this caused us to have a bug where the custom media props in our npm modules were being overridden somewhere and this was largely invisible to everyone.

So in the interest of simplicity, we've removed all the tachyons modules as dependencies and have removed the function of copying over the modules from the node_modules directory. Instead we'll just maintain this as an encapsulated project. I think it's more simple this way and I don't think the added complexity was worth keeping the npm copy function around for this version of the project.

###### TL;DR THE BIG CHANGES

* We've removed all the duplicate variable and custom-media-prop declarations.
* We removed tachyons modules as dev dependencies

Note: Nothing has changed in the outputted css besides some comments. As no new features were added, this is really just a patch to fix a bug.

![](https://media.giphy.com/media/3o7TKzlmFU4mItMlyw/giphy.gif)

### 4.1.0

![giphy-43](https://cloud.githubusercontent.com/assets/1748143/17814037/d1cb5378-6625-11e6-951b-084fab3367d9.gif)


Since we launched v4 we've had a number of small bug fixes and a few slight additions to some modules.
Largely things are still the same but there are a couple of new things to play with.

* The flex box module now supports ```display: inline-flex``` and ```flex-direction: row```
* Hovers now includes a shadow on hover
* Hover module now duplicates all hover styles for focus as well #a11y
* There was a file in src called _gradients.css that should not have been there so it was deleted. It wasn't compiled into the css so you shouldn't notice any changes.
* License has changed to ISC
* Removed duplicate flexbox dependency declaration in package.json
* Updated comments in flex box module because apparently I forgot to add notes on the media query extensions

More to come soon. We've started working on v5 which won't be too much of a big change. The breaking part is that we are changing media queries. Right now -ns covers both the -m and -l range. -m is a scoped media query that cuts off when large kicks in. We're going to change it so that there aren't any max-widths in the media queries at all and everything will be completely min-width based. It's the difference between:

v4
```
@custom-media --breakpoint-not-small screen and (min-width: 30em);
@custom-media --breakpoint-medium screen and (min-width: 30em) and (max-width: 60em);
@custom-media --breakpoint-large screen and (min-width: 60em);
```

v5
```
@custom-media --breakpoint-medium screen and (min-width: 30em);
@custom-media --breakpoint-large screen and (min-width: 60em);
```

We're also going to remove the copy from npm to src functionality in the mono repo. We'll still keep all the modules on npm individually, but we'll just manage this as it's own package. After some user testing / observation / feedback / and dogfooding - we're going to try and make this even more stripped back in simple in regards to the infrastructure. v5 won't likely include any fancy new features. Just some refined goodness as we continue to learn. We'll keep you updated.

Cheers,

@mrmrs & @johnotander

### 4.0.0

##### v4 is official

![giphy-24](https://cloud.githubusercontent.com/assets/1748143/16592467/b85d26fc-42d8-11e6-83fb-5b857c8cbed4.gif)

After a lot of fun chats and hard work with @johnotander - we're excited to pull tachyons out of beta and officially release v4.

A few notable changes:
- Reintroduces colors
- Flexbox support
- More typographic utilities
- Some changes to class names

### Pre 4.0.0

TODO
Loading