bigbite / themer

GNU General Public License v2.0
2 stars 0 forks source link

[93] Ensure undefined or invalid colours fall back to an empty string #100

Closed g-elwell closed 3 months ago

g-elwell commented 3 months ago

Description

This change fixes #93 by preventing undefined being set as the colour value when the "Clear" button is pressed in the UI.

It also allows for overwriting of inherited/existing colour values within theme.json, as it forcibly sets the value to an empty string when cleared. In order to get the original value back, you can choose the 'clear all customisations' option from the more menu.

Steps to test

Screenshots/Videos

https://github.com/user-attachments/assets/a0454e1e-ea90-4533-a270-b51a1e738fb4

Checklist: