Background
At the moment, we are maintaining the following Figma libraries:
- Codex components library
- OOUI components library
- Design Tokens library (the tokens/variables created here are being reused in both Codex and OOUI libraries)
- Assets library (icons, illustrations, and logos) (these assets are being reused in both Codex and OOUI libraries and projects)
In order to make the libraries easier to manage, and to make the Codex library easier to share with the Figma community in T288370, we plan to merge the Assets, Design Tokens, and Codex components into a single "Codex" Figma library. This involves moving the tokens (Figma variables) and assets from their separate libraries into the Codex library. This change will also better align with how tokens, assets, and components are organized in code, making them all accessible from one single Codex site/library.
User stories
- As an intern designer, I need to easily access all the tokens (variables), assets, and components in Figma.
- As an extern designer, I need to easily download and enable the Codex Design System in Figma.
Open questions
Add here the questions to be answered in order to design and implement the component
Acceptance criteria (or Done)
- Discuss this decision with the DST designers and decide whether we should proceed with it
- Update the Figma libraries accordingly:
- Move the tokens (variables) from the Design Tokens library to the in the Codex library
- Link the new variables to the Codex and OOUI Figma components
- Move the Assets (icons, illustrations, and logos) into the Codex library
- Deprecate/Archive the Design Tokens and the Assets libraries from Figma
- Rename library from "Codex components" to simply "Codex"
- Notify designers in case they need to replace any token (variables) manually in their projects
- Update any links to previous files on Codex docs site