-
Notifications
You must be signed in to change notification settings - Fork 1
docs: document removal of the 1.5.0 theme bridge workaround #432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
interacsean
wants to merge
12
commits into
main
Choose a base branch
from
docs/1646-remove-theme-bridge-workaround
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ebefa4e
docs: document removal of the 1.5.0 theme bridge workaround (#1646)
interacsean 8730922
docs: correct the version the theme bridge was restored in, and tighten
interacsean 43edad2
docs: correct version references in the changeset
interacsean ff342b0
docs: fix issues the second adversarial pass found, two self-inflicted
interacsean 10f6cea
Merge branch 'main' into docs/1646-remove-theme-bridge-workaround
interacsean 958733e
docs: curate breaking changes in docs/migrations.md (review feedback)
interacsean 1426b99
Merge remote-tracking branch 'origin/main' into docs/1646-remove-them…
interacsean ef8fd70
docs: ship docs/migrations.md with the package (#1646)
interacsean 0d07788
docs: keep concept docs to the current version, migrations to migrati…
interacsean ce288d5
docs: backfill prior breaking changes into migrations.md
interacsean e25c682
docs: correct stale API guidance in CLAUDE.md and the changeset skill
interacsean 08fb207
Merge branch 'main' into docs/1646-remove-theme-bridge-workaround
IzumiSy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| "@tailor-platform/app-shell": patch | ||
| --- | ||
|
|
||
| Document how to remove the `@theme` bridge workaround, which silently breaks dark mode on 1.7+. | ||
|
|
||
| Apps that pasted the `@theme inline` block, `@custom-variant dark (&:is(.dark *))`, and a copy of the palette into their entry CSS (the workaround while `styles` shipped without the bridge, 1.5.0–1.6.1) keep those definitions winning over AppShell's own palette, because the default palette is imported inside `layer(theme.defaults)` and consumer CSS is unlayered. The build succeeds with no warning, but surfaces added since the copy render light-mode colours in dark mode. | ||
|
|
||
| `docs/concepts/styling-theming.md` now covers how to detect and remove the workaround — including the requirement to be on 1.7.0 or later first, since the workaround is load-bearing before that — and documents `:root` / `:root.dark` as the override form that holds against both the layered default palette and the unlayered branded ones. The bundled `app-shell-patterns` skill no longer tells apps to import the deprecated `@tailor-platform/app-shell/theme.css` shim, and documents dark mode as the `.dark` class rather than `[data-theme="dark"]`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.