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

边框和装饰组件用了魔法数字,语义不明 #333

Open
xmasuhai opened this issue Aug 23, 2024 · 0 comments
Open

边框和装饰组件用了魔法数字,语义不明 #333

xmasuhai opened this issue Aug 23, 2024 · 0 comments

Comments

@xmasuhai
Copy link

xmasuhai commented Aug 23, 2024

通过配置选项,来设置语意清晰的边框和装饰组件

这个特性解决了什么问题?

解决了 边框和装饰 后缀的魔法数字带来的语义不明 比如:dv-border-Box-1、dy-decoration-1

这个特性的实现形式?

可以设置默认配置,在通过传递不同的、有明确含义的配置字段,比如:

<dv-border-Box type="space-ship-blink"/>

是否愿意为此特性提交PR?

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

1 participant