From a445ffce233082fd32fca367c0b8bea970ebe013 Mon Sep 17 00:00:00 2001 From: IzumiSy Date: Thu, 2 Jul 2026 14:11:23 +0900 Subject: [PATCH] fix(core): restore theme.css compatibility export --- .changeset/cool-forks-juggle.md | 7 +++++++ packages/core/package.json | 1 + packages/core/src/assets/theme.shims.css | 7 +++++++ 3 files changed, 15 insertions(+) create mode 100644 .changeset/cool-forks-juggle.md create mode 100644 packages/core/src/assets/theme.shims.css diff --git a/.changeset/cool-forks-juggle.md b/.changeset/cool-forks-juggle.md new file mode 100644 index 00000000..abfa0f4c --- /dev/null +++ b/.changeset/cool-forks-juggle.md @@ -0,0 +1,7 @@ +--- +"@tailor-platform/app-shell": patch +--- + +Restore the `@tailor-platform/app-shell/theme.css` export as a no-op compatibility shim. + +Apps that still import `@tailor-platform/app-shell/theme.css` alongside `@tailor-platform/app-shell/styles` now keep building while the real theme tokens continue to come from `styles`. diff --git a/packages/core/package.json b/packages/core/package.json index 9963576b..ee73d3b3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -28,6 +28,7 @@ "type": "module", "exports": { "./styles": "./dist/app-shell.css", + "./theme.css": "./dist/theme.shims.css", "./themes/*": "./dist/themes/*.css", ".": { "types": "./dist/app-shell.d.ts", diff --git a/packages/core/src/assets/theme.shims.css b/packages/core/src/assets/theme.shims.css new file mode 100644 index 00000000..cb8d328d --- /dev/null +++ b/packages/core/src/assets/theme.shims.css @@ -0,0 +1,7 @@ +/* + * Deprecated compatibility shim. + * + * `@tailor-platform/app-shell/styles` now includes the default theme tokens, + * so this file intentionally does nothing. Keep exporting it so older apps + * that still import `@tailor-platform/app-shell/theme.css` keep building. + */