From 4ec6155b8cac67a52a09d3ddf28e9272064d78b3 Mon Sep 17 00:00:00 2001 From: somebody Date: Mon, 5 Sep 2022 21:44:17 -0500 Subject: [PATCH 1/3] Gruvbox Dark: Fix theme Was it broken? Was it like this the whole time? We'll never know! --- themes/Gruvbox Dark.css | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/themes/Gruvbox Dark.css b/themes/Gruvbox Dark.css index 241b55ca..9c49cadc 100644 --- a/themes/Gruvbox Dark.css +++ b/themes/Gruvbox Dark.css @@ -113,11 +113,11 @@ --flyout_background: var(--layer1_palette); --flyout_background_pinned: var(--gruvbox-dark0-soft); - --setting_background: var(--gruvbox-dark0-soft); + --setting_background: var(--gruvbox-dark1); --setting_text: var(--gruvbox-light0); --button_text: var(--setting_text); - --button_background: var(--setting_background); + --button_background: var(--gruvbox-dark2); --sample_order_select_color: var(--gruvbox-dark2); --sample_order_select_color_text: var(--gruvbox-light2); @@ -181,6 +181,9 @@ --radius_item_popup: 0px; --radius_wi_card: 0px; --radius_settings_button: 5px; + --radius_settings_button: 0px; + --radius_alternate_button: 0px; + --radius_palette_card: 0px; /* Variables */ --flyout_menu_closed_width: 0px; @@ -217,8 +220,6 @@ input, textarea{ } select { - color: var(--gruvbox-light0) !important; - background-color: var(--gruvbox-dark0-soft); border: 1px solid var(--gruvbox-dark2); border-radius: 0px !important; padding: 8px; @@ -264,6 +265,10 @@ hr, #token-breakdown-container, .tabrow::before { border-color: var(--gruvbox-neutral-aqua); } +.settings_button { + border: 0px !important; +} + /* Firefox hacks, add this to upstream when done testing */ input[type="range"]::-moz-range-thumb { background-color: var(--rangeslider_circle_color); From 63d38d599fa0377680727e7b0bb4e26234445454 Mon Sep 17 00:00:00 2001 From: somebody Date: Mon, 5 Sep 2022 21:52:52 -0500 Subject: [PATCH 2/3] Disable selecting sampler order --- static/koboldai.css | 1 + 1 file changed, 1 insertion(+) diff --git a/static/koboldai.css b/static/koboldai.css index dbb92f6a..31ea87e4 100644 --- a/static/koboldai.css +++ b/static/koboldai.css @@ -2009,6 +2009,7 @@ h2 .material-icons-outlined { .collapsable_header, .section_header, .help_text, +.sample_order, .noselect { -webkit-touch-callout: none; -webkit-user-select: none; From 4c9ca22d746e0ab133b6deffdfaa3676da3ac051 Mon Sep 17 00:00:00 2001 From: somebody Date: Mon, 5 Sep 2022 21:56:26 -0500 Subject: [PATCH 3/3] Fix sampling, repetition, and biasing collapsables They didn't work due to the help texts, as they collapse the next sibling. Good to know! --- templates/settings flyout.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/settings flyout.html b/templates/settings flyout.html index fa891b83..9b2e802a 100644 --- a/templates/settings flyout.html +++ b/templates/settings flyout.html @@ -105,8 +105,8 @@

expand_more Sampling

- Change how the AI decides what to say.
+ Change how the AI decides what to say.
@@ -140,8 +140,8 @@

expand_more Repetition

- Change how the AI combats repetition.
+ Change how the AI combats repetition. {% with sub_path='Repetition' %} {% include 'settings item.html' %} {% endwith %} @@ -205,8 +205,8 @@

expand_more Biasing

- Influence the likelihood for the AI to output certain phrases.
+ Influence the likelihood for the AI to output certain phrases.
Phrase
Score