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

[component]: Sizing utilities #3433

Open
5 tasks done
alizedebray opened this issue Aug 20, 2024 · 1 comment · May be fixed by #3679
Open
5 tasks done

[component]: Sizing utilities #3433

alizedebray opened this issue Aug 20, 2024 · 1 comment · May be fixed by #3679
Assignees
Labels
❇️ good first issue Good for newcomers 📦 styles Related to the @swisspost/design-system-styles package

Comments

@alizedebray
Copy link
Contributor

alizedebray commented Aug 20, 2024

Description

Simple classes to allow users to set the height, width, max-height, and max-width (and potentially min-height, min-width) of any HTML element. Provide utility classes for the percentages 25, 50, 75 and 100.

https://design-system.post.ch/?path=/docs/e728de1f-0d71-4317-8bb8-cbef0bf8d5db--docs

Design

There is no design for the utilities.

Tokens

We do not implement tokens for these utility classes.

Tasks

💻 Tasks

@alizedebray alizedebray added the 📦 components Related to the @swisspost/design-system-components package label Aug 20, 2024
@alizedebray alizedebray changed the title [component]: Spacing utilities [component]: Sizing utilities Aug 20, 2024
@alizedebray alizedebray added this to the Design v2 milestone Aug 20, 2024
@gfellerph gfellerph added 📦 styles Related to the @swisspost/design-system-styles package ❇️ good first issue Good for newcomers and removed 📦 components Related to the @swisspost/design-system-components package labels Aug 28, 2024
@gfellerph gfellerph modified the milestones: Design v2, Cargo Components Oct 1, 2024
@myrta2302
Copy link

Issue: Generated breakpoints classes are in some cases overridden by simple classes (e.g. h-xl-0)

@myrta2302 myrta2302 linked a pull request Oct 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❇️ good first issue Good for newcomers 📦 styles Related to the @swisspost/design-system-styles package
Projects
Status: 🤬 Dev in review
Development

Successfully merging a pull request may close this issue.

3 participants