Conversation
Adopt Software Mansion's t-rex-ui Docusaurus theme for a premium feel, rebranded to Fishjam (orange accents, warm neutrals, beige navbar/footer, DM Sans). Light-only is preserved; Shiki + Twoslash + copy button, Scalar REST, /search and the Ask-AI sidepanel all keep working. t-rex-ui 1.3.3 constrains the toolchain, so this also: - Pins the whole Docusaurus tree to 3.9.2 via `resolutions` (t-rex uses 3.9-only theme-common internals; renames future.faster -> experimental_faster). - Bumps React 18 -> 19 (t-rex bundles a React 19 JSX runtime; also aligns with the repo's existing @types/react@19 / react-native 0.80). - Adds an inline configureWebpack plugin to transpile t-rex's untranspiled JSX under node_modules (Docusaurus excludes node_modules otherwise). - Swaps @docsearch/docusaurus-adapter for classic Algolia (themeConfig.algolia) so t-rex's navbar search works; moves Ask-AI keys to customFields.askAi (still rendered via @docsearch/react in Root). Theme tokens vendored in src/css/trex-theme.css; Fishjam overrides in custom.css remap t-rex's navy/purple base scales to the brand palette.
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
Adopts Software Mansion's t-rex-ui Docusaurus theme (suggested in FCE-2061) for a premium look, rebranded to Fishjam — orange
#dd6460accents, warm near-black text, beige navbar/footer, DM Sans. Light-only is preserved.Build is green (1146 pages, 0 SSG failures),
tscclean. Preview locally:yarn build && yarn serve→ search/code/Scalar render on docs pages.t-rex-ui 1.3.3 hard-constrains the stack, so this PR also:
resolutions— t-rex imports 3.9-onlytheme-commoninternals (useKeyboardNavigation, removed in 3.10).future.faster→future.experimental_faster. This is the main thing to sign off on.@types/react@19+react-native@0.80(needs 19).Other notable changes
configureWebpackplugin transpiles t-rex's untranspiled JSX shipped undernode_modules(Docusaurus'sexcludeJSskips node_modules).@docsearch/docusaurus-adapter→ classic Algolia (themeConfig.algolia, bundled in preset-classic) because t-rex's navbar search readsthemeConfig.algoliaand the adapter forbids that key. Ask-AI sidepanel keys moved tocustomFields.askAi(still rendered via@docsearch/reactinRoot).src/css/trex-theme.css;custom.cssremaps t-rex's--swm-navy-*/--swm-purple-*base scales → Fishjam orange + warm neutrals, fixing the old flat primary scale.Preserved
Shiki + Twoslash highlighting & the copy button, Scalar REST (
/api/rest), the/searchpage, Ask-AI sidepanel, custom tab titles, light-only mode.Minor / follow-ups
NavbarItemswizzle) is bypassed by t-rex's navbar; low impact.SearchPagemay be shadowed by the classic Algolia search page.