Skip to content

Bullseye110/new-theme

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Lobe Theme

The modern theme for stable diffusion webui
Legacy verison a.k.a kitchen theme

English ยท Russian ยท ็ฎ€ไฝ“ไธญๆ–‡ ยท Changelog ยท Report Bug ยท Request Feature


Warning

Lobe Theme v3 is compatible with SD WebUI v1.6 and is not backwards compatible. Versions below < 1.6 should be moved to the branch legacy-sd-webui-1.5

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/lobehub/sd-webui-lobe-theme" extensions/lobe-theme

Important

minimum requirements gradio-3.41.2 & sd-webui 1.6

Upstream Sync

Star Us๏ผŒYou will receive all releases notifications from GitHub without any delay ~ โญ๏ธ

Star History

๐Ÿคฏ 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, and emoji. When a single emoji is entered, it will be automatically replaced with 3D Fluent Emoji.
      • Custom title: Customize the site name.

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
  • 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
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 ๐Ÿช„ button below Prompt to format the prompt words with one click.

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
Chrome
Edge
Edge
Safari
Safari
last 2 versions last 2 versions last 2 versions

Caution

There is currently a known compatibility issue with styles on Firefox browser.

๐Ÿ“ฆ Ecosystem

NPM Repository Description Version
@lobehub/ui lobehub/lobe-ui Lobe UI is an open-source UI component library dedicated to building AIGC web applications.
@lobehub/lint lobehub/lobe-lint LobeLint provides configurations for ESlint, Stylelint, Commitlint, Prettier, Remark, and Semantic Release for LobeHub.
@lobehub/assets lobehub/assets Logo assets, favicons, webfonts for LobeHub.

โŒจ๏ธ Local Development

You can use Github Codespaces 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/lobehub/sd-webui-lobe-theme.git
$ cd sd-webui-lobe-theme
$ bun install
$ bun dev

๐Ÿค Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what youโ€™re made of.

๐Ÿ”— Links

More Products

  • ๐Ÿค– Lobe Chat : An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application.
  • ๐ŸŒ Lobe i18n : Lobe i18n is an automation tool for the i18n (internationalization) translation process, powered by ChatGPT. It supports features such as automatic splitting of large files, incremental updates, and customization options for the OpenAI model, API proxy, and temperature.
  • ๐Ÿ’Œ Lobe Commit : Lobe Commit is a CLI tool that leverages Langchain/ChatGPT to generate Gitmoji-based commit messages.

Credits


๐Ÿ“ License

Copyright ยฉ 2023 CanisMinor.
This project is AGPL3 licensed.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.7%
  • Python 4.2%
  • Other 1.1%