AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.
HTML ai-agentcloudflarecloudflare-d1cloudflare-r2cloudflare-workersdockerelectronevernoteevernote-alternativeknowledge-basemcpnote-takingobsidian-alternativeoffline-firstpersonal-knowledge-basepwaself-hostedsqlitetiptapweb-clipper
import { describe, expect, test } from "bun:test";
import { readFileSync } from "node:fs";
const loginScreen = readFileSync(new URL("../apps/web/src/components/LoginScreen.tsx", import.meta.url), "utf8");
describe("login screen chrome", () => {
test("keeps the brand wash but does not use inverted-token card shadows", () => {
expect(loginScreen).toContain("radial-gradient");
expect(loginScreen).toMatch(/shadow-\[[^\]]*brand-green-rgb/);
expect(loginScreen).toContain("shadow-[0_20px_50px_rgb(0_0_0/0.08)]");
expect(loginScreen).toContain("backdrop-blur-md");
expect(loginScreen).not.toContain("slate-900-rgb");
});
test("accepts instance hosts without a protocol", () => {
expect(loginScreen).toContain("normalizeInstanceUrl");
expect(loginScreen).toContain('inputMode="url"');
expect(loginScreen).not.toContain('type="url"');
});
});