akveo / akveo/react-native-ui-kitten

Outline appearance for Input components

Đang mở
#1,158 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
:bulb: Proposal
Ngôn ngữ chính
TypeScript
Star
10.7k
Fork
962
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 🚀 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](https://user-images.githubusercontent.com/10753921/85388808-3980af00-b54f-11ea-856b-bb1b612b057d.png)

2. 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

``````

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.