Skip to content

Commit 40e0f1c

Browse files
authored
fix(core): restore theme.css compatibility export (#351)
1 parent 820b75b commit 40e0f1c

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

.changeset/cool-forks-juggle.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@tailor-platform/app-shell": patch
3+
---
4+
5+
Restore the `@tailor-platform/app-shell/theme.css` export as a no-op compatibility shim.
6+
7+
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`.

packages/core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"type": "module",
2929
"exports": {
3030
"./styles": "./dist/app-shell.css",
31+
"./theme.css": "./dist/theme.shims.css",
3132
"./themes/*": "./dist/themes/*.css",
3233
".": {
3334
"types": "./dist/app-shell.d.ts",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Deprecated compatibility shim.
3+
*
4+
* `@tailor-platform/app-shell/styles` now includes the default theme tokens,
5+
* so this file intentionally does nothing. Keep exporting it so older apps
6+
* that still import `@tailor-platform/app-shell/theme.css` keep building.
7+
*/

0 commit comments

Comments
 (0)