Dark Matter
A shared design system for Millennium’s internal applications.

Project Details
- Client
- MillenniumUSA, hedge fund
- Product
- Design system for internal enterprise applications
- Role
- Senior UX / Product Designer
- Component Foundation
- Ant Design
- Design Tool
- Figma
- Users
- Traders, portfolio managers, analysts, and internal teams
Scope
- visual foundations
- component customization
- variants
- tokens
- themes
- documentation
- developer handoff
Project
Context
Millennium’s internal applications were developed by different teams and looked noticeably different. Each team had its own interpretation of common controls, layouts, and visual styles.
As the sole designer responsible for Dark Matter 2.0, I created a shared Figma library, design foundations, and component specifications. The goal was to give teams one source of truth instead of redesigning the same interface elements for each product.
Choosing the
Foundation
Although Dark Matter 1 already existed, I did not use it as the foundation for the new system. I used Ant Design as the starting point for most components, adapting its colors, typography, corner radii, and visual treatments.
I also used two existing internal applications as reference products. Their interfaces provided a practical baseline: the new system needed to unify other products without requiring extensive visual changes to these applications.
Building Color
Foundations
I started with the dark theme and created a Primitive Colors Foundation: neutral scales and color families that could be reused throughout the library.
From these primitives, I defined semantic palettes based on purpose:
- Backgrounds: application canvas, containers, components, and overlays.
- Text and borders: content hierarchy, input boundaries, and separators.
- Actions and indicators: primary actions, interaction states, statuses, and chart colors.
This separated the available colors from the rules for using them. A component’s color was determined by its role, rather than selected independently on each screen.




Defining Typography
I used two Google Fonts with distinct responsibilities:
- Source Sans Pro for interface text, with 12px, 14px, and 16px sizes, corresponding line heights of 20px, 22px, and 24px, and regular and semibold weights.
- Lato for headings, with a 16px, 20px, 24px, and 30px scale.
I documented where each style belonged, including table content, labels, descriptions, subtitles, and section headings. This gave teams a defined hierarchy for dense interfaces.

Building the Visual
Foundations
The foundations established the visual rules used throughout the library: grid, icons, shadows, and border radius. These provided a common reference for both individual controls and complete application screens.
For data-heavy interfaces, the design emphasis was on hierarchy and clarity. Headings, labels, values, supporting information, and actions needed distinct roles without competing for attention. Color was used to communicate emphasis and state, alongside text and other interface cues.

Shadow

Establishing Layout
Rules
I defined a 24-column grid based on Ant Design, together with shared spacing, icon sizing, corner-radius, and shadow rules.
I also established a common application structure: navigation, the main workspace, settings, common actions, and the theme switch. These elements needed predictable placement across applications, even when the content and workflows differed.
Add widgets to the workspace
Creating the
Components
I followed atomic design principles, moving from individual controls to composed components and larger interface patterns.
- Atoms: buttons, icons, inputs, checkboxes, radio buttons, and switches.
- Molecules: composed controls such as search fields, button groups, and labeled inputs with supporting messages.
- Organisms: forms, tables, modals, and larger workspace compositions.
For buttons, I documented normal, hover, pressed, and disabled states, along with regular, danger, and icon variants. I then applied the same approach to the rest of the library: defining variants and states rather than providing only a default appearance.



Adding Light Mode
After establishing the dark theme, I developed the light theme using the same component structure and semantic roles.
I adjusted surface levels, text colors, borders, and interaction colors for light backgrounds. I checked color contrast in both themes, particularly for text, controls, and status indicators, and adjusted combinations where needed.
The objective was to support two themes within one system, without maintaining two independently styled component libraries.


Applying the System
I created example interfaces using the foundations and components together. These showed how typography, tables, controls, navigation, and containers worked at application level.
The examples also provided a concrete basis for approval: stakeholders could review an assembled interface, rather than judge the system solely from isolated component sheets.

Structuring
Semantic Variables
Once the visual direction was approved, I formalized the foundations into reusable variables and tokens covering colors, typography, spacing, icon sizes, and corner radii.
For colors, I separated primitive values from semantic variables and configured Dark Theme and Light Theme modes. For example, background-container references color/neutral/850 in dark mode and color/neutral/white in light mode.
Components reference the semantic role, while the selected mode supplies its value. This keeps styling consistent and allows theme switching in Figma without manually recoloring individual elements.



Developer Handoff
I shared the library, token definitions, and component specifications with developers across teams. The handoff included component variants and states, typography and layout rules, theme mappings, and assembled interface examples.
The final deliverable was a shared reference for both individual components and complete application layouts, giving teams a defined starting point for implementing a consistent interface across Millennium’s products.
Application Name