Label colour

I'd like to be able to change the colour of the names(labels) for the various panes, eg. Compass, Inventory, Places and Objects., without changing the main game theme. Basically because I like the classic look.


Hello!

JS.setCss ("#inventoryLabel", "color:red")
JS.setCss ("#placesObjectsLabel", "color:purple")
JS.setCss ("#compassLabel", "color:green")

image

https://github.com/ThePix/quest/wiki/UI-Part-02:-HTML-elements-and-CSS-attributes


Thanks KV. I knew it would be something simple. I thought I'd checked all the documentation. I must've missed this.


You're welcome!

...and you didn't miss it in the docs.

It's on Pixie's GitHub wiki (along with a LOT of other cool stuff):

https://github.com/ThePix/quest/wiki

The files:

https://github.com/ThePix/quest


EDIT:

I'm especially fond of YAML to Quest (using Ruby).


Thanks again KV


Log in to post a reply.

Support

Forums