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

Outline appearance for Input components #1158

Open
artyorsh opened this issue Jun 23, 2020 · 0 comments
Open

Outline appearance for Input components #1158

artyorsh opened this issue Jun 23, 2020 · 0 comments

Comments

@artyorsh
Copy link
Collaborator

artyorsh commented Jun 23, 2020

🚀 Feature Proposal

This is mostly related to Eva Design System feature proposals. However, I would like to open it here to view the interest of other library users.

It would be nice to have another predefined stylings for Input and similar components configurable with appearance property.
Compared to Button, we may also have outline appearance in Input fields, to make its background color transparent (with respect to the transparency percentage of the design system).

Motivation

  1. Transparent Input backgrounds are useful on contrast backgrounds. See screenshot.

image

  1. The only way to achieve transparency in Input fields is to use control status. However, using that value will make it impossible to use others like danger or success (which are quite useful within forms validation), leading to setting non-transparent white background color to Input when changing. Moving transparent stylings in additional appearance seems to be a solution for this case.

Example

<Input appearance='outline' status='danger' />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant