import { describe, expect, it } from "vitest";
import { desktopTitleBarColors, desktopWindowBackground } from "../desktop/windowAppearance.js";

describe("desktop window appearance", () => {
  it("matches the renderer's light shell colors", () => {
    expect(desktopTitleBarColors(false)).toEqual({ color: "#ffffff", symbolColor: "#18181b" });
    expect(desktopWindowBackground(false)).toBe("#ffffff");
  });

  it("matches the renderer's dark shell colors", () => {
    expect(desktopTitleBarColors(true)).toEqual({ color: "#27272a", symbolColor: "#fafafa" });
    expect(desktopWindowBackground(true)).toBe("#18181b");
  });
});
