Join Virtual JavaScript Days 2026 and Get a Free Participation Certificate – Register Now!

Fashion: Blazing Fast Theming For Ext JS

June 24, 2015 2158 Views

Get a summary of this article:

Show

One of the new Ext JS features that received rave reviews at SenchaCon was Fashion. Attendees saw an amazing demo where the styling and colors of the application were changing in the blink of an eye. As we get ready to release Ext JS 6, I would like to provide some background about how we came up with Fashion and share the video of Phil Guerrant, Senior Software Engineer showing the technology in action.

In the Beginning…

In the beginning, there was CSS and it had many shortcomings, including a lack of variables, and it was difficult to maintain as there was no way to reuse code. Eventually developers found themselves with huge CSS files that needed to be rewritten because they were so out of control.

Then along came SASS – Syntactically Awesome StyleSheets which added helpful syntax to CSS. We had variables, nested rules, and mixins to maximize code reuse as well as functions for manipulating colors, strings, and more.

With CSS3, we needed to make sure our styling worked across all of the browsers, so we turned to a combination of Compass and SASS. However, this combination had a system dependency on Ruby which caused major build time compilation issues.

Enter Fashion

We wanted to improve the theming experience but needed a solution that was compatible with but an upgrade from the SASS syntax used in Ext JS 4 and 5. And that’s how we came up with Fashion. It supports all the SASS-like syntax, compiles SASS into CSS on-the-fly in your browser, and includes a new JavaScript API for creating custom extensions. Check out Phil’s video to see Fashion in action.

 

 

Recommended Articles

Building Responsive, Data-Driven Enterprise Applications with JavaScript

In enterprise software, responsiveness is no longer a nice-to-have. Users expect the same application to perform smoothly whether they are working at a desktop with…

What’s New in ReExt 1.2

Modern teams are under constant pressure to ship faster without sacrificing UX quality, maintainability, or enterprise-grade capabilities. That’s easy to say, but much harder to…

BFF Architecture – Optimizing Communication between Node. js and Ext JS

Modern enterprise applications rarely struggle because they lack features. More often, they struggle because the frontend and backend are speaking slightly different languages. Your database…

Case Study: Building a Modern Recruitment Application with Ext JS

Hiring the right talent requires more than collecting resumes. Modern recruitment teams need streamlined workflows, real-time visibility, and reliable tools that support every stage of…

Techniques for Handling Large Data Sets in Ext JS

Enterprise applications often need to display and process thousands – or even millions – of records while maintaining a responsive and intuitive user experience. Whether…

Building an AI-Powered School Grading System with Ext JS

Educational institutions are under increasing pressure to evaluate growing numbers of student assessments while maintaining fairness, consistency, and timely feedback. Although artificial intelligence offers new…

View More
JS Days Popup