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

Implement responsive UI icons #3851

Open
7 tasks
oliverschuerch opened this issue Oct 29, 2024 · 0 comments
Open
7 tasks

Implement responsive UI icons #3851

oliverschuerch opened this issue Oct 29, 2024 · 0 comments
Labels
📦 icons Related to the @swisspost/design-system-icons package

Comments

@oliverschuerch
Copy link
Contributor

In the future, our design system will not only provide the current 900+ icons (one size), but also a much smaller set of responsive UI icons.

We had a discussion about this and specified how and also when to do this.
Below is the discussion output.


How to handle masking/clipping, without svg mask and or clip-path elements?
Everything is one path

How to structure the icons?
every icon size is defined as individual icon
icon-x-16.svg
icon-x-24.svg
...

Where to store the icons?
Censhare, separated from the current icons

Where to store the generated sprite image?
Selfhosted is preferred

How to use those icons?
post-icon is the preferred

Implementation priorisation?
Must have for cargo

Tasks to reach the goal:

Tasks

Rough estimation for the DEV tasks:
+/- 2-3 weeks

Current conclusion:

  • Implement (5-15) static cargo specific icons in the components, where they are needed (as mask-image in CSS).
  • Work on an automized solution as outlined above, earliest starting march 2025.
@oliverschuerch oliverschuerch added the 📦 icons Related to the @swisspost/design-system-icons package label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 icons Related to the @swisspost/design-system-icons package
Projects
Status: 👀 Triage
Development

No branches or pull requests

1 participant