Jump to content


Photo

How to Materializing the Ext JS Modern Toolkit

Materializing the Ext JS Mode

  • Please log in to reply
No replies to this topic

#1 ldb68

ldb68

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 181 posts

Posted 22 April 2018 - 04:55 PM

Color of modern theme can be symple changed with global tag.
How I can set this in unigui?
 
Here instruction
 
 
Fashion.css.setVariables({
"base-color-name": "blue",
"accent-color-name": "orange"
});
 
where put this ???
 
 
Simply change your $base-color-name and Fashion will handle recalculations and set the proper CSS variables
 
At runtime we can set dark-mode via CSS variable dark-mode ..
 
PS: 
In file 
 /m/ext-6.5.3/build/modern/theme-material/resources/theme-material-all_2.css
 
I found  root{--dark-mode:true;--base-color:
 
but change base-color here has not effect

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users