JDownloader Community - Appwork GmbH
 

Go Back   JDownloader Community - Appwork GmbH > International Support > JDownloader 2
Reply
 
Thread Tools Display Modes
  #1  
Old 21.05.2016, 12:50
noone1
Guest
 
Posts: n/a
Default config file for GUI colors scheme

Hi there!

Is there an equivalent of \cfg\laf\JDDefaultLookAndFeel.json for custom colors?

if yes, can sommeone upload one for a modified 'black eye' theme? (especially with dark backgrounds)

if no, will JD team make it easier to import/export this simple kind of file?

(triying to change advanced settings\*laf* value with the palette and based on some blur screenshot here on the forum, it's really a pain in the ass)

thx

Last edited by noone1; 21.05.2016 at 12:57.
Reply With Quote
  #2  
Old 23.05.2016, 11:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,563
Default


__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 23.05.2016, 11:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,563
Default

Check org.jdownloader.settings.LAFSettings.json
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 28.05.2016, 11:26
noone1
Guest
 
Posts: n/a
Default

ok thank you, I made some tries but I didn't find how to use it:

I used the structure of \cfg\laf\JDDefaultLookAndFeel.json and based on this post : Font Color (and also Jdownloader2 has skins or themes?), I made the following .json file :

Spoiler:
Code:
{
  "colorforconfigheadertextcolor" : "FF202020",
  "colorforconfigpaneldescriptiontext" : "FF808080",
  "colorforerrorforeground" : "FFFF0000",
  "colorforlinkgrabberdupehighlighter" : "33FF0000",
  "colorforpanelbackground" : "ff282828",
  "colorforpanelheaderline" : "ffC0C0C0",
  "colorforpanelheaderbackground" : "ff3c3c3c",
  "colorforpanelheaderforeground" : "FF000000",
  "colorforprogressbarforeground1" : "5F70CCFF",
  "colorforprogressbarforeground2" : "5F80C7F7",
  "colorforprogressbarforeground3" : "8078C0EF",
  "colorforprogressbarforeground4" : "5F80C7F7",
  "colorforprogressbarforeground5" : "5F70CCFF",
  "colorforscrollbarsmouseoverstate" : "ff282828",
  "colorforscrollbarsnormalstate" : "ff3c3c3c",
  "colorforspeedmeteraverage" : "FF359E35",
  "colorforspeedmeteraveragetext" : "FF222222",
  "colorforspeedmetertext" : "FF222222",
  "colorforspeedmetercurrentbottom" : "CC3DC83D",
  "colorforspeedmetercurrenttop" : "2051F251",
  "colorforspeedmeterlimiterbottom" : "00282828",
  "colorforspeedmeterlimitertop" : "ccFF0000",
  "colorfortableaccounterrorrowbackground" : "7FFF0000",
  "colorfortableaccounterrorrowforeground" : "FF000000"
  "colorfortableaccounttemperrorrowbackground" : "7FFFC800",
  "colorfortableaccounttemperrorrowforeground" : "FF000000",
  "colorfortablealternaterowbackground" : "06000000",
  "colorfortablefilteredview" : "FF00FF00",
  "colorfortablemouseoverrowbackground" : "ffffffff",
  "colorfortablemouseoverrowforeground" : "ff707070",
  "colorfortablepackagerowbackground" : "FF3c3c3c",
  "colorfortablepackagerowforeground" : "ff282828",
  "colorfortableselectedrowsbackground" : "ff3c3c3c",
  "colorfortableselectedrowsforeground" : "ff282828",
  "colorfortablesortedcolumnview" : "ffFFC800",
  "colorfortooltipforeground" : "ff282828",
  "colorfortooltipbackground" : "ff3B3B3B", 
  "configlabeldisabledtextcolor" : "FFA0A0A0",
  "configlabelenabledtextcolor" : "FF202020",
  "paintstatusbartopborder" : false,
  "menubackgroundpainterclass" : "de.javasoft.plaf.synthetica.simple2D.MenuPainter",
}


note :
- parameters are ordered as they appear in JD2 advanced settings\'laf', sorted by ascending key names
- some param are visible in JD2 but not in the json and vice versa, so I keeped the default value (then I don't really know how it will look like!)

and I tried this:
- created org.jdownloader.settings.LAFSettings.json in \cfg, restart
|=> nothing happened
- created mytheme.json in \cfg\laf , then looked in adv.sett. 'graphical user interface:LaF theme' menu
|=> do not appear in the theme list
- overwrite SyntheticaBlackMoonLookAndFeel.json or JDDefaultLookAndFeel.json in \cfg\laf, change in adv. sett. and reload
|=> only changes are as in the original files, nothing else, what ever the json file is. (Which I don't understand because if I change just a color in JD2, it is written in jddefault file and then loaded on restart but if I add or change something else in the file, it's not taken into account)

so, can I put these values somewhere so that they are taken into account or do I still have to type them one by one (at least, it will be easier since they are ordered..)

:popcorn:
Reply With Quote
  #5  
Old 29.05.2016, 10:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,563
Default

You need to close JD before changing any files JDownloader might overwrite changes on close.

cfg/laf folder is for themes. You cannot use own names, those names must be existing theme names.

config files are json, you don't have to order/sort them! Don't waste time on this

Close JDownloader and changing LAFSettings.json should work fine
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 15:18.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.