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

Task/migrate shape design tokens #311

Merged
merged 4 commits into from
Dec 13, 2023

Conversation

kelianClerc
Copy link
Collaborator

No description provided.

Copy link
Contributor

@RomainGF RomainGF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the naming as it's web based, but if Grapes enforces it 😞 Even rounded0, rounded1, etc would have been better

val borderRadius1: CornerBasedShape = RoundedCornerShape(borderRadius1Dp),
val borderRadius2: CornerBasedShape = RoundedCornerShape(borderRadius2Dp),
val borderRadius3: CornerBasedShape = RoundedCornerShape(borderRadius3Dp),
val borderRadiusRounded: CornerBasedShape = RoundedCornerShape(borderRadiusRoundedPercent),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about using CircleShape directly ? It's a RoundedCornerShape(50), because 100% seems strange as 50% is already a circle

@kelianClerc kelianClerc force-pushed the task/migrate-shape-design-tokens branch from fa1a95d to f1e585a Compare December 13, 2023 10:33

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@kelianClerc kelianClerc force-pushed the task/migrate-shape-design-tokens branch from f1e585a to a5d39bc Compare December 13, 2023 10:41
@kelianClerc kelianClerc merged commit 5f0eecd into develop Dec 13, 2023
@kelianClerc kelianClerc deleted the task/migrate-shape-design-tokens branch December 13, 2023 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants