From c35b08ece503c0b9552f9dacdaefdb8a9eb1d3ed Mon Sep 17 00:00:00 2001 From: xThrasherrr Date: Tue, 29 Sep 2026 23:58:03 -0600 Subject: [PATCH 1/2] fix(resource/web): make nui body background transparent The dark class sits on #root, so body got the light theme's white background and covered the whole game screen in-game. --- apps/resource/web/src/index.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/resource/web/src/index.css b/apps/resource/web/src/index.css index 8d87f93d..af0e4045 100644 --- a/apps/resource/web/src/index.css +++ b/apps/resource/web/src/index.css @@ -93,7 +93,7 @@ body { @apply border-border outline-ring/50; } body { - @apply bg-background text-foreground; + @apply text-foreground; } } @@ -102,6 +102,6 @@ body { @apply border-border outline-ring/50; } body { - @apply bg-background text-foreground; + @apply text-foreground; } } From cb478eafc6d87e0b34e0070d0051f481cbb68837 Mon Sep 17 00:00:00 2001 From: xThrasherrr Date: Tue, 29 Sep 2026 23:58:03 -0600 Subject: [PATCH 2/2] fix(resource/build): run vite before listing manifest files The fxmanifest files list was built before vite wrote dist/web, so a clean build shipped a ui_page with none of its files and later builds listed the previous build's output. --- apps/resource/scripts/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/resource/scripts/build.js b/apps/resource/scripts/build.js index e3608dfd..8efd2c69 100644 --- a/apps/resource/scripts/build.js +++ b/apps/resource/scripts/build.js @@ -38,6 +38,8 @@ createBuilder( }, ], async (outfiles) => { + if (web && !watch) await exec('cd ./web && vite build'); + const files = await getFiles('dist/web', 'static', 'locales'); await createFxmanifest({ client_scripts: [outfiles.client], @@ -49,8 +51,6 @@ createBuilder( node_version: '22', }, }); - - if (web && !watch) await exec('cd ./web && vite build'); }, );