Skip to content

feat: align site styling with the Companion UI - #113

Open
bryce-seifert wants to merge 2 commits into
bitfocus:mainfrom
bryce-seifert:feat/align-theme-with-companion-ui
Open

bryce-seifert wants to merge 2 commits into
bitfocus:mainfrom
bryce-seifert:feat/align-theme-with-companion-ui

Conversation

@bryce-seifert

@bryce-seifert bryce-seifert commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Match the restyled user guide bundled in Companion (bitfocus/companion#4617): shared colour tokens, Inter and Fira Code fonts, neutral navbar, footer and sidebar, and the new link, screenshot and pagination styles.

Website-only follow-ups to the same look:

  • navbar section links use a highlighted pill instead of the tab effect
  • Algolia search button and modal use the theme colours
  • landing and hero buttons drop the hard-coded blues
  • neutral code-block backgrounds and VS Code dark theme
  • admonitions on the page surface with a coloured accent
  • sub-page sidebar items indented via sidebar_class_name instead of tree glyphs
  • remove unused landing page CSS

Summary by CodeRabbit

  • Design Updates
    • Refreshed site colors, typography, buttons, navigation, documentation pages, and code-block themes for light and dark modes.
    • Simplified the landing page by removing its open-source banner, feature cards, and related GitHub button styling.
    • Updated footer styling to use the light theme.
  • Documentation
    • Renamed the local modules and WSL setup sidebar labels and adjusted their sidebar styling.

Match the restyled user guide bundled in Companion (bitfocus/companion#4617):
shared colour tokens, Inter and Fira Code fonts, neutral navbar, footer and
sidebar, and the new link, screenshot and pagination styles.

Website-only follow-ups to the same look:
- navbar section links use a highlighted pill instead of the tab effect
- Algolia search button and modal use the theme colours
- landing and hero buttons drop the hard-coded blues
- neutral code-block backgrounds and VS Code dark theme
- admonitions on the page surface with a coloured accent
- sub-page sidebar items indented via sidebar_class_name instead of tree glyphs
- remove unused landing page CSS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9fa4c341-189c-474a-a161-3db0a5d1de2a
Walkthrough

The site now uses Companion design tokens and updated global styles. The changes also update hero buttons, landing page surfaces, Docusaurus theme settings, and documentation sidebar labels.

Changes: Website theme and navigation refresh

Layer / File(s) Summary
Theme tokens and global styles
package.json, src/css/companion-tokens.css, src/css/custom.css
Adds Inter and Fira Code font packages, defines default and dark Companion color tokens, and updates global styles to use the tokens.
Theme configuration and hero buttons
docusaurus.config.ts, src/components/HeroButtons.module.css
Changes the footer and Prism themes. Updates primary button colors and uses Companion tokens for secondary button states.
Landing page and documentation navigation
src/pages/landing.module.css, for-developers/module-development/local-modules.md, for-developers/setting-up-WSL.md
Removes several landing page style rules and updates section backgrounds. Revises two sidebar labels and adds the sidebar-subitem class.
Merge Risk: Low · previous review 74290

The restyle makes the "Open Source on GitHub" heading nearly invisible for light-mode visitors, and light-mode warning admonition headings fall below the readable contrast threshold. Both are small CSS fixes, and nothing else blocks the merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the website's styling is being aligned with the Companion UI. The changeset supports this. It adds Companion design tokens and Inter and Fira Code fonts, and it restyl…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the website's styling is being aligned with the Companion UI. The changeset supports this. It adds Companion design tokens and Inter and Fira Code fonts, and it restyles the navbar, sidebar, buttons, and landing page to match. The 'feat:' prefix fits a feature-level styling change. The title is concise and specific enough for a teammate scanning history.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

New tokens settle into place
Light and dark themes find their hues
Buttons wear their updated colors
Sidebar labels take a clearer shape
The landing page gains quieter surfaces

@socket-security

socket-security Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​fontsource-variable/​inter@​5.3.0100100848390
Added@​fontsource/​fira-code@​5.3.0100100848790

View full report

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 51866ea2-ae26-4e03-bf31-6f1ee8e20c47
Commits

Reviewing files that changed from the base of the PR and between 8a692cf and 7429061.

Files ignored due to path filters: 1

  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 8

  • docusaurus.config.ts
  • for-developers/module-development/local-modules.md
  • for-developers/setting-up-WSL.md
  • package.json
  • src/components/HeroButtons.module.css
  • src/css/companion-tokens.css
  • src/css/custom.css
  • src/pages/landing.module.css

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Comment thread src/css/custom.css Resolved
Comment thread src/css/custom.css Resolved
- the GitHub section's heading stays white now that headings take the theme colour
- darken the light-mode warning and success accents to at least 4.5:1 on white

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant