fix(css): leave tailwind theme vars on :root so obsidian's accent wins inside the panel
This commit is contained in:
@@ -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; }"
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user