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

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

Open
sk8boi opened this issue Mar 27, 2024 · 2 comments
Labels
🌠 Feature Request New feature or request | 特性与建议 Inactive

Comments

@sk8boi
Copy link

sk8boi commented Mar 27, 2024

🥰 需求描述 | 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’这三种颜色

@sk8boi sk8boi added the 🌠 Feature Request New feature or request | 特性与建议 label Mar 27, 2024
@lobehubbot
Copy link
Member

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
Copy link
Member

👀 @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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 Inactive
Projects
None yet
Development

No branches or pull requests

2 participants