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

CSS: Use custom properties for spacing #2925

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jun 10, 2024

What is this pull request for?

Use custom properties (--spacing-1, --spacing-2, etc.) instead of Sass variables $default-margin and $default-padding.

Checklist

@tvdeyen tvdeyen added this to the 7.3 milestone Jun 10, 2024
@tvdeyen tvdeyen requested a review from a team as a code owner June 10, 2024 07:44
@tvdeyen tvdeyen force-pushed the use-custom-properties-for-spacing branch from bfbd5c2 to 73c9575 Compare June 10, 2024 07:46
@tvdeyen tvdeyen marked this pull request as draft June 17, 2024 13:55
Instead of Sass variables we use the custom properties we have.
It does not have any Sass in it.
@tvdeyen tvdeyen force-pushed the use-custom-properties-for-spacing branch from 73c9575 to 52994fe Compare June 17, 2024 19:51
Copy link

codecov bot commented Jun 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.96%. Comparing base (700b6fb) to head (52994fe).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2925   +/-   ##
=======================================
  Coverage   95.96%   95.96%           
=======================================
  Files         232      232           
  Lines        6272     6272           
=======================================
  Hits         6019     6019           
  Misses        253      253           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@sascha-karnatz sascha-karnatz left a comment

Choose a reason for hiding this comment

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

Awesome!

@tvdeyen tvdeyen marked this pull request as ready for review June 18, 2024 07:09
@tvdeyen tvdeyen merged commit 0a14eb2 into main Jun 18, 2024
35 of 37 checks passed
@tvdeyen tvdeyen deleted the use-custom-properties-for-spacing branch June 18, 2024 07:09
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.

2 participants