almulder Posted August 7, 2020 Share Posted August 7, 2020 (edited) Update: See Post below for Script Link to jump to post: OLD: First let me say I know very little in the programming world, but interested in trying to create a plugin for themes, Yes I know there is something already (Theme Engine), but its very lacking and not as user friendly as it could be. I got board and have been digging through files and looking at what I can change to really theme Unraid. Like a true theme interface where you can have much more control on what is changed (For advanced users) and a Simplifed version for people who just want an easy what to change the color from the reddish orange to something else with just a few options filled in. I have a script I created that will do a simple replacement of most of the colors to something else, but I want to give people an interface to be able to do this and finer control over it for the ones who really want to mess with it. I need to know where to start. The current way I am applying my theme (And I am sure there is a better safer way) is copying the original file to a safe location and then modifying the original file with the changes using sed find replace feature. , then when they opt to change something the original backed up files are restored so they can try again, or simple they want the original color back. If someone can give me an idea of where to start. I know I will have lots more questions as time goes on, but I really want this to come about. I already have others testing my script at their own risk, and they love what I have done. Please help me. And thanks for taking the time to teach me. (And yes I will always try to google first). I can see getting really creative on what can be changed. And what people will create once they get the tools. - Albert Edited October 2, 2022 by almulder Quote Link to comment
almulder Posted August 13, 2020 Author Share Posted August 13, 2020 (edited) Is anyone willing to collaborate to make a better theme programs so we can make better themes and more control over them? My current method involves running a script in user scripts, and thats fine for me but for others its a pain, I know there is a better way buy I don't understand how. I need some who knows how to program and willing to help. My current method make a copy of the files and replaces strings withing the original files for the new colors, then when they want to change color they rerun the script and it replace the modified files with the original ones so they can edit them again. I here there is a way to do this with custom css files, but no clue how to do that. Any help is appreciated. It seems like many people would like the ability to modify many other aspects. Currently I am only focused on using the black theme, but will want to be able to edit them all. Below are some screenshots of the blue theme I made, (Script has you enter in 3 colors and it does the rest) This is what I want to create an interface for and use css instead of replacing the actual files. But no clue. Edited December 23, 2020 by almulder 1 Quote Link to comment
Energen Posted August 13, 2020 Share Posted August 13, 2020 That looks pretty good.. you should upload your script for us! I can't help ya on this because I don't know how to implement the themes, but you might be able to gain some insight by dissecting the current theme plugin and see how it applies stuff on a permanent basis. You can download the plugin file and extract it like a zip file to see how it's put together. 1 Quote Link to comment
almulder Posted December 23, 2020 Author Share Posted December 23, 2020 (edited) Theme_Coloring_Script_V8.txtIf anyone can make an interface for this or does improvements can you tag me, would love to see what becomes of this. DESIGNED FOR BLACK THEME ONLY Instructions: To use this, be sure to install "user scripts plugin" then go to user scripts from the settings tab. then select "Add New Script" Give it a name "Theme Coloring Script" and press ok. Now locate the new script and press the gear icon and click "Edit Script" Then open the text file below, copy everything and paste it into the script and save changes. Then you can manually run the script. Default is blue, but you can go back in and edit the script and select new colors (Top section of script, you will see the options). Note: After a reboot the theme will need to be applied again, as the changes are not save except in ram. To auto mate this, to the right of the run script button there is a drop down, click that and select "At Startup of Array" this will make the script auto run at the start of the array so you don't need to manually run it each boot. Theme_Coloring_Script_V8.txt 2022 1002 - Version 8 Updated for wording when doing parity check. (Dashboard & Footer) Updated for Community Apps wording to get rid of the orange. Added link in script to bring you to support page here. 2022 1001 - Version 7 Fixed issue with 6.10+ Where login screen was no longer themed. 2021 1119 - Version 6 Updated to fix issue docker logs being displayed white on white, now black background with white text. 2021 0125 - Version 5 Updated to fix Community Apps Plugin with not showing detailed description of apps correctly. Edited October 2, 2022 by almulder Version 8 Quote Link to comment
DevXen Posted October 12, 2021 Share Posted October 12, 2021 Hello, So I've been using this script for line a year or longer. It's awesome. But whenever I check logs of anything. The text is gray but the background is white making it impossible to read without highlighting/selecting the text. I've noticed it on all containers. But i was thinking maybe sooner of my containers just don't have any theming on it. But then it's weird the text is light gray. Anyways. It's I get to add that each container I use to make the background black is there an easy way to do that? Thanks, -Dev Quote Link to comment
almulder Posted October 1, 2022 Author Share Posted October 1, 2022 On 10/11/2021 at 7:32 PM, DevXen said: Hello, So I've been using this script for line a year or longer. It's awesome. But whenever I check logs of anything. The text is gray but the background is white making it impossible to read without highlighting/selecting the text. I've noticed it on all containers. But i was thinking maybe sooner of my containers just don't have any theming on it. But then it's weird the text is light gray. Anyways. It's I get to add that each container I use to make the background black is there an easy way to do that? Thanks, -Dev So sorry, I just see your post. Whenever I check my logs the background is black with white text. Mind showing me where your having the issue, and what theme do you have set in Settings/Display Settings/Dynamix color theme Should be set to black Quote Link to comment
almulder Posted October 1, 2022 Author Share Posted October 1, 2022 Version 7 Posted Quote Link to comment
DevXen Posted October 1, 2022 Share Posted October 1, 2022 10 minutes ago, almulder said: So sorry, I just see your post. Whenever I check my logs the background is black with white text. Mind showing me where your having the issue, and what theme do you have set in Settings/Display Settings/Dynamix color theme Should be set to black Hahaha this was fixed long ago. We talked about it in the unRAID group. It was just never replied to on here. I'm Clint W. On fb.. 1 Quote Link to comment
*LoneWolf* Posted October 1, 2022 Share Posted October 1, 2022 Yep same for me, when installing an app screenshots attatched Quote Link to comment
almulder Posted October 2, 2022 Author Share Posted October 2, 2022 4 hours ago, *LoneWolf* said: Yep same for me, when installing an app I will look into it. Quote Link to comment
almulder Posted October 2, 2022 Author Share Posted October 2, 2022 4 hours ago, *LoneWolf* said: Yep same for me, when installing an app So I just installed the same app and no issues. Are you using v7? And what theme are you using? (What version of unraid?) Quote Link to comment
*LoneWolf* Posted October 2, 2022 Share Posted October 2, 2022 6 hours ago, almulder said: So I just installed the same app and no issues. Are you using v7? And what theme are you using? (What version of unraid?) Thanks must of missed DESIGNED FOR BLACK THEME ONLY, working great now 1 Quote Link to comment
nhatlinh Posted September 4 Share Posted September 4 I just ran this on 7 beta 2 with green colors. Looks great and work greate. Many thanks for your hard work on this script. This is great Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.