How to customize Nihilo.css?

53 Views Asked by At

One of the available themes in Dijit is Nihilo. I am using dijit/layout/.. for displaying some charts and graphs . I want to change some of the styles being used. Can any one tell me how to customize Nihilo.css and use the customized version?

2

There are 2 best solutions below

0
user2182349 On

Don't change nihilo.css, create another CSS file and put the link tag for the second file after the link tag for nihilo.css.

This way, if you upgrade Dojo, you will not have to merge your changes back in.

0
GibboK On

If you need to customize nihilo, I would suggest to have a look at this official guide Customizing a Theme.

Basically the idea is to build your theme, based on nihilo leaving the original nihilo untouched,.