Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tokens]: set up modes semantic layer #3308

Closed
4 tasks done
gfellerph opened this issue Jul 22, 2024 · 0 comments · Fixed by #3349
Closed
4 tasks done

[tokens]: set up modes semantic layer #3308

gfellerph opened this issue Jul 22, 2024 · 0 comments · Fixed by #3349
Assignees
Labels
📦 styles Related to the @swisspost/design-system-styles package
Milestone

Comments

@gfellerph
Copy link
Member

gfellerph commented Jul 22, 2024

Description

Set up a _modes.scss file which uses the semantic tokens from the modes layer. This file is intended to be @use'd by other output files, so should not be compiled on it's own and should not contain any other styles than the tokens.

Notes:
Don't wrap the light mode styles in a query, they are the default styles.

Selectors for light mode:

  • [data-color-mode="light"]

Selectors for dark mode:

  • [data-color-mode="dark"]

Tasks

💻 Tasks

Preview Give feedback
  1. v8 v9
  2. 🚂 PR train
@gfellerph gfellerph added 📦 styles Related to the @swisspost/design-system-styles package 💭 draft Issue is not ready for development labels Jul 22, 2024
@gfellerph gfellerph added this to the Components v2 milestone Jul 22, 2024
@gfellerph gfellerph removed the 💭 draft Issue is not ready for development label Jul 22, 2024
@gfellerph gfellerph moved this from 👀 Triage to 💎 Ready for development in Design System Production Board Jul 24, 2024
@gfellerph gfellerph self-assigned this Jul 24, 2024
@gfellerph gfellerph moved this from 💎 Ready for development to 🕹️ Coding in progress in Design System Production Board Jul 24, 2024
This was linked to pull requests Jul 24, 2024
@github-project-automation github-project-automation bot moved this from 🕹️ Coding in progress to 🚀 Done in Design System Production Board Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 styles Related to the @swisspost/design-system-styles package
Projects
1 participant