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(projects): add color fading mode.close #567 #569

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

Azir-11
Copy link
Member

@Azir-11 Azir-11 commented Jul 26, 2024

在theme的shared.ts里,因为灰度模式与色弱模式可以重合使用,如果要沿用类名需要增加两个新的类名去支持新的一个使用filter的css功能,也不可避免的要使用多个 if 去判断最终选用哪个,这种做法不优雅,所以我将原先使用类名控制灰度模式的部分删掉了,改为在js代码里直接控制

@honghuangdc honghuangdc merged commit 4dde4c2 into soybeanjs:main Jul 28, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants