/dashboard-ui-style

UI SCSS styles

Primary LanguageCSSMIT LicenseMIT

dashboard-ui-style

This repository contains SCSS files used by private dashboard project.

Folders and files

The project is divided into two sections: global files and ui elements files. Global files are in the main style folder, while ui specific files are under styles/ui folder and collected by style/ui.scss file.

In your project, import the following:

@import '@vzamboni/dashboard-ui-style/style/ui';

If you are using a local version of the repository and yarn link facility, use:

@import '~@vzamboni/dashboard-ui-style/style/ui';

Compiling

In case you don't have access to scss executables, you might want to compile the scss files and use plain css.

Install sass frmo the main directory of this repository:

yarn install

Run the build:

./node_modules/.bin/sass style/_ui.scss dist/ui.css
./node_modules/.bin/sass style/_ui.scss dist/ui.min.css --style=compressed

Or with the shortcut (same code):

./generate_dist.bash