Skip to content

Commit

Permalink
Tailwind dark variant working (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed Apr 12, 2024
1 parent b682091 commit 5d4f1c4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 19 deletions.
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"eslint-plugin-prettier": "^4.2.1",
"postcss": "^8.4.16",
"prettier": "^2.8.4",
"tailwindcss": "^3.3.3",
"tailwindcss": "^3.4.3",
"type-fest": "^4.6.0",
"typescript": "^5.1.6",
"vercel": "^32.4.1"
Expand Down
1 change: 1 addition & 0 deletions packages/nextjs/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
content: ["./app/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}", "./utils/**/*.{js,ts,jsx,tsx}"],
plugins: [require("daisyui")],
darkTheme: "dark",
darkMode: ["selector", "[data-theme='dark']"],
// DaisyUI theme colors
daisyui: {
themes: [
Expand Down
40 changes: 22 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1886,7 +1886,7 @@ __metadata:
react-copy-to-clipboard: ^5.1.0
react-dom: ^18.2.0
react-hot-toast: ^2.4.0
tailwindcss: ^3.3.3
tailwindcss: ^3.4.3
type-fest: ^4.6.0
typescript: ^5.1.6
use-debounce: ^8.0.4
Expand Down Expand Up @@ -7097,7 +7097,7 @@ __metadata:
languageName: node
linkType: hard

"fast-glob@npm:^3.0.3, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.7, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.1":
"fast-glob@npm:^3.0.3, fast-glob@npm:^3.2.7, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.1":
version: 3.3.1
resolution: "fast-glob@npm:3.3.1"
dependencies:
Expand All @@ -7110,6 +7110,19 @@ __metadata:
languageName: node
linkType: hard

"fast-glob@npm:^3.3.0":
version: 3.3.2
resolution: "fast-glob@npm:3.3.2"
dependencies:
"@nodelib/fs.stat": ^2.0.2
"@nodelib/fs.walk": ^1.2.3
glob-parent: ^5.1.2
merge2: ^1.3.0
micromatch: ^4.0.4
checksum: 900e4979f4dbc3313840078419245621259f349950411ca2fa445a2f9a1a6d98c3b5e7e0660c5ccd563aa61abe133a21765c6c0dec8e57da1ba71d8000b05ec1
languageName: node
linkType: hard

"fast-json-stable-stringify@npm:^2.0.0":
version: 2.1.0
resolution: "fast-json-stable-stringify@npm:2.1.0"
Expand Down Expand Up @@ -9023,16 +9036,7 @@ __metadata:
languageName: node
linkType: hard

"jiti@npm:^1.18.2":
version: 1.20.0
resolution: "jiti@npm:1.20.0"
bin:
jiti: bin/jiti.js
checksum: 7924062b5675142e3e272a27735be84b7bfc0a0eb73217fc2dcafa034f37c4f7b4b9ffc07dd98bcff0f739a8811ce1544db205ae7e97b1c86f0df92c65ce3c72
languageName: node
linkType: hard

"jiti@npm:^1.20.0":
"jiti@npm:^1.20.0, jiti@npm:^1.21.0":
version: 1.21.0
resolution: "jiti@npm:1.21.0"
bin:
Expand Down Expand Up @@ -13126,19 +13130,19 @@ __metadata:
languageName: node
linkType: hard

"tailwindcss@npm:^3.3.3":
version: 3.3.3
resolution: "tailwindcss@npm:3.3.3"
"tailwindcss@npm:^3.4.3":
version: 3.4.3
resolution: "tailwindcss@npm:3.4.3"
dependencies:
"@alloc/quick-lru": ^5.2.0
arg: ^5.0.2
chokidar: ^3.5.3
didyoumean: ^1.2.2
dlv: ^1.1.3
fast-glob: ^3.2.12
fast-glob: ^3.3.0
glob-parent: ^6.0.2
is-glob: ^4.0.3
jiti: ^1.18.2
jiti: ^1.21.0
lilconfig: ^2.1.0
micromatch: ^4.0.5
normalize-path: ^3.0.0
Expand All @@ -13155,7 +13159,7 @@ __metadata:
bin:
tailwind: lib/cli.js
tailwindcss: lib/cli.js
checksum: 0195c7a3ebb0de5e391d2a883d777c78a4749f0c532d204ee8aea9129f2ed8e701d8c0c276aa5f7338d07176a3c2a7682c1d0ab9c8a6c2abe6d9325c2954eb50
checksum: 7d181a6aafb520c5760d23d0a199444a324dfa36538edd31934daa253ed9a7ac4bde18c4205aaa89c1269bc2ff11781efda04d2e27ded535a9a2547667a344b1
languageName: node
linkType: hard

Expand Down

0 comments on commit 5d4f1c4

Please sign in to comment.