From 5ef5c6280c1dae8ac56c74596226f8ffbcc94883 Mon Sep 17 00:00:00 2001 From: Kevin Nadro Date: Tue, 25 Feb 2025 22:15:01 -0600 Subject: [PATCH] Fix: revert the red color for runtime error back to the hue shift color (#5509) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: don't use red for runtime error, use hue shift like the original error icon * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * fix: decrease font size for better layout * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) * A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores) --------- Co-authored-by: github-actions[bot] --- src/components/FileTree.tsx | 2 +- src/components/ModelingSidebar/ModelingPanes/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/FileTree.tsx b/src/components/FileTree.tsx index 25b964829..87ddd4d39 100644 --- a/src/components/FileTree.tsx +++ b/src/components/FileTree.tsx @@ -309,7 +309,7 @@ const FileTreeItem = ({ {hasRuntimeError && (

diff --git a/src/components/ModelingSidebar/ModelingPanes/index.tsx b/src/components/ModelingSidebar/ModelingPanes/index.tsx index 27aee3002..92ba51cd6 100644 --- a/src/components/ModelingSidebar/ModelingPanes/index.tsx +++ b/src/components/ModelingSidebar/ModelingPanes/index.tsx @@ -171,7 +171,7 @@ export const sidebarPanes: SidebarPane[] = [ // editorManager.scrollToFirstErrorDiagnosticIfExists() }, className: - 'absolute m-0 p-0 bottom-4 left-4 w-3 h-3 flex items-center justify-center text-[9px] font-semibold text-white bg-red-600 rounded-full border border-red-300 dark:border-red-800 z-50 hover:cursor-pointer hover:scale-[2] transition-transform duration-200', + 'absolute m-0 p-0 bottom-4 left-4 w-3 h-3 flex items-center justify-center text-[9px] font-semibold text-white bg-primary hue-rotate-90 rounded-full border border-chalkboard-10 dark:border-chalkboard-80 z-50 hover:cursor-pointer hover:scale-[2] transition-transform duration-200', title: 'Project files have runtime errors', }, },