From 0cb044c48590b7c8d76bfa819442b79ca45e3ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20=20Sk=C3=B6ld?= Date: Mon, 15 Jul 2024 02:22:42 +0200 Subject: [PATCH] Update default colors to be more pleasant --- web/js/textbox.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/web/js/textbox.js b/web/js/textbox.js index 2e5041e..64e604d 100644 --- a/web/js/textbox.js +++ b/web/js/textbox.js @@ -108,10 +108,11 @@ app.registerExtension({ customTextboxColors == '' || customTextboxColors.length == 0 ) { const defaultColors = [ - 'rgba(0, 255, 0, 0.5)', - 'rgba(0, 0, 255, 0.5)', - 'rgba(255, 0, 0, 0.5)', - 'rgba(255, 255, 0, 0.5)', + '#559c22', + '#229c57', + '#229c8b', + '#226f9c', + '#22479c', ]; inputEl.colors = defaultColors; inputEl.errorColor = 'var(--error-text)'; @@ -318,7 +319,7 @@ const settingsDefinitions = [ id: 'sn0w.TextboxColors', name: '[Sn0w] Custom Textbox Colors', type: SettingUtils.createMultilineSetting, - defaultValue: 'rgba(0, 255, 0, 0.5)\nrgba(0, 0, 255, 0.5)\nrgba(255, 0, 0, 0.5)\nrgba(255, 255, 0, 0.5)', + defaultValue: '#559c22\n#229c57\n#229c8b\n#226f9c\n#22479c', attrs: { tooltip: 'A list of either rgb or hex colors, one color per line.' }, }, {