Skip to content
Boring Cloud
Brand All pages

Brand

IT can set a logo, colors, fonts and written guidelines for the workspace. The guide lists them. The platform serves them to every app, so when the brand changes, apps that use these addresses follow without a new release.

Address Content
/_boringcloud/brand.css CSS variables: --brand-<name> for each color, --brand-font-heading, --brand-font-body
/_boringcloud/logo the logo (SVG, PNG or WebP), or 404 when there is none

Colors and fonts

Link the file before your own stylesheet:

<link rel="stylesheet" href="/_boringcloud/brand.css" />
<link rel="stylesheet" href="/style.css" />

Use the names listed in the guide, always with a fallback. The file only defines variables, so it changes nothing by itself.

button.primary {
  background: var(--brand-primary, #1f4fd8);
  color: #ffffff;
}
body {
  font-family: var(--brand-font-body, system-ui, sans-serif);
}

Check the contrast of text on brand colors: at least 4.5 to 1.

The font variables hold a name, not a font. Put the font files in the release and declare them with @font-face, or accept the system font.

<img src="/_boringcloud/logo" alt="" height="32" />

Use it only when the guide says there is a logo. Never redraw, recolor or stretch it.

Without a brand

When the guide says there are no guidelines, keep a neutral and legible design. Do not invent a logo or a company color.