Goulin Khoge
on 14 October 2022


This article was last updated 2 year s ago.

The Vanilla CSS Framework is a utility class-based and customizable SASS library that is the go-to when it comes to styling websites and dashboards across the majority of projects at Canonical. Knowing all the class utilities could be tricky. That’s why we make sure that our documentation is up-to-date and accessible as much as possible.

We developed a VSCode extension that enhances the developer experience when using Vanilla, hoping to improve the developer’s experience and productivity while working with Vanilla.

The project had its start a year ago during a hackathon, and the MVP provided us some ideas about developing VSCode extensions, parsing SASS projects and providing auto-completion. Later, we refactored the project and rewrote some parts to make the extension lightweight and more complete!

Class utilities auto-completion for HTML

The extension now provides auto-completion for HTML, React and Django templates files with a complete list of usable classes based on the installed Vanilla found in node_modules :

Class utilities auto-completion in VSCode

Vanilla code snippets

Vanilla provides a complete list of examples for the different components and layouts. We’ve added those examples as code snippets that you can import using the command palette Vanilla Framework: insert a snippet:

Popup to select the code snippet to insert in VSCode

SASS variables

The Vanilla Framework uses SASS variables as a way to make the project readable and customizable. The VSCode extension also provides the complete list of available variable to use and override while writing custom SASS:

SASS variables auto-completion in VSCode

Conclusion

Version 1.0.0 of the Vanilla Framework Intellisense extension is available now on the VSCode store.

Also, come and join the Web and Design Team if you are excited about this kind of project and more!


Newsletter
signup

Get the latest Ubuntu news and updates in your inbox.

By submitting this form, I confirm that I have read and agree to Canonical's Privacy Policy.

Related posts


Lyubomir Popov
23 June 2025

Revolutionizing Web Page Creation: How Structured Content is Slashing Design and Development Time

Article Ubuntu

Co-authored with Julie Muzina A year ago, during our Madrid Engineering Sprint, we challenged ourselves to dramatically reduce, or even eliminate, the need for constant design involvement in the day-to-day creation of web pages. Our strategy for achieving this is based on a smarter, more structured approach to content....

Lyubomir Popov
23 June 2025


Anthony Dillon
25 October 2023

Web team – hack week 2023

Article Design

Today, around 96% of software projects utilize open source in some way. The web team here at Canonical is passionate about Open source. We lead with an open-by-default approach and so almost everything we do and work on can be found publicly on the Canonical Github org. It is not enough to simply open our

Anthony Dillon
25 October 2023


Bartek Szopka
18 July 2023

Vanilla 4.0 release

Article Design

Last week we released a new major version of the Vanilla framework. Vanilla 4.0 introduces the elements of the new style used for a current rebranding of Canonical’s brochure websites, including typography changes of headings utilising new variable Ubuntu font, wider grid width, removed rounded corners, some updated...

Bartek Szopka
18 July 2023