# Stay up to date with the new releases

In this section we will add notes and info's about new changes and releases.

# Migration to v0.7.0

v0.7.0 has been released! 🎉

# Why you should migrate?

Q1 2020 Withing first Q1 we came through a lot of changes:

What is new?

👉 each component went through deep refactor, we have used css variables and we adjusted each component to new design system

👉 updated global variables Global Variables.

👉 refreshed example pages

👉 we have covered some fixes regarding Safari support

👉 added improvements to v-focus directive

👉 storybook stories updated!

👉 first-open in SfAccordion is deprecated in favor of open

ℹī¸ for more details see our CHANGELOG.md

# Dependencies update

As always what is first, update your package.json by changing your current version:

"dependencies: {
    "@storefront-ui/vue": "^0.7.0"
}

# Global variables

We have changed global variables and naming conventions for them to be more consistent.

See what's new in our comparison below:

  • # Typography

Font family

Before v0.0.7.
--body-font-family-primary: "Roboto", serif --font-family-primary: "Roboto", serif
--body-font-family-secondary: "Raleway", sans-serif --font-family-secondary: "Raleway", sans-serif

Font sizes

Before v0.6.4 v0.7.0
$font-size-extra-small-mobile: 0.625rem undefined --font-2xs: 0.625rem
$font-size-extra-small-desktop: 0.75rem
$font-size-small-mobile: 0.75rem
--font-size-extra-small: 0.75rem --font-xs: 0.75rem
$font-size-small-desktop: 0.875rem
$font-size-regular-mobile: 0.875rem
--font-size-small: 0.875rem --font-sm: 0.875rem
$font-size-regular-desktop: 1rem
$font-size-big-mobile: 1rem
--font-size-regular: 1rem --font-base: 1rem
$font-size-big-desktop: 1.125rem
$font-size-extra-big-mobile: 1.125rem
--font-size-big: 1.125rem --font-lg: 1.125rem
$font-size-extra-big-desktop: 1.5rem --font-size-extra-big: 1.5rem --font-xl: 1.5rem

Font weights

Before v0.6.4 v0.7.0
--body-font-weight-primary: 300 --font-weight-light: 300 --font-light: 300
--body-font-weight-secondary: 400 --font-weight-regular: 400 --font-normal: 400
undefined --font-weight-bold: 500 --font-medium: 500
undefined --font-weight-extra-bold: 600 --font-semibold: 600
undefined undefined --font-bold: 700
undefined undefined --font-extra-bold: 800
undefined undefined --font-black: 900
  • # Layout

Spacers

Before v0.6.4 v0.7.0
$spacer-small --spacer-small: 0.25rem --spacer-2xs: 0.25rem
$spacer --spacer: 0.5rem --spacer-xs: 0.5rem
$spacer-medium --spacer-medium: 1rem --spacer-sm: 1rem
$spacer-big --spacer-big: 1.25rem undefined
undefined undefined --spacer-base: 1.5rem
undefined undefined --spacer-lg: 2rem
$spacer-extra-big --spacer-extra-big: 2.5rem --spacer-xl: 2.5rem
undefined undefined --spacer-2xl: 5rem
undefined undefined --spacer-3xl: 10rem
  • Colors

Color variants

Before v0.7.0
undefined --_c-gray-accent: #e0e0e1
--_c-light-secondary: #f6f7f8 --_c-light-secondary: #ffffff
--_c-red-primary: #e22225 --_c-red-primary: #d12727
--_c-red-secondary: #fff6f5 --_c-red-secondary: #fcede8
--_c-yellow-primary: #ffdf3d --_c-yellow-primary: #ecc713
--_c-yellow-secondary: #fffceb --_c-yellow-secondary: #f6e389
--_c-blue-primary: #6699cc --_c-blue-primary: #67c6fa

Body and text default colors

Before v0.7.0
undefined --c-text-disabled: var(--_c-gray-accent)

# Release notes