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. + */