The coffeylabs theme brings coffeylabs.org's palette, type and blueprint grid to Mastodon. It loads the stock stylesheet and then overrides Mastodon's color tokens for both color schemes, adds Bricolage Grotesque and JetBrains Mono (OFL, served from the instance), and replaces the navigation wordmark. The default theme stays available to users. Small upstream changes, each with a modification notice: themes.yml registers the theme, themes.rb sets the dark browser-bar color, and the Dockerfile takes SOURCE_BASE_URL and SOURCE_TAG so "View source code" points at this repository, as the AGPL expects. Upstream's GitHub workflows are removed. .gitea/workflows/ci.yml builds the image on every change and publishes it, with a release, from tags named v<upstream>-coffeylabs.<n>. COFFEYLABS.md lists every change.
33 lines
1.0 KiB
SCSS
33 lines
1.0 KiB
SCSS
// Bricolage Grotesque for display, JetBrains Mono for the wordmark, labels
|
|
// and numbers, the system sans for reading -- as on coffeylabs.org. Both
|
|
// faces are variable and OFL; licenses sit next to the font files.
|
|
@font-face {
|
|
font-family: 'Bricolage Grotesque';
|
|
font-style: normal;
|
|
font-weight: 200 800;
|
|
font-stretch: 75% 100%;
|
|
font-display: swap;
|
|
src: url('@/fonts/coffeylabs/bricolage-grotesque-latin-wght-normal.woff2')
|
|
format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'JetBrains Mono';
|
|
font-style: normal;
|
|
font-weight: 100 800;
|
|
font-display: swap;
|
|
src: url('@/fonts/coffeylabs/jetbrains-mono-latin-wght-normal.woff2')
|
|
format('woff2');
|
|
}
|
|
|
|
html,
|
|
html[data-redesign='true'] {
|
|
--font-body:
|
|
ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Inter, Roboto,
|
|
'Helvetica Neue', Arial, sans-serif;
|
|
--font-heading: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
|
|
--font-monospace:
|
|
'JetBrains Mono', ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas,
|
|
'Liberation Mono', monospace;
|
|
}
|