Skip to content

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

Open
@xmasuhai

Description

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

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

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

这个特性的实现形式?

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

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

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions