Skip to content

Info about upgrading from 0.x versions

Joacim Magnusson edited this page Mar 22, 2019 · 1 revision

While moving Vanilla to the public GitHub site, and releasing v1.0.0, we got rid of the separate package called @sebdesignlibrary/visual-identity. Everything from visual-identity was instead merged into the vanilla package itself. This means that all variables, mixins and functions that were previously prefixed with sebvi (for seb visual identity) now follow the vanilla naming convention instead, and are therefore prefixed with vanilla.

$sebvi-color-blue becomes $vanilla-color-blue, and so on.

So, in order to upgrade, it should in most cases suffice to run a project wide find and replace. Find: sebvi Replace: vanilla

Another thing that have changed is the package name. The old package was named @sebdesignlibrary/vanilla and the new one is named @sebgroup/vanilla. This means that all the import paths will need to be updated as well. Find and replace should work nicely in this case as well.

Clone this wiki locally