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

Less variables without less #45

Closed
MarcM0 opened this issue Jun 29, 2021 · 2 comments
Closed

Less variables without less #45

MarcM0 opened this issue Jun 29, 2021 · 2 comments
Labels
invalid This doesn't seem right

Comments

@MarcM0
Copy link

MarcM0 commented Jun 29, 2021

What problem does this feature solve? (这个功能解决了什么问题)
Using less requires major changes to many projects

Describe the solution you'd like (描述您想要的解决方案)
Ability to change the variables in var.less (at least btn-primary-color) without using less

What does the proposed API look like? (你期望的 API 是怎样的)
maybe an option here? https://market.m.taobao.com/app/chatui/theme-builder/index.html

@MarcM0 MarcM0 added the enhancement New feature or request label Jun 29, 2021
@akai
Copy link
Collaborator

akai commented Jun 30, 2021

You can override the style with css

.Btn--primary {}

@akai akai closed this as completed Jun 30, 2021
@akai akai added invalid This doesn't seem right and removed enhancement New feature or request labels Jun 30, 2021
@MarcM0
Copy link
Author

MarcM0 commented Jun 30, 2021

ah yes, I added
/* Change text colour in primary button */ .Btn--primary { color:var(--white) }
in the edit mode section of the site https://market.m.taobao.com/app/chatui/theme-builder/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants