Version 1.0.0
This is a major milestone for Vanilla Framework as it represents an almost total rewrite of the framework from the ground up.
The overarching themes for this release are maturity and stability — ensuring the framework is a cohesive set of building blocks and also making sure those building blocks are stress tested and robust.
This release is a major breaking change so you will need to update your site markup to utilise the changes listed.
Some highlights of this refactor - Vanilla framework is now;
- written using the BEM convention in the ITCSS structure
- fully documented with code and inline examples
- linted using
sass-lintremoving the previously Ruby dependancy forscss-lint - sizing is set in
remrather than pixels - using a consistent typographic scale
- using Docker to manage
npmdependancies - optimised for theme extension by significantly reducing specificity
- using only 16 unique colours, down from 25
- relying on zero ID selectors for styling.
- The minified version of the whole framework only increased in file size by 1kb (now 12.1Kb gzipped), despite using the more verbose BEM coding convention and increasing number of patterns and utils.
Removed variables
$mobile-nav$nav-active-bg$bullet-color$primary-button-color$box-border$table-th$code-bg$box-shadow$box-solid-grey$row-background$header-link-color$text-color$alto-grey$brand-color-light$link-color
Changed variables
Colors
$transparentis now$color-transparent$brand-coloris now$color-brand$whiteis now$color-x-light$light-greyis now$color-light$warm-greyis now$color-mid-light$cool-greyis now$color-mid-dark$mid-greyis now$color-dark$blackis now$color-x-dark$erroris now$color-negative$warningis now$color-warning$successis now$color-positive$informationis now$color-information
Layout
$gutter-widthis now$grid-gutter-width$columnsis now$grid-columns$site-max-widthis now$grid-max-width$navigation-thresholdis now$breakpoint-small
Typography
$base-font-familyis now$font-base-family$base-font-sizeis now$font-base-size$font-heading-familyis nowfont-heading-family
Misc
$asset-serveris now$assets-path
Removed classnames
.touch-border.pull-left.pull-right.pull-bottom-right.pull-bottom-left.priority-0.not-for-small.for-tablet.for-medium.for-mobile.for-small.off-left.no-border.row-quote.smaller.header-search.search-form.med-six-col.caps.row--light.row--dark.row-grey.row--grey.row-hero.strip-inner-wrapper
Changed classnames
These classnames have been renamed so they adhere to the new naming conventions or to improve their naming for clarity and transparency.
You will need to amend your site markup in order to use this release of Vanilla framework.
Patterns & Utils
.grid-listis now.p-matrix.externalis now.p-link--external.link-topis now.p-link--top.leftis now.u-float--left.rightis now.u-link--right.accessibility-aidis now.u-off-screen.no-margin-bottomis now.u-no-margin--bottom.no-padding-bottomis now.u-no-padding--bottom.align-centeris now.u-text-center.video-containeris now.media-container.boxis now.p-card.inline-logosis now.p-inline-images.p-headeris nowp-navigation