Skip to content

Commit cf53e8d

Browse files
authored
Revert "Update primevue/themes to 4.0.0 (#378)" (#379)
This reverts commit d1d4324.
1 parent d1d4324 commit cf53e8d

File tree

3 files changed

+25
-15
lines changed

3 files changed

+25
-15
lines changed

package-lock.json

Lines changed: 21 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"dependencies": {
5858
"@atlaskit/pragmatic-drag-and-drop": "^1.2.1",
5959
"@comfyorg/litegraph": "^0.7.44",
60-
"@primevue/themes": "^4.0.0",
60+
"@primevue/themes": "^4.0.0-rc.2",
6161
"@vitejs/plugin-vue": "^5.0.5",
6262
"class-transformer": "^0.5.1",
6363
"dotenv": "^16.4.5",

src/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ app
2727
options: {
2828
prefix: 'p',
2929
cssLayer: false,
30-
darkModeSelector: '.dark-theme'
30+
// This is a workaround for the issue with the dark mode selector
31+
// https://github.com/primefaces/primevue/issues/5515
32+
darkModeSelector: '.dark-theme, :root:has(.dark-theme)'
3133
}
3234
}
3335
})

0 commit comments

Comments
 (0)