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

Fashion: Blazing Fast Theming For Ext JS

June 24, 2015 2093 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

5 JavaScript Libraries Enterprise Teams Should Avoid Building From Scratch

Enterprise teams routinely invest substantial developer time building JavaScript libraries that already exist as mature, production-grade solutions. This article covers five high-cost component categories that…

How to Evaluate UI Component Libraries: 10 Criteria That Actually Matter

Choosing a UI component library shapes development velocity and application quality for years. This guide covers the ten criteria that matter most when enterprise teams…

Creating a Mobile Application with Ext JS and Capacitor

Introduction Modern mobile applications demand rich user experiences, cross-platform compatibility, and rapid development cycles. In this document, you will learn how Ext JS and Capacitor…

Building Real-Time Dashboards with WebSockets and Frontend Frameworks

Real-time dashboards have become essential in industries where users need instant visibility into changing data. Whether monitoring financial transactions, logistics operations, industrial systems, application health,…

Front-End Frameworks Compared in 2026: Performance, Use Cases, and Trade-offs

Front-end framework selection in 2026 centers on three critical decisions: complete platform versus ecosystem assembly, performance at enterprise scale, and long-term maintenance costs. Ext JS…

Enhancing Component Logic: A Developer’s Guide to Ext JS Plugins

In the world of Ext JS, reusability is king. While subclassing a component is a common approach to extend functionality, it often leads to rigid…

View More
JS Days Popup