Ardoise

by generalentropy
Screenshot of the Ardoise Obsidian theme
5
4
3
2
1

Description

This theme supports Dark Mode
This theme supports Light Mode

README file from

Github

Ardoise

A clean, calm theme in dark and light.

New in 1.4.0: a higher contrast option, line height, plain tags and more in Style Settings 🎉

Downloads Version License Last commit

Ardoise in dark and light mode

Ardoise is French for slate. In dark mode, chalk-coloured text sits on a blue-grey slate. In light mode, slate-coloured text sits on a pale blue-grey sheet. Ochre is the accent, with touches of blue, sage and rose.

Features

  • Dark and light modes: easy on the eyes, with high contrast for body text (about 9:1 or more)
  • One colour per heading level: ochre, blue, sage
  • Pill-shaped tags, quiet tabs and status bar, thin scrollbars
  • Style Settings support: warm or darker background, five accent colours, higher contrast, heading colours and font, line height and width, plain tags, callout border, striped tables, active line, folder name weight
  • Fonts included:
    • Hanken Grotesk for text and interface
    • Fraunces for headings
    • Geist Mono for code

Ardoise aims for WCAG AA contrast. See CONTRAST.md for the details.

Customisation

Ardoise uses its own accent, so the accent colour in Settings → Appearance has no effect. Use one of the two ways below instead.

With Style Settings

Install the Style Settings plugin, then open Settings → Style Settings → Ardoise.

Setting Description
Background Slate (default) or Warm
Darker background Darker backgrounds in dark mode, with either background
Accent colour Ochre (default), Blue, Sage, Rose or Lavender
Heading colours Ochre, blue, sage (default), the accent colour, or the text colour
Higher contrast All text reaches 4.5:1, including faint text and code comments
Use the text font for headings Headings use the text font instead of Fraunces
Normal case for headings 5 and 6 Headings 5 and 6 in normal case instead of capitals
Line height 1.4 to 2, 1.65 by default
Line width 560 to 1000 px, 680 by default. Needs Settings → Editor → Readable line length
Plain tags Coloured text without the pill
Callout border A bar in the callout's colour along its left edge
Striped tables Every other row gets a slightly different background
Highlight the active line A faint band behind the line with the cursor, in the editor
Regular weight for folder names Folder names in the file explorer in regular weight instead of semi-bold

Every accent colour meets WCAG AA in both modes, on both backgrounds. With Higher contrast, every text colour does too. See CONTRAST.md.

With a CSS snippet

Colours are CSS variables near the top of theme.css, with one block for each mode: --bg-page (note background), --text (body text), --ochre (accent), --blue, --sage and --rose. You can override them with a CSS snippet:

.theme-dark {
  --ochre: #e0b070;
}

To use your body font for headings too:

body {
  --heading-font: var(--font-text);
}

Fonts set in Settings → Appearance → Font take precedence over the theme's fonts.

Credits

The bundled fonts are licensed under the SIL Open Font License 1.1. Their license files are in the fonts folder.

The alternate checkbox icons come from Minimal by Steph Ango, released under the MIT License.

License

The theme is released under the MIT License. The bundled fonts keep their own license (OFL 1.1).