From e7afa126324fd469cfd24ca4523521c3976a3573 Mon Sep 17 00:00:00 2001 From: StickminBruv <147885873+StickminBruv@users.noreply.github.com> Date: Wed, 24 Jul 2024 04:58:59 -0400 Subject: [PATCH] docs: update example code (#5633) Added the part at the end about adding the thing to _list.json. Pretty much made it, so people will know what to actually add when you do themes. I don't know if this change will matter. --- THEMES.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/THEMES.md b/THEMES.md index f7f1757e5..efea5d79f 100644 --- a/THEMES.md +++ b/THEMES.md @@ -39,11 +39,13 @@ Here is an image showing what all the properties correspond to: Change the corresponding hex codes to create your theme. Then, go to `./frontend/static/themes/_list.json` and add the following code to the very end of the file (inside the square brackets): ``` -,{ + { "name": "theme_name", "bgColor": "#ffffff", - "mainColor": "#ffffff" -} + "mainColor": "#ffffff", + "subColor": "#ffffff", + "textColor": "#ffffff" + }, ``` Make sure the name you put matches the name of the file you created (without the `.css` file extension). Add the text color and background color of your theme to their respective fields.