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] custom theme color, button click status color is abnormal #13

Closed em64t closed 2 years ago

em64t commented 3 years ago

Element Plus version

1.1.0-beta.12

OS/Browsers version

chrome

Vue version

3.2.11

Reproduction Link

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

Steps to reproduce

1、自定义主题工具即可复现:https://element-plus.github.io/theme-chalk-preview/#/zh-CN 2、随便设置一个主题色 3、点击“搜索”按钮,点击态颜色仍然为原始的蓝色

What is Expected?

按钮点击态应该是主题色的关联颜色

What is actually happening?

按钮点击态的颜色仍然为默认的蓝色

image

element-bot commented 3 years ago

Translation of this issue:

Element Plus version

1.1.0-beta.12

OS/Browsers version

chrome

Vue version

3.2.11

Reproduction Link

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

Steps to reproduce

  1. Customize the theme tool to reproduce: https://element-plus.github.io/theme-chalk-preview/#/zh -CN

  2. Set any theme color

  3. Click the \"search\" button, and the click state color is still the original blue

What is Expected?

The button click status should be the associated color of the theme color

What is actually happening?

The color of the button click status is still the default blue

! image

Alanscut commented 3 years ago

https://github.com/element-plus/theme-chalk-preview/pull/12