New versions of vf-card, vf-hero and minor updates and bug fixes
27 Nov 2020
This release of the prebuilt CSS and JS includes two major new versions of the vf-hero and vf-card components along with other optimisations and bug fixes. Read on for details.
As a reminder, the rollup CSS and JS are compilations of many independently versioned components and is likely to contain changes that may disrupt the look of your site. We advise testing. Even better is to build your own CSS rollup from the npm sources, you can find a guide here.
We're now using the default Fractal theme for development.
When developing directly in ./tools/vf-core running gulp vf-dev will start the Fractal component library interface. Previously this was also the public-facing website for the Visual Framework, however we now use this 11ty-based website.
So the vf-frctl-theme had become an ongoing technical debt without much upside. It has now been deprecated and running gulp vf-dev will use Fractal's default Mandlebrot theme.
I've added this terse naming of the function for set-color and set-ui-color to be something like color(green) instead of set-color(vf-color--green). The old way still works
fixes import order of vf-global-custom-properties.scss