mouse0270 / lib-themer

A library used to create css variables for use in themes
MIT License
3 stars 2 forks source link

libThemer

libThemer is mostly a library module designed to allow developers to define css variables and optional stylesheets for users to customize the look and feel of foundry, game systems or modules.

PLEASE NOTE This is a library module and isn't intended to do much on its own. Its designed to give developers an easy system to define and edit css varibles and optional stylesheets. With that said, I understand no one would really want a module that doesn't do much, so I have added the ability to modify all of foundry's default CSS variables and created my own examples for how you could implement libThemer into your project.

image

Features

Define css variables with the following types:

Google Fonts

To help users expand on their UI design libThemer has added the ability to link to and use fonts from Google Fonts. The most common license is the SIL Open Font License. Some fonts are under the Apache license or Ubuntu Font License.

PLEASE NOTE: That by adding a font via this interface, Google will recieve access to your IP address. If you are uncomfortable with this, turn off this feature.

Using libThemer

Check out the wiki for all the Theme Type Options and how to Register a Theme