| Post Reply | RetroFed Forum Forum Index » Sublinks |
| Author | Message | ||
|---|---|---|---|
Ategon
programming.dev
Ategon@programming.devJoined: 2023-06-08 |
Been working recently on a theme library for sublinks that will let themes be written in json files and then be read in and swapped between easily. (Ideally would allow people to make a theme at runtime using UI on instances that then generates a json file or zip file) Attached is an example theme with some basic colors added in. The assets would be taken to populate theme lists when looking at your themes and variants are variations of a theme (that share everything defined in config but also have their own versions of certain aspects) Below is some of the variants of the theme (accent color is different between the variants)
This theme is currently on a repo https://github.com/sublinks/starlight but note images will not work yet as previews arent set up How color parsing worksIf just a color is entered for a variable (e.g. Mentions can be entered to do the same color as another variable. (e.g. @accent gets the accent color. Operations can be entered to an operation on the previous value. Putting values fter the operation is like passing arguments to it (not all operations need arguments, some are optional and some have multiple arguments). (e.g. > is used to separate parts of a string that the parser needs to identify To handle operations, first the string has all of the infix operators replaced with postfix operators. So |
||
| 1 Original | |||
| Post Reply |
Back to top |