Skip to content

Commit 90e561f

Browse files
committed
style: add custom variant for dark mode in global CSS
1 parent 8113b4d commit 90e561f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/src/global.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import "../../node_modules/@kleros/ui-components-library/dist/assets/theme.css";
22
@tailwind utilities;
33
@import "tailwindcss" source("../../node_modules/@kleros/ui-components-library");
4+
@custom-variant dark (&:where(.dark, .dark *));
45

56
@theme {
67
--color-white: #ffffff;

0 commit comments

Comments
 (0)