Axis Versions Save

terse, modular & powerful css library

v0.4.0

8 years ago

This release adds the following functionality:

  • vertically-align(false)
  • debug() - 2.0 new functionality
  • radio()
  • range()
  • border-box-html()
  • fluid-media()
  • ratio-box()
  • print-styles()

v0.3.2

9 years ago

Add swift easings

v0.3.1

9 years ago
  • Allow additional arguments for opacity mixin

v0.3.0

9 years ago

This is a huge and very breaking release. If you have a lot of code that's dependent on axis, make sure to lock to the previous version until you are ready to migrate. We also have a super fantastic new documentation website, which will make it much easier to use axis than reading the source, which was the only way to handle it before.

http://axis.bitballoon.com

Breaking

  • The $ has been removed from all mixins that match html element names. This is no longer a stylus limitation, and was always an ugly fix, so we're glad to be rid of this.
  • The normalize-css mixin now uses the most recent version of normalize.css. This also means it does not work in IE6 or 7, which is probably ok. If not, you'll have to roll your own normalize and also convince your clients not to want support for this awful old browsers.
  • All function params are camelCase for consistency. Most of them are not even two words so it's not very noticeable, but if you are using kwargs, this could break some mixins that previously had hyphenated param names.
  • Any string you pass into a mixin other than 'left' or 'right' should be quoted. This helps to ensure consistency against stylus' ambiguous syntax. All cases that break here are detailed in the documentation, but for quick access, this breaks: label, hover-underline, link, ul, ol, flash, columns, triangle, sprite, and font-face.

Patches

  • Force no border for simple button mixin
  • Font size only applied to body, not html, so now font-size is accurate
  • Coerce 'px' to string, so not so many issues if you stupidly make a 'px' mixin
  • Internal documentation significantly improved, much more consistent and accurate
  • Remove any last traces of vendor prefixes. Use autoprefixer for this.
  • Fix a bug that was causing field-error/warning/success to render colors incorrectly
  • SVG id in font face is now correctly mirroring the font name

v0.2.2

9 years ago

Some small veritcal rhythm and font size fixes

v0.2.0

10 years ago

Very big and massively breaking release. If you are using any of the previous stable versions in a project, do not upgrade and expect everything to work as before. What's changed:

  • Axis is now built directly on top of nib
  • Any mixins named the same as html elements are prefixed with a $
  • simple-button and button have been merged
  • brand new beautiful set of default colors
  • new vertically-align mixin
  • new image cacheing utility
  • Tests for all mixins (whoo!)
  • Bugs and inconsistencies fixed in a huge number of mixins

The documentation on roots.cx is now out of date, unfortunately. Although no functionality has been cut, some mixin names and parameters have changed. We are working on a new set of documentation that should be out in the next couple months, in the meantime, the source is very thoroughly annotated and documented, and organized exactly as the docs site is currently. I know the source is no substitute for docs, we're working on this though, promise :grinning:

0.2.0-rc.2

10 years ago
  • New set of default colors
  • rounded mixin fixed
  • A number of fixes for the form mixins

0.2.0-rc.1

10 years ago

Massive restructuring of the library, huge number of breaking changes. A lot of improvements including a complete test suite, which will really help into the future. While I haven't had time to update the on-site documentation, all internal files are split logically and each mixin is thoroughly documented with examples and explanation in the comments. So for now, the source is the docs.

Major Changes

  • Depends on nib - this means all nib functionality is automatically present in axis
  • Any elements named the same as html tags prefixed with a $
  • All vendor prefixing removed (except for what nib does), use autoprefixer-stylus for this.
  • Gradient functions greatly simplified - will now accept either one or two colors, so simple*-gradient is gone.
  • Grid removed. Use jeet for this.

Look out for a major release over the next few months - for now feel free to use this version, it should be stable enough. If not file an issue and I'll get a quick fix and release in.