Tokay Posted August 16, 2017 Posted August 16, 2017 Hi all! I see that some guys creates different thems for UniGui. We really need a dark theme like mountineview on desctop. Is there any way to do this? Thank you. Quote
delagoutte Posted August 17, 2017 Posted August 17, 2017 I don't know if it is the best practise. I do like this and i work with a copy of classic theme(blue) in directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\Css\ i copy uni-xtheme-uni_classic.css and rename to uni-xtheme-uni_MyTheme.css in directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources\Css create file ext-all-uni_MyTheme.css inside : @import '../ext-theme-uni_MyTheme/ext-theme-uni_MyTheme-all.css'; in directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources\Css create file ext-all-uni_MyTheme-rtl.css inside : @import '../ext-theme-uni_MyTheme/ext-theme-uni_MyTheme-all-rtl.css'; in directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources create a directory ext-theme-uni_MyTheme copy all file that are in directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources\ext-theme-uni_classic to directory C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources\ext-theme-uni_MyTheme In this directory rename file ext-theme-uni_classic-all.css to ext-theme-uni_MyTheme-all.css rename file ext-theme-uni_classic-all-rtl.css to ext-theme-uni_MyTheme-all-rtl.css After all this change there is new theme in delphi : uni_MyTheme you could do you modification in css file that are in C:\Program Files (x86)\FMSoft\Framework\uniGUI\unipackages\themes\resources\ext-theme-uni_MyTheme and change image if needed. 3 1 Quote
Tokay Posted August 24, 2017 Author Posted August 24, 2017 Thank you very much for answering! Is it some suggestions or instruments for css modification? Quote
gerardocrisci Posted September 1, 2018 Posted September 1, 2018 if I use an installed theme normally, example uni_classic, I have an url /unipackages-1.15/themes/css/uni-xtheme-uni_classic.css which contains the version of the UniPackages (1.15) ..... I created a theme and created the folders in the main path of the site so I set up UniServerModule.UniPackagesRoot = 'files\\' UniGUIMainModule.Theme = 'uni_mytheme' everything works well and I have a url like that /unipackages/themes/css/uni-xtheme-uni_mytheme.css but I always have a start url /unipackages/ I would like to change this fixed part today I would like to add my own version (to update the files) and have a url: /unipackages-v2/themes/css/uni-xtheme-uni_mytheme.css how can I do ? thank you Quote
gerardocrisci Posted September 1, 2018 Posted September 1, 2018 if I use an installed theme normally, example uni_classic, I have an url /unipackages-1.15/themes/css/uni-xtheme-uni_classic.css which contains the version of the UniPackages (1.15) ..... I created a theme and created the folders in the main path of the site so I set up UniServerModule.UniPackagesRoot = 'files\\' UniGUIMainModule.Theme = 'uni_mytheme' everything works well and I have a url like that /unipackages/themes/css/uni-xtheme-uni_mytheme.css but I always have a start url /unipackages/ I would like to change this fixed part today I would like to add my own version (to update the files) and have a url: /unipackages-v2/themes/css/uni-xtheme-uni_mytheme.css how can I do ? thank you Quote
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.