From 9d2a8d91087043b433ae384ebf1677cdb5ef509b Mon Sep 17 00:00:00 2001
From: Alejandro Bailo <59607668+alejandrobailo@users.noreply.github.com>
Date: Mon, 1 Jun 2026 14:25:23 +0200
Subject: [PATCH] fix(ui): improve background glow contrast (#11409)
---
.../ui/main-layout/main-layout.test.tsx | 37 +++++++++++++++++++
ui/components/ui/main-layout/main-layout.tsx | 4 +-
2 files changed, 39 insertions(+), 2 deletions(-)
create mode 100644 ui/components/ui/main-layout/main-layout.test.tsx
diff --git a/ui/components/ui/main-layout/main-layout.test.tsx b/ui/components/ui/main-layout/main-layout.test.tsx
new file mode 100644
index 0000000000..3e51bbed36
--- /dev/null
+++ b/ui/components/ui/main-layout/main-layout.test.tsx
@@ -0,0 +1,37 @@
+import { render, screen } from "@testing-library/react";
+import { describe, expect, it, vi } from "vitest";
+
+import MainLayout from "./main-layout";
+
+vi.mock("@/hooks/use-sidebar", () => ({
+ useSidebar: vi.fn(),
+}));
+
+vi.mock("@/hooks/use-store", () => ({
+ useStore: () => ({
+ getOpenState: () => true,
+ settings: { disabled: false },
+ }),
+}));
+
+vi.mock("../sidebar/sidebar", () => ({
+ Sidebar: () => ,
+}));
+
+describe("MainLayout", () => {
+ it("renders subdued background glows for side-nav contrast", () => {
+ render(
+