lobehub / sd-webui-lobe-theme

🅰️ Lobe theme - The modern theme for stable diffusion webui, exquisite interface design, highly customizable UI, and efficiency boosting features.
https://github.com/AUTOMATIC1111/stable-diffusion-webui
GNU Affero General Public License v3.0
2.4k stars 223 forks source link

[Request] 请取一个需求概要描述标题 | Please take a brief description of the title #555

Open sk8boi opened 6 months ago

sk8boi commented 6 months ago

🥰 需求描述 | Feature Description

作者您好,我有一个问题想请教您,我在尝试webui界面的风格代码修改时,类似这种颜色风格的Generate按钮 image

🧐 解决方案 | Proposed Solution

我曾尝试在stable-diffusion-webui目录下的style.css文件下添加指定风格 和在stable-diffusion-webui/modules目录下的ui_toprow.py指定对应的id image 但都失败,我想请教您是怎么样修改这个样式的

📝 补充信息 | Additional Information

Gradio的Button组件中的variant参数默认只有 ‘primary’、‘secondary’ 和 ‘stop’这三种颜色

lobehubbot commented 6 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Requirement Description | Feature Description

Hello author, I have a question to ask you. When I was trying to modify the style code of the webui interface, I found a Generate button with a similar color style. image

🧐 Solution | Proposed Solution

I have tried to add the specified style under the style.css file in the stable-diffusion-webui directory Specify the corresponding id with ui_toprow.py in the stable-diffusion-webui/modules directory image But all failed. I would like to ask you how to modify this style.

📝 Additional Information |

By default, the variant parameters in Gradio’s Button component only have three colors: ‘primary’, ‘secondary’ and ‘stop’.

lobehubbot commented 6 months ago

👀 @sk8boi

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。