Brand & Design Guide
GitBook does not support custom CSS via Git Sync — visual theming lives in the hosted space's Customization settings. This page is the spec for maintainers configuring the space, plus the in-repo conventions that keep pages consistent.
Visual Identity
High-contrast dark mode with neon accents — built for smart contract developers who live in dark editors.
Palette
| Role | Color | Hex |
|---|---|---|
| Primary accent | Neon teal | #00F5D4 |
| Background (dark) | Near-black blue | #0B0E14 |
| Warning highlights | Neon amber | #FFB800 |
| Danger highlights | Neon pink | #FF2E88 |
GitBook space settings
Apply under Space → Customize:
- Theme: set default appearance to Dark; keep the light/dark toggle enabled.
- Primary color:
#00F5D4(drives links, active nav items, and hint accents). - Fonts: a geometric sans-serif for headings (e.g. Inter or Space Grotesk where the plan allows), default mono for code.
- Logo & favicon: upload the project mark on a transparent background so it sits on the dark canvas; a simple ⚡ glyph works as a placeholder favicon.
- Page layout: enable page outlines ("On this page") for the lint reference pages.
INFO
Font selection and some customization options depend on the GitBook plan. If an option is unavailable, the palette and dark-default settings above carry most of the aesthetic.
In-Repo Conventions
These keep new pages consistent without any hosted configuration:
- Hint blocks carry the accent colors:
dangerfor cost pitfalls ("Why is this bad?"),successfor fixes,warningfor operational gotchas,infofor cross-references. - One emoji per H1/section header as a visual marker (⚡ 🔍 🔌 🎨) — one, not several.
- Code blocks use `` with the target filename when the reader is meant to create that file.
- Lint pages follow the shared template: severity → what it does → why it's bad (
dangerhint) →❌ Badexample → suggested fix (successhint).
Enabling Git Sync (cutover)
Git Sync is enabled and connected to the repository. The official hosted documentation is live on GitBook:
- Official Documentation: https://tollcraft.gitbook.io/docs
GitBook automatically syncs with the main branch, reading .gitbook.yaml at the repo root (root: ./docs/) and building navigation from docs/SUMMARY.md.