Foldocs

· Updates › features

A design in a document

Colors, fonts and corners, set in a table.

A theme decides how a site looks, but changing a color shouldn't take a theme of your own: a document called design next to your folders does it, with a table in it.

SettingLightDark
Accent#1f63d6#6ea2ff
Heading fontFraunces, serif
Corners6px

A row per setting; the Dark column is for visitors in dark mode. Fonts are any family on Google Fonts, downloaded once and served from your own site, so visitors' browsers never ask Google. Every value is checked before it reaches the site: one that isn't valid is left out, and the theme's own value stays.

This site's blue is set in its design document; the table above is an example. All settings are in Colors and fonts.