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: Added a new way to redefine how we declare BorderRadius #285

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

divyanshub024
Copy link
Contributor

Description

Added a new way to redefine how we declare BorderRadius.

Previoudly we could define the border radius in only one possible way:

              "borderRadius": {
                "topLeft": 8,
                "topRight": 8,
                "bottomLeft": 8,
                "bottomRight": 8
              }

Now you can pass double value to give border-radius to all:

              "borderRadius": 8,

or define all borderRadius in single line.

              "borderRadius": [8, 12, 8, 12],

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Code refactor
  • Build configuration change
  • Documentation
  • Chore

@divyanshub024 divyanshub024 merged commit 2ef7209 into main Mar 2, 2024
3 checks passed
@divyanshub024 divyanshub024 deleted the dv/border-radius branch March 2, 2024 21:30
@divyanshub024 divyanshub024 added this to the v0.7 milestone Mar 2, 2024
@divyanshub024 divyanshub024 added the enhancement New feature or request label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant