Skip to content

Commit b7aabee

Browse files
committed
Revert "fix dark theme dashboard labels"
This reverts commit ad1ad14.
1 parent ad1ad14 commit b7aabee

2 files changed

Lines changed: 2 additions & 13 deletions

File tree

‎components/dashboard/DashboardLayoutBuilder.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export default function DashboardLayoutBuilder({
295295

296296
{/* ── Right panel: preview ─────────────────────────────────── */}
297297
<div className="flex flex-1 flex-col bg-media-page-bg px-12 py-40">
298-
<p className="font-normal text-heading-2 text-page-text/40">
298+
<p className="font-normal text-heading-2 text-app-strong-text/40">
299299
Dashboard preview
300300
</p>
301301
<div className="mt-9">
@@ -356,7 +356,7 @@ function WidgetCard({
356356
>
357357
<div className="flex w-full flex-col gap-1">
358358
<div className="aspect-[8/5] w-full rounded-xl bg-media-divider" />
359-
<p className="text-left text-paragraph-2 text-page-text">
359+
<p className="text-left text-paragraph-2 text-app-strong-text">
360360
{widget.label}
361361
</p>
362362
</div>

‎tests/e2e/organization-theme.spec.ts‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -256,17 +256,6 @@ test.describe("Organization theme", () => {
256256
"rgb(255, 255, 255)",
257257
);
258258

259-
await page.goto(`${baseUrl}/settings/admindashboard`);
260-
await expect(
261-
page.getByText("Dashboard preview", { exact: true }),
262-
).toHaveCSS("color", "rgba(255, 255, 255, 0.4)");
263-
await expect(
264-
page.getByRole("button", { name: "Events", exact: true }).locator("p"),
265-
).toHaveCSS("color", "rgb(255, 255, 255)");
266-
await expect(
267-
page.getByText("[events widget here]", { exact: true }),
268-
).toHaveCSS("color", "rgba(0, 0, 0, 0.4)");
269-
270259
await expect(page.locator("html")).not.toHaveAttribute(
271260
"data-corner-style",
272261
/.+/,

0 commit comments

Comments
 (0)