Lobe Theme
The modern theme for stable diffusion webui
Legacy verison a.k.a kitchen theme
English ยท ็ฎไฝไธญๆ ยท Changelog ยท Report Bug ยท Request Feature
๐ฆ After Version 2.0.0 Kitchen theme was renamed to Lobe Theme. The legacy version can be accessed at sd-webui-kitchen-theme-legacy
Table of contents
TOC
โจ Features
-
๐ Supports light and dark themes, with the ability to quickly switch in the navigation bar -
๐ Supports custom theme colors and neutral colors, with the option to customize the logo - ๐ช Supports one-click formatting of the prompt, with a simple tag editor provided
-
๐๏ธ Highly customizable sidebar, with a quick settings sidebar on the left and a model sidebar on the right - ๐ผ๏ธ Adjustable canvas ratio, ensuring that generated images are always displayed at the top
- ๐ฑ Mobile-friendly, with partial optimization for mobile screens
- ๐Support i18n and welcome PR contributions
-
๐ Syntax highlighting in the prompt input box -
๐ฆ Support PWA progressive web app
๐ฆ Installation
Method 1
Search for Lobe Theme
or Kitchen Theme
in the stable diffusion webui plugin market and install it.
๐ Note: Version 2.0.0 was renamed to Lobe Theme
Method 2
As an extension (recommended), clone the repository to your extension folder:
git clone "https://github.com/canisminor1990/sd-webui-lobe-theme" extensions/lobe-theme
๐ Note: minimum requirements gradio-3.23.0 & sd-webui 4c1ad74
๐คฏ Usage
Light and Dark Themes
๐ Tip: You can quickly switch between light and dark themes in the upper-right corner of the navigation bar.
The current theme supports both light and dark themes. If you want to force dark mode, use the --theme=dark
argument to launch your WebUI. For example, on Windows, your webui-user.bat
should include:
set COMMANDLINE_ARGS= --theme=dark
Alternatively, you can switch directly through URL Props:
http://localhost:7860/?__theme=light
http://localhost:7860/?__theme=dark
Theme Customization
๐ Tip: Click theโ
icon in the upper-right corner to open the settings panel. The current available settings are as follows:
- Theme
- Primary color: Currently offers
13
theme color combinations - Neutral color: Currently offers
6
different grayscale color combinations - Logo type:
Lobe
,Kitchen
,Custom
- Custom logo: Supports
img url
,base64
, andemoji
. When a single emoji is entered, it will be automatically replaced with 3D Fluent Emoji. - Custom title: Customize the site name.
- Custom logo: Supports
- Primary color: Currently offers
Prompt Syntax Highlighting
Automatically colorize prompt display according to the Stable Diffusion syntax rules
Sidebar Customization
๐ Tip: Click theโ
icon in the upper-right corner to open the settings panel. The current available settings are as follows:
- Prompt Textarea
- Display mode:
scroll fixed height
|resizable by text lines
- Display mode:
- Sidebar
- Default expand:
true
- Display mode:
fixed
|float
- Default width:
280
- Default expand:
- ExtraNetwork Sidebar
- Enable:
true
- Default expand:
true
- Display mode:
fixed
|float
- Default width:
340
- Default card size:
86
- Enable:
Recommended System Settings
Extra-Networks
- thumbs
- width: 86
- height: 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
Mobile Adaptation
Partial convenience adaptation design has been completed for mobile devices, including breadcrumb foldable navigation bar, sidebar adaptation, etc. However, due to the high complexity and fixed values of the stable diffusion interface, it is difficult to ensure the same user experience as the desktop version. Feedback is welcome for more ideas.
Progress Web App
You can use Progressive Web Apps PWA for a fast stable diffusion experience on your computer or mobile device.
- On your computer, open Chrome.
- Go to stable diffusion website you want to install
- At the top right of the address bar, click
Install
- Follow the onscreen instructions to install the PWA
Prompt formatting
Click the
๐ Tip: Convert full-width punctuation to half-width, remove extra spaces, add missing commas, and move the Extra-Networks model to the end.
Before formatting:
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),
After formatting:
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>
๐ฅ Environment Support
Chrome |
Edge |
Safari |
---|---|---|
last 2 versions | last 2 versions | last 2 versions |
โ ๏ธ There is currently a known compatibility issue with styles on Firefox browser.
โจ๏ธ Local Development
You can use Gitpod for online development:
Alternatively, you can clone it for local development. To enable hot-reloading mode, you need to start stable diffuison on port 7860
in advance.
$ git clone https://github.com/canisminor1990/sd-webui-lobe-theme.git
$ cd sd-webui-lobe-theme
$ pnpm install
$ pnpm start
๐ค Contributing
๐ Total: 7
๐ Credits
- stable-diffusion-webui๏ผhttps://github.com/AUTOMATIC1111/stable-diffusion-webui
- gradio-theme-gallery: https://huggingface.co/spaces/gradio/theme-gallery
- cozy-nest: https://github.com/Nevysha/Cozy-Nest
- before
1.0.0
version- sd-web-ui-quickcs: https://github.com/Gerschel/sd-web-ui-quickcss/
- Dark-Themes-SD-WebUI-Automatic1111: https://github.com/Nacurutu/Dark-Themes-SD-WebUI-Automatic1111
๐ License
Copyright ยฉ 2023 CanisMinor.
This project is MIT licensed.