Skip to content

Adopt the ethswarm.org design (draft for review) - #849

Merged
GasperX93 merged 5 commits into
masterfrom
design/ethswarm-org-theme
Nov 26, 2026
Merged

GasperX93 merged 5 commits into
masterfrom
design/ethswarm-org-theme

Conversation

@GasperX93

Copy link
Copy Markdown
Member

Draft for review, not for merge yet. This brings the look of the new ethswarm.org to the docs, as far as Docusaurus allows. No docs content is changed.

What changes

  • Colors: dark mode uses the website's dark palette (black page, green-grey surfaces, orange accent); light mode uses the website's "paper" palette.
  • Fonts: Vend Sans for headings, Geist for body, JetBrains Mono for code and labels, self-hosted (same files as the website). The Inter files are removed.
  • Shape: square corners, hairline borders, no shadows.
  • Navbar and footer: current Swarm logo and favicon. The footer follows the website footer (mission, Foundation links, newsletter link, resources, community). Mattermost, "Twitter" and the old blog address are gone.
  • Content pieces: code blocks, inline code, tables, tabs, admonitions, pagination and the hub cards.
  • Other surfaces: landing page, search modal, the calculator widgets and the API reference page.
  • Green: used as on the website, for eyebrow labels (breadcrumbs, landing page) and thin left rules (current page in the sidebar and table of contents).

Choices made without a designer, open for discussion

  • Admonition colors: one surface with a colored left rule; caution is orange-tinted and danger red-tinted so key and fund warnings stand out. Red is not in the design system.
  • Code syntax colors: a green-and-grey palette built from the design tokens.
  • Text size stays at 14px (the website body is 16px).
  • Inline code keeps a quiet background chip (the website shows it without one).
  • The footer has a "Resources" column the website footer does not have, and links to the newsletter form on ethswarm.org instead of embedding it.

Notes for review

  • The token values in src/css/custom.css are a copy of styles/tokens.css in ethswarm-website, taken 24 Nov 2026.
  • src/theme/Footer replaces the theme footer, so themeConfig.footer is no longer used.
  • Left as is: the social preview image (static/img/preview-image.png) and the old logo files.
  • Checked locally in dark and light mode, at desktop and phone width: landing, docs pages, API reference, search, calculators.

- Design tokens copied from ethswarm-website styles/tokens.css: dark UI roles for dark
  mode, the paper roles for light mode; Infima variables are set from them
- Fonts: Vend Sans (headings), Geist (body), JetBrains Mono (code, labels), self-hosted
  woff2; Inter TTF files removed
- Navbar and footer: current Swarm logo and favicon, black chrome with hairlines
- Code blocks and inline code on the surface colour, syntax palette built from the tokens
- Admonitions: one surface with a coloured rule and mono label; caution and danger tinted
- Landing page cards, hub cards, search box, pagination and tables restyled
- API reference: accent and sample panel colours
…n tokens

- DocSearch modal variables set on body so they win over its own dark palette
- Form controls in docs pages (calculators): surface inputs, accent button; inline Arial,
  bold and grey borders removed from the calculator components
- API reference menu on the page colour in light mode; square sidebar rows in the drawer
- Footer replaced with one that follows the ethswarm.org footer: logo and mission,
  Foundation links, newsletter link, resources and community (Mattermost, Twitter and the
  old blog address are gone); tapering rule above it
- Green, as on the website: breadcrumbs as the page eyebrow, landing eyebrows, inline
  code, the current page in the sidebar and table of contents
@netlify

netlify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for test-twitter-preview-testing-3 ready!

Name Link
🔨 Latest commit b8bba3f
🔍 Latest deploy log https://app.netlify.com/projects/test-twitter-preview-testing-3/deploys/6b06e66f0eaf3edd6a377b61
😎 Deploy Preview https://deploy-preview-849--test-twitter-preview-testing-3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@GasperX93
GasperX93 marked this pull request as ready for review November 25, 2026 13:45
@GasperX93
GasperX93 requested a review from darkobas2 November 25, 2026 13:46
@GasperX93
GasperX93 merged commit fc51e37 into master Nov 26, 2026
9 checks passed
@yjkellyjoo
yjkellyjoo deleted the design/ethswarm-org-theme branch November 26, 2026 10:48
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.

2 participants