mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix loading saving colors
This commit is contained in:
@ -348,25 +348,25 @@ $(document).ready(() => {
|
|||||||
|
|
||||||
$("#main-text-color-picker").on('change', (evt) => {
|
$("#main-text-color-picker").on('change', (evt) => {
|
||||||
power_user.main_text_color = evt.detail.rgba;
|
power_user.main_text_color = evt.detail.rgba;
|
||||||
applyColorDebounced('main');
|
applyThemeColor('main');
|
||||||
saveSettingsDebounced();
|
saveSettingsDebounced();
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#italics-color-picker").on('change', (evt) => {
|
$("#italics-color-picker").on('change', (evt) => {
|
||||||
power_user.italics_text_color = evt.detail.rgba;
|
power_user.italics_text_color = evt.detail.rgba;
|
||||||
applyColorDebounced('italics');
|
applyThemeColor('italics');
|
||||||
saveSettingsDebounced();
|
saveSettingsDebounced();
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#fastui-bg-color-picker").on('change', (evt) => {
|
$("#fastui-bg-color-picker").on('change', (evt) => {
|
||||||
power_user.fastui_bg_color = evt.detail.rgba;
|
power_user.fastui_bg_color = evt.detail.rgba;
|
||||||
applyColorDebounced('fastUIBG');
|
applyThemeColor('fastUIBG');
|
||||||
saveSettingsDebounced();
|
saveSettingsDebounced();
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#blur-tint-color-picker").on('change', (evt) => {
|
$("#blur-tint-color-picker").on('change', (evt) => {
|
||||||
power_user.blur_tint_color = evt.detail.rgba;
|
power_user.blur_tint_color = evt.detail.rgba;
|
||||||
applyColorDebounced('blurTint');
|
applyThemeColor('blurTint');
|
||||||
saveSettingsDebounced();
|
saveSettingsDebounced();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user