Skip to content

About

Windows 11 Fluent / Mica-inspired dark theme for Mailspring

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FluentBird Dark for Mailspring

A Windows 11 Fluent / Mica-inspired dark theme for Mailspring, built on the visual language of Deathbyteacup/fluentbird.

FluentBird Dark running in Mailspring

Only the parts that survive a version bump are touched: no JavaScript, no build step, no patched application files. Two LESS files, palette variables, and rules for the surfaces Mailspring draws itself.

What it changes

  • One accent source — every wash, bar, dot, focus ring and selection is mixed from --system-accent (fallback Fluent blue #4cc2ff), so a different system accent recolors the whole theme instead of half of it.
  • Layered dark surfaces on one scale: canvas #1c1c1c, pane #202020, card #2b2b2b, collapsed card #262626, menus and popovers #2f2f2f. Radii follow one scale too: 4 / 6 / 8 / 12 px.
  • Mica canvas — a single soft accent bloom behind the workspace, visible through the translucent navigation pane and the reading pane instead of a flat grey block.
  • Triage-first thread list — selected and focused rows carry the same accent bar and wash as the nav pane (dimmed, not grey, when the window loses focus); unread rows get an accent dot, full-white sender and subject and an accent timestamp, read rows step down to secondary text. Mail-state icons stay quiet until hover or selection.
  • Messages as cards — 12 px radius, hairline plus two-layer shadow; collapsed messages sit one step lower and lift on hover. The reply box is its own card instead of a dashed strip under the last message.
  • Reading pane typography — 19 px bold subject, 600-weight sender, muted tabular timestamps, 14.5 px / 1.62 body. The translation banner becomes a soft accent strip with soft buttons.
  • Fluent nav rows — 32 px rows on an 8 px radius, soft hover fill, muted uppercase section headings, and a selected row carried by an accent bar plus a light accent wash.
  • Quiet counters — sidebar counts are plain secondary text (tabular figures), pushed to the right edge instead of trailing the label.
  • Muted mail labels — programmatic label colors move from the chip fill to the label text, in the thread list and in the message header, so they stop glowing on a dark background.
  • Contact sidebar — the participant picker is a themed field instead of a native select, the avatar is round, related threads use tabular times.
  • Controls — inputs and the composer get an accent focus ring, menus share the popover elevation, transitions use one 120 ms ease-out and switch off under reduced motion.
  • Settings that match — the account, signature and mail-rule panes keep the dark cards and hairline borders: the base theme's light @gray-* ramp is remapped (it painted the account panel white) and its "ink on accent" token is dark, so selected editable-list rows stay readable instead of white-on-white.
  • Native controls agree — color-scheme: dark on the root turns sliders, scrollbars and pickers dark, placeholders get the secondary text colour, and the signature template picker wraps instead of clipping its last option.
  • Email frame safe — styles/email-frame.less is injected into every message iframe: it aligns color-scheme and clears the frame background, which prevents the black block Chromium paints behind text when the email declares a dark scheme. HTML mail that brings its own background keeps a white sheet with rounded corners, so text designed for white never lands on the dark card.

Install

Clone into Mailspring's package directory, using the theme name as the folder name:

git clone https://github.com/omertahaoztop/mailspring-fluentbird.git \
  ~/.config/Mailspring/packages/fluentbird-dark

Then pick FluentBird Dark in Preferences → Appearance and restart Mailspring. Without the UI:

// ~/.config/Mailspring/config.json, under core
"theme": "fluentbird-dark"

On macOS use ~/Library/Application Support/Mailspring/packages, on Windows %APPDATA%\Mailspring\packages.

Development

Edit styles/ui-variables.less, then switch to another theme and back (Preferences → Appearance), or restart Mailspring; LESS is recompiled from disk on every theme switch.

Two quirks are worth knowing before editing:

  • A theme file is compiled before the component files (every component starts with @import 'ui-variables'). Where the base theme sets a property with the same specificity, the base wins — either raise specificity (.item.selected.selected) or use !important. Both are marked in the file.
  • Base stylesheets run LESS color functions (darken(), fade()) on some variables, for example @btn-emphasis-bg-color. Those must stay literal colors; a var() or color-mix() there breaks compilation and Mailspring falls back to its bundled theme.
  • Do not add styles/index.less. Mailspring would then load only that file and ignore styles/email-frame.less.

--system-accent is used when the platform provides it; otherwise the theme falls back to Fluent blue #4cc2ff.

Known limits

  • The window chrome (title bar, Linux window buttons) is PNG-based, so the icon set cannot be replaced from CSS.
  • Real Mica blur is not available: the Electron window is opaque, so the theme approximates it with translucent surfaces and accent blooms.
  • Dark only. A light variant would be a second package with the same rules and inverted palette.
  • The menu bar on Wayland is drawn by Chromium and ignores both theme and GTK CSS.

Credits

Design direction borrowed from, none of the CSS copied:

License

GPL-3.0-only — see LICENSE. Copyright (C) 2026 Ömer Taha Öztop.

About

Windows 11 Fluent / Mica-inspired dark theme for Mailspring

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages