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

Add CSS Variable for Border Radius #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kethan1
Copy link

@kethan1 kethan1 commented Jun 5, 2024

In the current website, border radius is referenced twice directly as a number.

original website, border radius as magic number

This PR makes border radius a CSS variable (as --sb-border-radius), similar to all the other properties (--sb-track-color, --sb-thumb-color, and --sb-size).

new website after PR, border radius as CSS variable

Copy link

netlify bot commented Jun 5, 2024

Deploy Preview for rococo-genie-7b69c1 ready!

Name Link
🔨 Latest commit daf4cca
🔍 Latest deploy log https://app.netlify.com/sites/rococo-genie-7b69c1/deploys/6660f7e1425bde00081df889
😎 Deploy Preview https://deploy-preview-24--rococo-genie-7b69c1.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.

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

1 participant