# X_STYLES_GLOBAL_MISSING

## Means

a surface renders documents whose CSS defines no `:root` custom properties

## Typical cause

nothing in the app's module graph imports the global layer, so every `var(--color-*)` and `var(--space-*)` a component emits resolves to nothing and the browser drops the declaration

## Fix

add `apps/web/shared/global.scss` containing `@use '@ultimat3/ui/global.scss';` and `apps/web/shared/global.ts` containing `import './global.scss';` — `x new` scaffolds both

[Routes, render and budgets](/error-codes#routes-render-and-budgets)
