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

背景颜色采用透明色值导致在非白色底的情况下视觉效果不佳 #11

Open
ex90rts opened this issue Nov 26, 2018 · 5 comments

Comments

@ex90rts
Copy link

ex90rts commented Nov 26, 2018

image

如上图,这里其实没有必要采用透明色:https://github.com/uxcore/uxcore-alert/blob/master/src/Alert.less#L13

@ex90rts
Copy link
Author

ex90rts commented Nov 26, 2018

@eternalsky 帮忙判断一下

@eternalsky
Copy link
Member

这个要让 屋台 看下,使用带透明度还是不带透明度的颜色,如果是非透明度的就是 @normal-2

@titanew
Copy link
Collaborator

titanew commented Nov 27, 2018

image
从最新设计规范来看是不透明的,背景的黄色底层本身是透明层,不过底层有一层不透明的白色遮住底层。取色后的颜色是rgba(254, 248, 231, 100)

@eternalsky
Copy link
Member

我们不能用取色之后的值,这些值都是以变量形式存在的,具体使用透色还是不透色,设计说了算。

@titanew
Copy link
Collaborator

titanew commented Nov 28, 2018

已经确定不透明。

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

No branches or pull requests

3 participants