Skip to content

Commit

Permalink
chore: proper tailwind import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nahoc committed Apr 2, 2024
1 parent cfe61de commit 4abe91a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion config/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ import tailwindcssAnimate from "tailwindcss-animate";

const config = {
darkMode: ["class"],
content: ["../**/*.{js,ts,jsx,tsx}"], // keep this
content: [
"../../apps/**/*.{ts,tsx}",
"../../packages/**/*.{ts,tsx}",
"../../node_modules/@risc0/ui/**/*.{ts,tsx}",
"./node_modules/@risc0/ui/**/*.{ts,tsx}",
"./**/*.{ts,tsx}",
], // keep those imports
prefix: "",
theme: {
container: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risc0/ui",
"version": "0.0.25",
"version": "0.0.26",
"type": "module",
"sideEffects": false,
"scripts": {
Expand Down

0 comments on commit 4abe91a

Please sign in to comment.