Skip to content

主题设置支持从attribute设置,并增加自定义主题接口 #111

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

Closed
tzfun opened this issue Oct 16, 2024 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request

Comments

@tzfun
Copy link
Owner

tzfun commented Oct 16, 2024

Feature or optimization description

目前通过引入css的方式设置主题有点繁琐,通过属性设置主题简化,并且每一个terminal实例可以单独控制主题

预期效果:

<template>
    <terminal name="my-terminal" theme="dark"><terminal>
</template>

image

@tzfun tzfun added the enhancement New feature or request label Oct 16, 2024
@tzfun tzfun self-assigned this Oct 16, 2024
@tzfun
Copy link
Owner Author

tzfun commented Oct 21, 2024

2.3.13.3.1版本已更新

@tzfun tzfun closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant