The new version of hshassets work slightly different to former version.
The new version of hshassets work slightly different to former version.
It desolve the dependences to hshassets by generate a css file to the project which includes all information formerly stayed in hshassets.
It desolve the dependences to hshassets by generate a css file to the project which includes all information formerly stayed in hshassets. I assume two possible kinds of application. Either you want to base your styles on hshassets without any changes or you want to use hshassets as base style but you have to add your own styles.
### You want to base your style on hshassets without any changes?
### You want to base your style on hshassets without any changes?
If you want to base your style on hshassets without any changes you can do this even if no asset directory exists your project. Just use the management command `buildassets`. In this case the stylesheets will be created on base of scss files saved in hshassets. The compiled css files will be saved in the project.
If you want to base your style on hshassets without any changes you can do so even if no asset directory exists in your project. Just use the management command `buildassets`.
In this case the stylesheets will be created on base of scss files saved in hshassets. By default the color scheme of hshassets is based on "service". The compiled css files will be saved in the project. That's it!
### You need your own style based on hshassets?
An easy way to work on scss files for hshassets is to copy them by the management command 'initassets' your styles is to i
### How to set color scheme for your project?
### How to set color scheme for your project?
The default color style of hshassets is `service` which we will use mostly I guess.
The default color style of hshassets is `service` which we will use mostly I guess.
If you want to change the color scheme you have to import one of the following styles by adding these snippet to your _init.scss.
If you want to change the color scheme you have to import one of the following styles by adding these snippet to your _init.scss.
> @import 'cd/f1.scss';
> @import 'cd/f1';
> @import 'cd/f2.scss';
> @import 'cd/f2';
> @import 'cd/f3.scss';
> @import 'cd/f3';
> @import 'cd/f4.scss';
> @import 'cd/f4';
> @import 'cd/f5.scss';
> @import 'cd/f5';
> @import 'cd/service.scss';
> @import 'cd/service';
> @import 'cd/zsw.scss';
> @import 'cd/zsw';
After that line you have to import bulma files. You do that by adding the line `@import '_hshassets_style.scss';`. If you do not so the base style of hshassets will still be used.
After that line you have to import bulma files. You do that by adding the line `@import '_hshassets_style.scss';`. If you do not so the base style of hshassets will still be used.