Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Introducing design tokens for commonly used colors #14780

Open
Assignees
BrunoQuaresma
Labels
design readydesign is approved and ready for implementation
@chrifro

Description

@chrifro

Why should we use design tokens for colors?

  • one of the first steps to a design system
  • helps to keep a consistent design: no more color guessing, just apply the predefined color.
  • automatic adjustments for different themes: once defined, select a token that's automatically adjusted for all themes
  • easy to adjust if we ever decide to change color: instead of adjusting all text fields, we'd only need to adjust the design token.

How does it work?

  1. create color primitives based on theTailwind CSS color library
  2. create color tokens and assign primitives for each theme to it
  3. assign the color tokens to all content

How do I know which color token I should assign to a content piece?

  • the naming convention should help to identify the use case
  • additionally, you can find an overview of how to apply the new colors to existing designshere in Figma

Scope
I'd suggest we start with the most basic color styles: content-xyz, surface-xyz, and border-xyz. We can build on it as we go.

Note
I tested the colors for all themes for the most common screens and made sure they pass accessibility requirements. In case, you find a place nevertheless where the colors don't fit well, let me know :)

Resources
Image
Image
Image

Metadata

Metadata

Assignees

Labels

design readydesign is approved and ready for implementation

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp