Jump to content

How to Materializing the Ext JS Modern Toolkit


ldb68

Recommended Posts

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
  • Like 1
Link to comment
Share on other sites

  • 4 years later...
Em 22/04/2018 às 13h55, ldb68 disse:
A cor do tema moderno pode ser trocada com tag global.
Como posso colocar isso em unigui?
 
Aqui instrução
 
 
Moda. Css. setVariáveis ({
"base-color-name": "azul",
"nome da cor do sotaque": "laranja"

});
 
onde colocar esta ???
 
 
Basta alterar seu nome de $base cores e a Moda lidará com recálculos e definirá as variáveis CSS adequadas
 
Na hora do execução, podemos definir o modo escuro através do modo escuro variável CSS ..
 
PS: 
Em arquivo
 /m/ext-6.5.3/build/modern/theme-material/resources/theme-material-all_2.css
 
Encontrei o modo raiz{--escuro:true;--base-cor:
 
mas mudar a cor da base aqui não tem efeito

Hello, you can change the color based on the css variables. example: --dark-mode = true

Link to comment
Share on other sites

×
×
  • Create New...