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: Add support for gradient in outline border. #192

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

divyanshub024
Copy link
Contributor

Description

This PR adds support to a gradient in the outline Input border.

In order to add the gradient. Just add the gradient object in the border.

                            "border": {
                                "type": "outlineInputBorder",
                                "borderRadius": {
                                    "topLeft": 8,
                                    "topRight": 8,
                                    "bottomLeft": 8,
                                    "bottomRight": 8
                                },
                                "gradient": {
                                    "colors": [
                                        "#acdd22", "#171717"
                                    ]
                                }
                            }

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 added enhancement New feature or request feature labels Aug 31, 2023
@divyanshub024 divyanshub024 added this to the v0.5 milestone Aug 31, 2023
@divyanshub024 divyanshub024 self-assigned this Aug 31, 2023
Copy link
Contributor

@i-asimkhan i-asimkhan left a comment

Choose a reason for hiding this comment

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

Looks good.

@i-asimkhan i-asimkhan merged commit 17460dd into main Sep 1, 2023
2 checks passed
@i-asimkhan i-asimkhan deleted the dv/mirai-outline-border branch September 1, 2023 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants