JS Days 2025 is now live – Join 5,000+ devs for the premier virtual JavaScript event. Register Now

Fashion: Blazing Fast Theming For Ext JS

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

Guide to Estimating ROI When Switching From DIY Libraries to Full Software Development Platforms Like Ext JS

Teams started with Do It Yourself, or DIY, JavaScript tools like jQuery and Bootstrap. But those fall apart as projects scale. Scattered code, user interface…

Top Frameworks Developers Are Using for Custom Software Development in 2025

We’re seeing it more every year; teams aren’t settling for plug-and-play tools anymore. In healthcare, finance, logistics, and other data-heavy industries, there’s a clear shift.…

Meet Sencha AI Coding Companion: Your AI-Powered Assistant for Faster Ext JS Development

Building modern web applications should be exciting. But too often, developers find themselves buried in documentation, endlessly Googling framework quirks, or stuck solving the same…

Ext JS 7.9 & Rapid Ext JS V1.1 Have Arrived

The Sencha team is excited to announce the latest Ext JS version 7.9 and Rapid Ext JS 1.1 release – designed to accelerate development, enhance…

Top 10 JS Grid Customization Tips for a Better UI Experience

Grids are pretty much everywhere in web apps. Working with financial sheets, product details, or users? Then you’ve probably used a JavaScript grid. It makes…

Why Ext JS Framework is the Go-To Framework for Building Scalable and Data-Intensive Web Apps

Web apps are much more advanced now. They deal with large amounts of data and need to stay fast, even with many users. If you’re…

View More

Trusted by Top Developers: Learn how to enhance your development journey — for free

Get the latest newsletter keeping thousands of developers in the loop.

Loved by developers at