fix(demos): solution demo link color + trading demo cleanup - #1864
Merged
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Collaborator
✅ Heimdall Review Status
|
- Force the "See technical details" anchor text to always use the on-blue color (white) across all solution demo snippets, since the platform anchor styling was overriding the .wf-btn color and rendering the link text with a hard-to-read color. - Simplify the trading demo flow from Quote → Approve USDC → Simulate swap → Submit swap to Quote → Simulate swap → Approve + submit swap, removing the standalone approve step and folding approval into the final submit step. - On the Integrate Trading page, remove the "Build a Safe Trade Review" and "Production Checklist" sections, drop the "Supported Chains" card, and change "straightforward ERC-20" to "B20 or ERC-20". Co-Authored-By: Claude <noreply@anthropic.com>
youssefea
force-pushed
the
fix-solutions-demos-trading
branch
from
August 28, 2026 11:00
3713a63 to
043474d
Compare
soheimam
approved these changes
Aug 28, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed? Why?
Fixes several issues in the solutions demos:
.wf-btnclass color. Added ana.wf-btn, a.wf-btn:visited { color }rule in all four solution demo snippets (DeFiDemo,AssetDemo,PaymentsDemo,StablecoinDemo) so the link text is always white (on-blue).Notes to reviewers
DeFiDemo.jsxsnippet is an illustrative mock demo, not one of the byte-for-byte verified samples (examples/verified-doc-samples/typescript/src/defi/trade-0x.ts). The verified sample and its MDX code block are unchanged.a.wf-btncolor rule uses the existing--wf-on-bluetoken, which is#ffffffin both light and dark themes, so the link text stays white in all themes.How has it been tested?
node scripts/lint-mdx.js— 0 errors, 0 warnings.node scripts/verify-doc-samples.js— all 72 verified samples still pass.mintlify devlocal render to visually confirm the link color and the updated trading step flow.Co-Authored-By: Claude noreply@anthropic.com