From e216d5560a88f09adb3e3cf066bb4614d49a749f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20Jurre=20de=20Ruiter?= <62119716+Jurredr@users.noreply.github.com> Date: Fri, 22 Nov 2024 18:45:29 +0100 Subject: [PATCH] fix(amazonq): default info color on dark themes changed to blue (#5096) The default fallback info color for AmazonQ was set to #A0A0A0 for dark themes. This is a gray color, but the info color should be blue by default, so that in themes that don't set this variable (like Darcula), a blue color is used as intended. --- .../bugfix-df4f6f49-36d7-487b-8a3f-591d32a70b60.json | 4 ++++ .../services/amazonq/webview/theme/EditorThemeAdapter.kt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changes/next-release/bugfix-df4f6f49-36d7-487b-8a3f-591d32a70b60.json diff --git a/.changes/next-release/bugfix-df4f6f49-36d7-487b-8a3f-591d32a70b60.json b/.changes/next-release/bugfix-df4f6f49-36d7-487b-8a3f-591d32a70b60.json new file mode 100644 index 0000000000..22044ad184 --- /dev/null +++ b/.changes/next-release/bugfix-df4f6f49-36d7-487b-8a3f-591d32a70b60.json @@ -0,0 +1,4 @@ +{ + "type" : "bugfix", + "description" : "Amazon Q Chat: Changed default info color on dark themes to be blue, instead of gray" +} \ No newline at end of file diff --git a/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/EditorThemeAdapter.kt b/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/EditorThemeAdapter.kt index 3727ea17bb..4f56b12799 100644 --- a/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/EditorThemeAdapter.kt +++ b/plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/theme/EditorThemeAdapter.kt @@ -108,7 +108,7 @@ class EditorThemeAdapter { secondaryButtonBackground = themeColor("Button.startBackground", default = 0xFFFFFF, darkDefault = 0x4C5052), secondaryButtonForeground = themeColor("Button.foreground", default = 0x000000, darkDefault = 0xBBBBBB), - info = themeColor("ProgressBar.progressColor", default = 0x1E82E6, darkDefault = 0xA0A0A0), + info = themeColor("ProgressBar.progressColor", default = 0x1E82E6, darkDefault = 0x1E82E6), success = themeColor("ProgressBar.passedColor", default = 0x34B171, darkDefault = 0x008F50), warning = themeColor("Component.warningFocusColor", default = 0xE2A53A), error = themeColor("ProgressBar.failedColor", default = 0xD64F4F, darkDefault = 0xE74848),