May 29, 2025
11 min
Tom OsowskiDesigner
Explore Dodonut's eco-friendly web design journey, revealing sustainable choices in typography, layouts, and development for a high-performing website. A guide for designers and developers committed to digital sustainability.
Dodonut prioritizes sustainability in web design, emphasizing a green approach in typography, layout, and development.
The case study serves as a practical resource, inspiring digital professionals to adopt eco-friendly web practices and reduce their digital impact.
Sustainability lies at the core of Dodonut, our web design agency that not only provides clients with solutions to make their websites and applications faster and more user-friendly but also endeavors to make them more efficient, resilient, and sustainable. Designing for sustainability goes beyond implementing eco-friendly practices within the company; it involves sharing these practices with others, imparting knowledge, inspiring, and fostering collaboration. In this way, we actively participate in the global movement of individuals dedicated to addressing climate change, leveraging our skills and efforts to contribute positively.
In the recent case study, we examine and unveil our strategy behind the creation of Dodonut and its branding process. In this one, we are going to delve into the intricacies of Dodonut's design choices, concentrating on the theme of "Typography, Font Budget, and Beyond." From the meticulous consideration of the 'font budget' to the strategic selection of Variable Fonts and system fonts, Dodonut's journey stands as a testament to the intersection of creativity, efficiency, and environmental consciousness.
In the design of Dodonut.com, we paid special attention to 'font budget' – the maximum kilobytes of fonts loaded onto our website. At Bejamas, we managed to keep this to 350kb, but for Dodonut, we set an ambitious target of just 50kb. To put this in perspective, an average font in a single weight typically takes about 200-300kb. If you want additional styles like bold or light, it can double.
To meet this stringent font budget, we turned to Variable Fonts. This relatively new method of implementing fonts has been a game-changer. Instead of loading multiple files for different styles (like light, bold, regular, extra bold), Variable Fonts allow us to load just a single file. This is a big win for performance, as it significantly reduces the total data transfer. We chose to use a variable font for our headers, striking a balance between style and efficiency.
Our choice was Clash Display, which is 41kb weight in total.
At Dodonut.com, we aimed for a 50kb font budget, utilizing game-changing Variable Fonts like Clash Display (41kb) to efficiently load a single file and significantly reduce data transfer.
For the paragraph text, we opted for system fonts. Since we already used a custom header font, using system fonts for body text was a strategic choice. Why system fonts? They cost virtually nothing in terms of data, as they are already installed on most computers. Plus, they are versatile and well-suited for a wide range of applications. This decision helped us maintain a sleek, user-friendly design without compromising performance or readability.
Using the 'system-ui' font properties for our paragraph text was an incredibly efficient choice, costing us exactly 0kb. But what about the disadvantages of system fonts? While they are well-crafted and globally recognized, supporting many languages, there's a notable caveat. On Windows, the displayed font is Segoe UI, whereas on Mac, it's SF Pro. This means there's a slight variation in appearance depending on the operating system. We can discern these subtle differences as designers, but it's worth noting that most of our visitors are unlikely to spot them. This minor inconsistency is a small trade-off for the significant performance benefits these fonts provide.
One of the main challenges with popular fonts like Poppins is their size. A single font file often includes thousands of characters, but a typical English website visitor uses only around 180 characters. It means that over 90% of the loaded characters are not utilized each time someone visits a page.
To address this, we focused on narrowing down the character set to match our specific needs. For Dodonut.com, we chose to include only Latin characters, covering essentials like lowercase and uppercase letters, numbers, punctuation, currency symbols, typographic marks, math symbols, alternate punctuation, lower and upper accents, and diacriticals. This strategic selection allowed us to significantly reduce the font file size, bringing it down to an efficient 20kb. By tailoring the font to our exact requirements, we optimized the website's performance and ensured it remained accessible and visually appealing to our audience.
In developing Dodonut.com, we chose to focus on illustrations for several reasons:
From the beginning we new that we want to use custom illustration to highlight the creative character of our web design agency. Initially, we used basic illustrations from our branding process. But as we progressed and we searched for the proper visual style with illustration from different illustrators, we decided to add a bit more flair and complexity.
Finally, we found this “perfect match” in Justyna Lasota’s illustrations. We choose her isometric illustration style that responds to the neubrutalism of our website, using our hero - Dodo bird to describe in creative way different contexts and situations. that consistently follow our neubrutalism style, This led to the creating of an additional set of more intricate illustrations, used selectively based on specific use cases. This approach allowed us to add visual interest and variety to our site without compromising on performance.
Exploration of the Dodonut’s illustration style:
Illustration by Zuza Gadomska for Dodonut.
Illustration by Robert Mainka for Dodonut.
Chosen illustration style created by Justyna Lasota.
In designing Dodonut.com, we draw attention to the impact of layouts on the website's JavaScript (JS) load and overall performance. Designers often overlook how certain design elements can significantly increase a site's resource usage. For example, data shows that a basic carousel can ramp up CPU usage by 6% while also demanding more JS, leading to a heavier website.
In our design approach, we consciously decided to avoid features that would hinder the site's efficiency:
These strategic design choices were crucial for ensuring that Dodonut.com would deliver a smooth, efficient user experience free from elements that could potentially slow it down.
For Dodonut.com, we chose themes that save energy and are easy to use. We knew from our research that dark mode saves battery and is better for the environment, so we included it. Our design was made to easily add more themes later. We designed everything in white first and then used variables in development to create three themes:
A bright, standard theme of Dodonut's light mode.
This way, we made our website not just sustainable but also flexible and accessible for all users. Because of design token implementations, it takes us a few minutes to set up a new theme.
In many cases dark mode that we applied on Dodonut saves battery and is better for the environment.
Making Dodonut.com accessible to everyone is a key priority, serving both inclusivity and environmental goals. By enhancing accessibility, we minimize the need for extra browsing tools and devices. Our approach includes two main strategies:
This approach ensures our website is user-friendly and reduces the environmental impact by being compatible with a wider range of devices.
Recognizing the pivotal role of sustainability in fostering a responsible digital footprint, we prioritized and integrated sustainable web development principles into the construction of our website. Thanks to Bejamas we integrated sustainable development recommendations into the construction of our website, adhering to the following principles:
Astro emerges as a superior choice for creating high-performing websites, and here's why:
Astro's approach is distinctively minimalistic, prioritizing less client-side JavaScript. This not only accelerates page load times but also aligns with sustainable web practices.
Comparing Astro with other frameworks:
Astro’s blend of speed, efficiency, and minimalistic design makes it an ideal framework for developers who prioritize performance without compromising environmental sustainability. Check out the detailed Dodonut case study on how to use Astro.JS to create a sustainable website.
In shaping Dodonut.com to be as efficient as possible, we've taken a strategic approach to the scripts we incorporate:
This methodical approach to scripts reflects our ongoing commitment to maintaining Dodonut.com as not just a user-friendly platform, but also one that upholds our sustainability goals.
In our journey to make Dodonut.com as sustainable as possible, choosing the right hosting was pivotal. We needed a host that was not only technically compatible with our Astro setup and Jamstack stack but also aligned with our sustainability goals. After careful analysis, we found our solution in Cloudflare for its green hosting capabilities. Key factors in our decision included:
This blend of technical compatibility and a strong environmental ethos made Cloudflare the ideal choice for hosting Dodonut.com, aligning with our mission to create a sustainable online presence.
Website Weight: The total weight of our website stands at approximately 430kb, significantly lower than the average website weight of 3.2mb. This lean structure contributes to faster load times and a better user experience.
Lighthouse and GTmetrix Scores: We've achieved the pinnacle of website performance metrics:
Lighthouse Score: A perfect 100.
GTmetrix: 100% performance, earning a Score A rating. This showcases our site's exceptional efficiency and optimization.
Carbon Emissions: On average, a visit to our website emits just about 0.04g of CO2, earning us an A+ rank on Website Carbon. This places Dodonut.com at the forefront of environmentally friendly web design, solidifying our commitment to sustainability.
On the Website Carbon Calculator we achieved a postive carbon rating of A+.
In the world of digital design and development, Dodonut stands out not just for creating websites but for fostering a commitment to sustainability. Our journey goes beyond pixels and code; it's a blend of creativity, thoughtful choices, and a dedication to minimizing our impact on the environment.
We share our case study not just to showcase our achievements but to provide value to others in the digital space. By sharing our journey, insights, and challenges, we aim to inspire and guide fellow designers, developers, and business representatives towards more sustainable practices. Our case study serves as a practical resource, illustrating how thoughtful choices can lead to a greener future and minimize the digital carbon footprint.
Authors
Head of Design at Bejamas. Expert in UX/UI and Lean Methodology. Passionate about sustainable design and creating scalable digital experiences.
(1.0)
Learn
(2.0)
For manager
(3.0)
For developer
(4.0)
Adopt modern stack