v0.3.0
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.
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-cssmixin 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, andfont-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