Skip to content

Commit a4b8d62

Browse files
committed
fix(playground): fix css dark mode
1 parent 92a982c commit a4b8d62

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

playground/src/Activate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { useState } from "react";
21
import { Button } from "@matechat/react/button";
32
import { createOpenAIBackend } from "@matechat/react/utils/backend";
43
import { agent } from "@matechat/react/utils/core";
4+
import { useState } from "react";
55

66
export function Activate({ onActivate }: { onActivate: () => void }) {
77
const [token, setToken] = useState("");

playground/src/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
@import "tailwindcss";
22
@source "../../src/";
3+
@custom-variant dark (&:where(.dark, .dark *));

0 commit comments

Comments
 (0)