element-plus / theme-chalk-preview

Preview and download custom Element Plus theme-chalk.
https://element-plus.github.io/theme-chalk-preview/
13 stars 8 forks source link

[Bug Report] button primary color not change #9

Closed lemoe2021 closed 3 years ago

lemoe2021 commented 3 years ago

Element Plus version

1.1.0-beta.9

OS/Browsers version

Chrome

Vue version

3.2.10

Reproduction Link

https://element-plus.github.io/theme-chalk-preview/#/zh-CN

Steps to reproduce

  1. Change theme color

  2. Search button's color is not change

  3. 切换主题色

  4. 搜索按钮颜色不变

What is Expected?

Button, dropdown, tag, and so on should also be changed to theme color.

按钮,下拉菜单,标签等都应该变成主题色。

What is actually happening?

Many components still remains blue theme color.

许多组件仍然保持蓝色主题色。另外下载主题那个按钮报错了。

element-bot commented 3 years ago

Translation of this issue:

Element Plus version

1.1.0-beta.9

OS/Browsers version

Chrome

Vue version

3.2.10

Reproduction Link

https://element-plus.github.io/theme-chalk-preview/#/zh -CN

Steps to reproduce

  1. Change theme color

  2. Search button's color is not change

  3. Switch theme color

  4. The color of the search button remains unchanged

    What is Expected?

Button, dropdown, tag, and so on should also be changed to theme color. Buttons, drop-down menus, labels, etc. should all become theme colors.

What is actually happening?

Many components still remains blue theme color.

Many components still maintain the blue theme color. In addition, the download theme button reported an error.

imswk commented 3 years ago

refer to element-plus/element-plus#3119

Alanscut commented 3 years ago

The request path is wrong.

Alanscut commented 3 years ago

I submitted a pull request and tried to fix it: https://github.com/element-plus/theme-chalk-preview/pull/8/commits/f982b9689bf6438f2920856720001be3787477d9