TryGhost
OSS
Ghost
Fixed unstyled shade components in the standalone settings harness no ref - the standalone entry (dev:start + Playwright acceptance) compiled its CSS from src/styles/index.css, which scans admin-x-settings, admin-x-design-system and admin-x-framework sources but never @tryghost/shade — so utilities used only inside shade components (e.g. Separator's h-[1px] bg-border) were never generated, and shade's runtime theme variables (--border etc.) were undefined; shade components rendered with zero dimensions and no colors - in production this never shows because settings is embedded in apps/admin, whose CSS entry @source-scans shade and imports @tryghost/shade/styles.css - added a standalone-only CSS entry that layers shade on top of the existing stylesheet, mirroring how apps/admin composes it; styles/index.css itself is untouched because the library build (src/index.tsx) inlines it into the dist bundle via vite-plugin-css-injected-by-js, and shade CSS must not ride along where the embedded pipeline already provides it - postcss-import dedupes the repeated tailwindcss/utilities.css import, so utilities are still emitted exactly once and existing cascade order in the harness is unchanged
nx run ghost-monorepo:lint:boundaries
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
nx run ghost-monorepo:lint:boundaries
Click to copy
Linux
4 CPU cores
read-write
access token used
afe459ec
29358