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

👑 [需求] 是否可以有继承的机制 #133

Open
anyone-yuren opened this issue Jan 2, 2024 · 1 comment
Open

👑 [需求] 是否可以有继承的机制 #133

anyone-yuren opened this issue Jan 2, 2024 · 1 comment

Comments

@anyone-yuren
Copy link

🥰 需求描述

如一个公共组件,里面包含组件的基础样式,在实际使用的时候,希望能在变体中重写基础样式。

🧐 解决方案

🚑 其他信息

@arvinxx
Copy link
Collaborator

arvinxx commented Jan 3, 2024

有 stylish 来实现这个需求,不过目前的使用上还没完全想好,因此文档没有透出。如果需要可以查阅下我们的使用案例 https://github.com/lobehub/lobe-ui/blob/master/src/styles/theme/customStylish.ts

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

2 participants