Design System Dark Mode - Sonatype

Sonatype's design system is split into two parts: Kaleido, the guide and component library for designer use, and Tartan, the developer's shared component library. As a Senior Product Designer on the team, I was chosen to lead the initiative to add Dark Mode variants to all of our components and design tokens.

Screenshot of the Sonatype Tartan React Shared Components Gallery home page
Screenshot of the Sonatype Tartan React Shared Components Gallery home page
Screenshot of the Sonatype Tartan React Shared Components Gallery home page
Screenshot of the Sonatype Tartan React Shared Components Gallery home page

Date

H1 2023

Role

Product Designer

Company

Sonatype

Screenshot of the component page for Buttons in the Kaledio Figma file
Screenshot of the component page for Buttons in the Kaledio Figma file
Screenshot of the component page for Buttons in the Kaledio Figma file
Screenshot of the component page for Buttons in the Kaledio Figma file

The Problem

The existing components in Kaleido were originally designed in Light Mode only. The user base, however, consists of developers, engineers, and other personas of similar backgrounds, over 70% of whom prefer to use Dark Mode in their daily workflow. Keeping in mind that the majority of dark modes are not fully accessible, it was also important that these components met the minimum standards for legal compliance with the ADA.

The Objectives & Key Results

Create a Dark Mode version of Sonatype’s Design System that meets the following requirements:

  • Design to a minimum of Level A compliance with WCAG guidelines

  • Test with internal stakeholders to ensure the new mode works optimally with all usage of the library in product

  • Validate the usability and delight of the final results via testing by at least 20 participants sourced from primary product user personas

Kaleido artboard for Light and Dark Mode semantic color variables and design tokens
Kaleido artboard for Light and Dark Mode semantic color variables and design tokens
Kaleido artboard for Light and Dark Mode semantic color variables and design tokens
Kaleido artboard for Light and Dark Mode semantic color variables and design tokens

The Process

The existing Light Mode made use of design tokens built on a set of HSL color variables. The first step in the process, then, was to use a series of mockups of existing product pages to develop a Dark Mode version of these design tokens. As the Light Mode was built around Indigo color variables, Indigo was chosen as the base of Dark Mode as well. This had the bonus effect of enhancing the uniqueness of the mode, as most product’s Dark Modes utilize blacks and greys.

It was important that the proportionate color relationships match the Light Mode tokens in order to streamline compliance with the brand and accessibility guidelines while building on users’ familiarity with the current component mode. As such, the first step was to experiment with converting existing layouts to Dark Mode to develop a color relationship between Dark Mode variables that maintained the semantic relationships in Light Mode while inverting the colors.

Once the design tokens were chosen, the next step was to validate the choices internally. After a series of iterative critiques by the organization’s Design Studio and interviews with internal stakeholders, the designs were completed and sent to development.

Settings modal with Theme/Mode toggle in the Sonatype Tartan library
Settings modal with Theme/Mode toggle in the Sonatype Tartan library
Settings modal with Theme/Mode toggle in the Sonatype Tartan library
Settings modal with Theme/Mode toggle in the Sonatype Tartan library

The Solution

The completed version of Dark Mode was delivered two months ahead of schedule and met (or exceeded) Level AA WCAG requirements - one level higher than required. As the Sonatype Design System’s component library is open source, it can be viewed here by adjusting the Theme Settings in top navigation.

Light Mode vs. Dark Mode responses Venn diagram contrasting 47 user responses for Light Mode (USable, Busy, Boring, Familiar, Cheap) with Dark Mode (Professional, Fresh, Calming, Complex, Cohesive)))
Light Mode vs. Dark Mode responses Venn diagram contrasting 47 user responses for Light Mode (USable, Busy, Boring, Familiar, Cheap) with Dark Mode (Professional, Fresh, Calming, Complex, Cohesive)))
Light Mode vs. Dark Mode responses Venn diagram contrasting 47 user responses for Light Mode (USable, Busy, Boring, Familiar, Cheap) with Dark Mode (Professional, Fresh, Calming, Complex, Cohesive)))
Light Mode vs. Dark Mode responses Venn diagram contrasting 47 user responses for Light Mode (USable, Busy, Boring, Familiar, Cheap) with Dark Mode (Professional, Fresh, Calming, Complex, Cohesive)))

The Results

The final version of the Dark Mode UI was tested by 47 users (from the key user persona of Developer, DevOps, and Security) via a Maze survey. A slide deck was generated to share the feedback with executive shareholders, including:

  • When choosing from a list of 20 words to describe the new mode, users overwhelming (50% of Developers, 35% of DevOps specialists, and 50% of Security professionals) described it as “calming”.

  • One user shared that “Somehow dark mode makes me feel less anxious with all of the overwhelming information from the policy violations.”

  • Another said: “The dark mode creates a visually stunning and immersive experience.”

After all was said and done, the project exceeded all requirements and expectations and was seen as a unilateral success by the organization.

Dark mode version of the homepage of My.Sonatype.Com
Dark mode version of the homepage of My.Sonatype.Com
Dark mode version of the homepage of My.Sonatype.Com
Dark mode version of the homepage of My.Sonatype.Com
Next Project
Let's Collaborate

Let's talk about a project,
collaboration or an idea you may have

Let's Collaborate

Let's talk about a project,
collaboration or an idea you may have

Let's Collaborate

Let's talk about a project,
collaboration or an idea you may have

Let's Collaborate

Let's talk about a project,
collaboration or an idea you may have