OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to change classic app theme with page reload in ExtJS 7?

  • Thread starter Thread starter Sergey Bogdanov
  • Start date Start date
S

Sergey Bogdanov

Guest
Previously in ExtJS 4, to change the theme, we used to write a condition in index.html and choose corresponding css file.

Today, with such new things as senchacmd, the build process, bootstrap.js, everything became a little more complicated.

  • I have 2 themes already extended from theme-triton: "dark" and "light" build in separate packages.
  • app.json contains default theme in root level: "theme":"light"

What should I do next to switch from theme to theme and save the selection?

Is there any solution through Ext.Package?

Or what is the best place to substitude css theme files?

<p>Previously in ExtJS 4, to change the theme, we used to write a condition in index.html and choose corresponding css file.</p>
<p>Today, with such new things as senchacmd, the build process, bootstrap.js, everything became a little more complicated.</p>
<ul>
<li>I have 2 themes already extended from <em>theme-triton</em>: "dark" and "light" build in separate packages.</li>
<li>app.json contains default theme in root level: "theme":"light"</li>
</ul>
<p>What should I do next to switch from theme to theme and save the selection?</p>
<p>Is there any solution through Ext.Package?</p>
<p>Or what is the best place to substitude css theme files?</p>
 

Latest posts

Top