Skip to content

Styles ‐ Lumi

Fame edited this page Jan 27, 2024 · 4 revisions

Styles - introduction

GLC uses it own style language, baseated in CSS with a JSON syntax, to allow the user to create they own styles.
The style system allows you to customise your launcher anyway you want, wwith no wrong way.
*instantly sees you doing it the wrong way and cringes*


About style files:

  • Style files have to be writed in JSON files;
  • It syntax is similar to CSS, but baseated on "Elements incapsulation".

How to create and setup style files:

We recomend you to put your style folders inside src/assets/styles. In the same file you can find some style templates to edit.

- Inside the selected folder, create a *.json file with the name of your choose.
- Inside glc.config.json, list each style file in a style{} section.
- Write the style how you whant.
- Load or reload the launcher page to see your changes.

see Styles syntax - syntax to syntax reference.

Clone this wiki locally