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

feat: introduce $ouds-border-radius-9999 raw token and create a px-to-rem Sass function #2751

Merged
merged 4 commits into from
Oct 3, 2024

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Oct 2, 2024

Description

We finally decided to (re)introduce $ouds-border-radius-9999 that comes from Figma.

This value is set to 2000px so we needed to transform it to 125rem. Hence, the creation of a new px-to-rem Sass function, that will be useful for other use cases in the future.

Live previews

Copy link

netlify bot commented Oct 2, 2024

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit e1fe493
🔍 Latest deploy log https://app.netlify.com/sites/boosted/deploys/66fe4b3b3a49300008693fc1
😎 Deploy Preview https://deploy-preview-2751--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@julien-deramond julien-deramond force-pushed the main-jd-reintegrate-border-radius-9999 branch from df3ed04 to df0aca9 Compare October 2, 2024 10:04
@julien-deramond julien-deramond force-pushed the main-jd-reintegrate-border-radius-9999 branch from df0aca9 to f5a2c44 Compare October 2, 2024 10:08
@julien-deramond julien-deramond marked this pull request as ready for review October 2, 2024 10:10
@louismaximepiton louismaximepiton changed the title feat: introduce '$ouds-border-radius-9999 raw token and create a px-to-rem` Sass function feat: introduce $ouds-border-radius-9999 raw token and create a px-to-rem Sass function Oct 2, 2024
@louismaximepiton
Copy link
Member

louismaximepiton commented Oct 2, 2024

I've added a new strip-units function to allow people using it with or without unit. Feel free to better or revert these changes. (0e03ca3 and 2fa20a5)

scss/tokens/_raw.scss Outdated Show resolved Hide resolved
@julien-deramond julien-deramond merged commit 08b7004 into ouds/main Oct 3, 2024
16 checks passed
@julien-deramond julien-deramond deleted the main-jd-reintegrate-border-radius-9999 branch October 3, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

3 participants