Sign In

SD WebUI Prompt Style

Updated: May 24, 2024

toolextensionautomatic1111webui

Download

1 variant available

Archive Other

45.43 KB

Verified:

Type

Other

Stats

237

Reviews

Published

May 24, 2024

Base Model

Other

Hash

AutoV2
A9DB9D93DD
Winter Contest 2025 Participation Badge Animated
NNAI's Avatar

NNAI

SD WebUI Prompt Style

Extension for AUTOMATIC1111/stable-diffusion-webui to colorize your prompt.

Install

  • Open the Extensions tab and navigate to Install from URL.

  • Paste the repository URL into the URL for extension's git repository field:

        https://github.com/bandifiu/sd-webui-prompt-style.git
    
  • Press the Install button.

  • Restart the WebUI using Reload UI button

Customization

You can customize colors by changing CSS variables in your user.css at the root of WebUI intallation.

  • If no user.css file present, create one

  • The following variables are available.

  • Reload the browser.

.prompt-style {
    --keyword-color: var(--body-text-color);
    --keyword-odd-color: #a0c1f7;
    --colon-color: #56fd6c;         /* :            */
    --block-color: #ee6565;         /* ( )          */
    --block-brackets-color: #56fd6c;/* [ ]          */
    --block-angle-color: yellow;    /* < >          */
    --network-type-color: yellow;  
    --network-color: orange;        /* LoRa name    */
    --pipe-color: #e93232;          /* |            */
    --break-color: #e93232;         /* BREAK        */
    --delimiter-color: white;       /* ,            */
    --weight-down-color: #1bff39;   /* weight < 1   */
    --weight-up-color: #ee6565;     /* weight > 1   */
    --weight-color: #1bff39;        /* weight = 1   */
    --comment-color: #0a941d;       /* #comment     */
}