From 54c37e945bc3df0b39f6ced8d38361323cad0508 Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Fri, 22 Sep 2023 22:16:24 +0900 Subject: [PATCH] fix themes application, refactor user settings --- public/css/st-tailwind.css | 4 + public/index.html | 548 +++++++++--------- .../scripts/extensions/settingsearch/index.js | 4 +- public/scripts/power-user.js | 117 ++-- public/style.css | 9 +- 5 files changed, 364 insertions(+), 318 deletions(-) diff --git a/public/css/st-tailwind.css b/public/css/st-tailwind.css index fe6258bd6..5d51dcb70 100644 --- a/public/css/st-tailwind.css +++ b/public/css/st-tailwind.css @@ -262,6 +262,10 @@ flex-flow: column; } +.flexFlowRow { + flex-flow: row; +} + .wideMinContent { width: min-content; } diff --git a/public/index.html b/public/index.html index ac49649d3..47f7af1a4 100644 --- a/public/index.html +++ b/public/index.html @@ -2687,24 +2687,66 @@
-
-

User Settings

-
-
-
-
-
-
-

- UI Mode -

-
-
-

UI Colors

+
+
+ Language + +
+ +
+
+ + +
+
+
+
+
+

+ Theme Preset +

+
+ + +
+
+
+

Theme Settings

+
+
+ Avatars: + +
+
+ Chat Style:
+ +
+
+
+
Main Text @@ -2742,7 +2784,23 @@ AI Message
-
+ +
+
+
+ Chat Width (PC) +
+
+
+ +
+ 25% + 50% + 75% +
+
+
+
Font Scale @@ -2789,289 +2847,233 @@
-
-

- UI Language -

-
- -
-
-
-

- UI Theme Preset -

-
- - -
-
-
-

- MovingUI Preset -

-
- - -
- -
-
-
-

UI Customization

-
-
- Chat Width (PC) -
-
-
- -
- 25% - 50% - 75% +
+
+

Theme Toggles

+ + + + + + + + + + + + + + + + +
+

Miscellaneous

+
+ + + + + +
+
+ MUI Preset: +
+ +
-
- Avatar Style:
-
+
+
+
+
+

Character Handling

+ -
-
- Message Style:
- -
-
-
- -
-
-
-

Power User Options

- - - - - - - - - - - - - - - - - - - - - - -
-
- Auto-swipe -
-
-
- -
Minimum generated message length
- -
Blacklisted words
-
- -
Blacklisted word count to swipe
- +
+
+ Auto-swipe +
+
+
+ +
Minimum generated message length
+ +
Blacklisted words
+
+ +
Blacklisted word count to swipe
+ +
-