Jump to content

Recommended Posts

Posted

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.

Posted

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.

  • Like 3
  • Upvote 1
  • 1 year later...
Posted

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
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...