Match your brand
Builds on Themes.
Everything on this page is in the guide's Design tab, beside the themes. Changes show in the preview straight away. Choose Save design to keep them; readers see them after the next publish. Only Guides admins can change the design.
Match my brand
#Turn on Match my brand, then Upload logo (SVG, PNG, JPEG or WebP). Markdrop Guides picks up the logo's colours and shows them as swatches. Choose the one to use as the accent, or Add another colour. A guide can have up to six brand colours.
From these colours Markdrop Guides builds a light and a dark palette. The accent colours links, buttons and callouts; a very dark colour becomes the text colour, and a very light one tints backgrounds. Text, links and buttons are adjusted so they keep readable contrast in both themes. The badges under the colours show the contrast for text, links and dark-theme links: a check means it's readable, a warning sign means it's close.
It works with all fourteen themes: your accent replaces the theme's own, in its light and its dark palette. The logo also becomes the guide's favicon. With Match my brand off, the guide uses the theme's own colours. Colours you set in a custom theme take precedence over both, and the builder suggests palettes built from your logo's colours.
A template never carries the logo or brand colours, so applying one keeps the guide's own.
Fonts, colour mode and corners
#| Setting | Choices |
|---|---|
| Headings font | Theme default, or any font below, code fonts included |
| Body font | Theme default, or one of System UI, Inter, Manrope, Geist, DM Sans, IBM Plex Sans, Nunito, Source Sans 3, Space Grotesk, Plus Jakarta Sans, Figtree (sans-serif), Newsreader, Source Serif 4, Lora, Fraunces and Crimson Pro (serif) |
| Colour mode | Light and dark (readers can switch), Light only or Dark only |
| Corners | Theme default, Sharp, Soft or Round |
Fonts are served with the guide, so readers' browsers don't fetch them from anyone else. With Light only or Dark only, readers don't get a theme switch.
The code font (JetBrains Mono, IBM Plex Mono, Geist Mono, Fira Code or Source Code Pro), text size, line height, heading weight and every colour are in the theme builder: choose Customize under Custom theme. A corner radius picked there replaces Corners. See Customize a theme.
Custom CSS
#Open Custom CSS to add your own styles (it's also under Advanced in the theme builder, whose live preview applies it as you type). They apply after the theme, on the published guide and in the builder's preview (not the small preview at the top of Design), and only inside the guide: every rule is scoped to the guide's page, so it can't restyle anything else. Selectors on html, body and :root apply to the guide's root, and [data-theme="dark"] rules apply in the dark theme.
.dx-callout { border-radius: 0; }
.dx-callout--tip { border-left: 3px solid var(--accent); }
html[data-theme="dark"] .dx-header { backdrop-filter: blur(8px); }
The engine's own class names start with dx-: .dx-header for the header, .dx-callout (and .dx-callout--note, --tip, --warning, --danger) for callouts. Your browser's developer tools show the rest on your published guide.
The box checks your CSS as you type and says what's wrong. Save design stays off until it's fixed.
What's allowed:
- Up to 20 KB.
@media,@supports,@container,@layer,@keyframes,@font-faceand@property.url()with anhttps://address or a file uploaded to the guide (/docs-assets/…).
What isn't:
- Scripts or HTML of any kind, including the
<character,expression(),javascript:links,behaviorand-moz-binding. @import, andsrc()orimage-set()(useurl()instead).- Backslash escapes.
- Nested rules (CSS nesting), and selectors that reach outside the guide (
~or+right afterhtml,bodyor:root).
Related
#- Pick a theme: the fourteen themes and the theme builder.
- Reset the design: start over.
- Your own domain: your brand in the address too.