Sass Utilities component
deprecated. Please use the vf-utility-classes component.
This component has beenThe utility classes here have been moved to the vf-utility-classes
component.
This is a (growing) collection of utility-case Sass.
Note that this differs from vf-utility-classes
as these are not isolated settings (top margin, hide from display, green colour) but rather express a useful behaviour, such as showing some content exclusively for screen readers.
Install
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install vf-sass-utilities
with this command.
$ yarn add --dev @visual-framework/vf-sass-utilities
Usage
The source files included are written in [Sass][sass] (scss
) You can simply point your sass include-path
at your node_modules
directory and import it like this.
@import "@visual-framework/vf-sass-utilities/index.scss";
Make sure you import Sass requirements along with the modules.