sd-webui-prompt-all-in-one/styles/extensions
PTCMode 31fef02d6b [fix] 添加一个临时解决firefox下提示词显示问题的样式方案 2024-12-14 01:51:09 +08:00
..
MyStyle-shuai #290 #300 New feature: Whether to automatically load web UI prompts 2024-02-14 22:47:06 +08:00
Webui #290 #300 New feature: Whether to automatically load web UI prompts 2024-02-14 22:47:06 +08:00
firefox-fix [fix] 添加一个临时解决firefox下提示词显示问题的样式方案 2024-12-14 01:51:09 +08:00
full-input Support for lower versions of WebUI 2023-06-06 15:52:40 +08:00
hide-group-tags-en-text New extension theme: Hide the English label text in the keyword group 2023-08-18 13:02:53 +08:00
hide-input-dropdown Add categories to extension styles 2023-05-21 18:41:04 +08:00
hide-tag-btns Add extension styles: Hide the extension button for tags 2023-05-25 21:16:23 +08:00
hide-tag-btns-blacklist Create style.min.css 2023-08-28 10:05:08 +08:00
hide-tag-btns-weight build 2023-08-27 09:16:01 +08:00
hide-tag-btns-weight-brackets #272 [Feature] Prompt format: Whether to use NovelAI's weight symbol 2023-11-26 20:14:43 +08:00
hide-tag-extra-network-popup UI/UE optimization for Extra Networks in the keyword group 2023-09-16 00:52:08 +08:00
hide-tag-local Support for lower versions of WebUI 2023-06-06 15:52:40 +08:00
left-input Add categories to extension styles 2023-05-21 18:41:04 +08:00
line-breaks-new-line Fix the issue #63 2023-05-22 14:09:40 +08:00
minimalist #290 #300 New feature: Whether to automatically load web UI prompts 2024-02-14 22:47:06 +08:00
remove-hide-default-input #287 [Extension Style] Remove the "Show/Hide default input box" checkbox 2023-12-24 14:31:14 +08:00
setting-btns-top #173 New extension theme: Move the settings button popup to the top 2023-08-18 18:08:44 +08:00
tag-btns-right Support for lower versions of WebUI 2023-06-06 15:52:40 +08:00
tag-group-tweak build 2023-08-26 08:44:41 +08:00
tag-weight-character Change the type 2023-05-25 10:36:15 +08:00
weaken-keywords Support for lower versions of WebUI 2023-06-06 15:52:40 +08:00
README.MD Add categories to extension styles 2023-05-21 18:41:04 +08:00
demo.zip Support for lower versions of WebUI 2023-06-06 15:52:40 +08:00

README.MD

English

Guide to Developing Extension Styles

  • Each extension style is a separate folder.
  • The extension style folder must contain a manifest.json file, which provides basic information about the extension style.
  • The extension style folder must contain a style.min.css file. The style.min.css file is the main file of the extension style, and other *.css files will be ignored.
  • If you need to load images in CSS files, you can use the /physton_prompt/styles?file=extensions/扩展文件夹名/图片文件名 URL format to load them.
  • There is a demo.zip file in the current directory that you can refer to.

manifest.json Format

{
  "name": "Move the keyword input box to the left",
  "i18n": {
    "zh_CN": "移动关键词输入框到左侧",
    "zh_HK": "移動關鍵字輸入框到左側",
    "zh_TW": "移動關鍵字輸入框到左側"
  },
  "author": "Physton",
  "type": "enhance"
}
  • name The English name of the extension style, which must be included.
  • i18n The multilingual name(s) of the extension style, which can be absent or multiple. The language codes are available in the i18n.json file in the root directory of the extension.
  • author The author of the extension style, which can be absent.
  • type The type of the extension style. The value can be enhance or theme.

简体中文:

扩展样式开发说明

  • 每个扩展样式都是一个独立的文件夹。
  • 扩展样式文件夹下必须包含一个manifest.json文件,用于说明扩展样式的基本信息。
  • 扩展样式文件夹下必须包含一个style.min.css文件。style.min.css文件是扩展样式的主文件,其他*.css文件都将被忽略。
  • 在css文件中如果需要加载图片可以使用/physton_prompt/styles?file=extensions/扩展文件夹名/图片文件名的URL方式加载。
  • 在当前文件中有一份demo.zip文件,可以用于参考。

manifest.json 格式

{
  "name": "Move the keyword input box to the left",
  "i18n": {
    "zh_CN": "移动关键词输入框到左侧",
    "zh_HK": "移動關鍵字輸入框到左側",
    "zh_TW": "移動關鍵字輸入框到左側"
  },
  "author": "Physton",
  "type": "enhance"
}
  • name 扩展样式的英文名称,必须包含。
  • i18n 扩展样式的多语言名称,可以没有,可以为多个。国家语言代码见扩展根目录的 i18n.json 文件。
  • author 扩展样式的作者,可以没有。
  • type 扩展样式的类型。值可以为 enhance:增强 或 theme:主题。