fix(css): leave tailwind theme vars on :root so obsidian's accent wins inside the panel

This commit is contained in:
hh
2026-08-29 19:42:55 +02:00
parent ab22efff7b
commit 353ee143f6
2 changed files with 7 additions and 10 deletions
+2 -2
View File
@@ -42,9 +42,9 @@ describe("scoping the built stylesheet", () => {
expect(out).not.toContain("*)*");
});
it("moves theme variables from :root onto the view root", () => {
it("leaves tailwind's theme variables on :root, under obsidian's body values", () => {
expect(one(":root,:host{--spacing:.25rem}")).toBe(
".beaver-root { --spacing: .25rem; }"
":root, :host { --spacing: .25rem; }"
);
});