Untitled UI logotext
Solutions
WebsitesEcommerceMobile AppsWeb AppsProduction Support & Maintenance
Our work
Company
About usBlogPodcastContact us
Book a free consultation

Sass Mixins for DRY Themes

Olivia Rhye
Sass Mixins for DRY Themes

Keeping themes as DRY ("Don't Repeat Yourself") as possible makes themes easier to update, tweak and maintain. When a client requests a change to an element that's used throughout their site, a dry theme gives you the ability to change one piece of code and be done. The basic mixins I use in all of my themes include mixins for fonts, colors, form inputs and grid styles. Once those are in place, I also create a mixin for any design elements used throughout the site—for example, a special treatment for titles.

This article called Drying Out Your Sass Mixins from A List Apart gives a good overview to get you started. How do you keep your themes DRY?

Ready to start a project?

Book a free consultation
Untitled UI logotext
Our work
About us
Blog
Careers
Submit a ticket
Agency Partnerships
Contact
© 2024 fjorge. All rights reserved.
Privacy