sd-webui-kitchen-theme-legacy

[Legacy] 🧿 Kitchen theme for stable diffusion webui,Kitchen Theme has moved into maintenance mode! Recommend using Lobe Theme for more custom features

MIT License

Stars
29
Committers
10

Kitchen Theme for Stable Diffusion WebUI

English · 简体中文 · Changelog · Report Bug · Request Feature

TOC

✨ 特性

  • 🌈 支持亮暗色主题,并一键切换。
  • 🪄 支持 Prompt 格式化。
  • 🎛️ 快捷设置伸缩侧边栏.
  • 🎨 基于 Antd CSS Token。

🖥 兼容环境

Chrome Edge Safari
last 2 versions last 2 versions last 2 versions

⚠️ 目前已知道在 Firefox 火狐浏览器上存在样式兼容问题

📦 安装

作为扩展(推荐) 将存储库克隆到您的扩展文件夹中:

git clone "https://github.com/canisminor1990/sd-web-ui-kitchen-theme" extensions/kitchen-theme

当前主题支持亮暗色双主题,如果你想强制使用暗色模式,使用参数 --theme=dark 启动您的 WebUI。例如,在 Windows 上,您的 webui-user.bat 应包括:

set COMMANDLINE_ARGS= --theme=dark

或通过 URL Props 直接切换

http://localhost:7860/?__theme=light
http://localhost:7860/?__theme=dark

⚠️ 警告:最低要求 gradio-3.23.0 & sd-webui 4c1ad74

⚒️ 推荐设置

Kitchen WebUI Setting 主题设置

👉 Tip: 右上角 图标打开设置面板,当前可用设置如下

  • Prompt Textarea
    • Display mode: scroll 固定高度滚动 | resizable 按文本行数缩放
  • Sidebar
    • Default expand 默认展开: true
    • Display mode: fixed 固定 | float 悬浮
    • Default width 默认宽度: 280
  • ExtraNetwork Sidebar
    • Enable 启用: true
    • Default expand 默认展开: true
    • Display mode: fixed 固定 | float 悬浮
    • Default Width 默认宽度: 340
    • Default card size 模型卡片默认尺寸: 86

Extra-Networks 扩展模型视窗

  • 拇指视图
  • 卡牌宽度: 86
  • 卡牌高度: 128

Quick-Setting 快捷设置

sd_model_checkpoint, sd_vae, CLIP_stop_at_last_layers, img2img_background_color, img2img_color_correction, samples_save, samples_format, grid_save, return_grid,  n_rows, live_previews_enable, show_progress_every_n_steps, live_preview_refresh_period

🪄 提示词格式化

👉 Tip: 全角标点转半角,去除多余空格,补充缺失逗号,把 Extra-Networks 模型移动到末尾

格式化前

photorealistic   photo of a handsome male (wizard  :1.2), <lora:LuisapHotlineStyle:0.5> <lora:ElegantHanfuRuqunStyle:0.2>    short beard, white wizard  shirt, (with golden    trim:0.8),

格式化后

photorealistic photo of a handsome male, (wizard:1.2), short beard, white wizard shirt, (with golden trim:0.8), <lora:LuisapHotlineStyle:0.5>, <lora:ElegantHanfuRuqunStyle:0.2>

⌨️ 本地开发

你可以使用 Gitpod 进行在线开发:

或者克隆到本地开发:

$ git clone https://github.com/canisminor1990/sd-web-ui-kitchen-theme.git
$ cd sd-web-ui-kitchen-theme
$ npm install
$ npm start

🤝 参与贡献

📊 Total: 7

🔗 链接


📝 License

Copyright © 2023 CanisMinor. This project is MIT licensed.