Skip to content

Commit

Permalink
chore: [ADR-0003] use design system and ui kit (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
Amzani authored Jul 18, 2023
1 parent 6cf27c8 commit d2e2ab4
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions doc/adr/0003-use-design-system.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 3: Use a design system and UI kit

Date: 2023-07-10

## Status

Accepted

## Context

To streamline the development process of Studio, it is important to establish a design system and accompanying UI kit. The goal is to provide developers with pre-designed components and guidelines, eliminating the need to start from scratch for each interface and reducing the cognitive load of making design decisions.


## Decision

We have decided to create a UI kit and design system as code rather than solely relying on Figma files. While Figma files can be useful for initial designs and gathering feedback, providing the components and designs as code will enable developers to directly implement them in their projects.

The design system and UI kit should include components for typography, buttons, navigation, menus, modals, and other elements essential to our UI. However, it is important to avoid adding components that are not necessary for our specific use case. The aim is to establish a framework that accelerates development, not to build yet another comprehensive UI library.

To accommodate this change, we have chosen to use the [turborepo](https://turbo.build/repo) tool to transition the Studio repository into a mono repository. This will allow us to manage multiple applications within a single repository, making it easier to maintain and distribute the design system and UI kit.

## Consequences

Implementing this decision will result in the following consequences:

- The code repository will be transformed into a mono repository, accommodating multiple applications.
- Developers will have access to a design system and UI kit provided as code, enabling them to quickly incorporate standardized components into their projects.

0 comments on commit d2e2ab4

Please sign in to comment.