Skip to content

Commit 896ee67

Browse files
committed
Add brand kit: logo, favicon, social preview, guidelines
1 parent 10c086b commit 896ee67

17 files changed

Lines changed: 867 additions & 0 deletions

brand/INSTALL.md

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
# The Foundation : Brand Kit, Install and Usage
2+
3+
Everything you need to put the brand live. Read top to bottom the first time. Each terminal block is meant to be run one block at a time; after each one, glance at the output before moving on.
4+
5+
If you only do two things, do these: upload `avatar/avatar-512.png` as the org avatar, and upload `social/social-preview.png` under repository Settings, Social preview. Everything else is polish.
6+
7+
---
8+
9+
## A. What is in this kit
10+
11+
```
12+
brand/
13+
README.md The brand spec (colour tokens, fonts, voice). Lives in the repo.
14+
INSTALL.md This file.
15+
brand-guidelines.html Open in a browser for the full visual reference.
16+
logo/
17+
the-foundation-logo.svg Horizontal lockup, light backgrounds
18+
the-foundation-logo-reversed.svg Horizontal lockup, dark backgrounds
19+
the-foundation-mark.svg Mark only, light backgrounds
20+
the-foundation-mark-reversed.svg Mark only, dark backgrounds
21+
avatar/
22+
avatar-512.png Upload this as the GitHub org or repo avatar
23+
mark-512-transparent.png Mark only, transparent, for slides or docs
24+
favicon/
25+
favicon.ico 16, 32, 48 in one file
26+
favicon.svg Scalable source
27+
favicon-16/32/48.png Individual sizes
28+
apple-touch-icon.png 180 x 180
29+
social/
30+
social-preview.png 1280 x 640, GitHub social preview and Open Graph
31+
social-preview.svg Editable source
32+
```
33+
34+
The wordmark in every logo and social file is converted to vector outlines, so the files look identical on any machine with no font installed.
35+
36+
---
37+
38+
## B. Preview the guidelines (30 seconds, no terminal)
39+
40+
1. Double-click `the-foundation-brand.zip` to unzip it. You get a folder called `brand`.
41+
2. Open the `brand` folder and double-click `brand-guidelines.html`.
42+
3. It opens in your browser. You will see the logo, colour palette, fonts, icon set, and tone of voice. You need an internet connection the first time so the fonts can load.
43+
44+
---
45+
46+
## C. Add the brand folder to the repo (terminal)
47+
48+
Your repo is the monorepo that already contains `open-charity-api`. From your earlier work that is:
49+
50+
```
51+
/Users/mohamedhhussain/Projects/The-Foundation/Foundation/Foundation
52+
```
53+
54+
### Block 1 : confirm you are in the right place
55+
56+
```bash
57+
cd /Users/mohamedhhussain/Projects/The-Foundation/Foundation/Foundation
58+
ls
59+
```
60+
61+
You should see `open-charity-api` in the list (along with README.md, LICENSE, and so on). If you do, you are in the repo root. If you do not see `open-charity-api`, stop and tell me what `ls` shows, because the path has moved.
62+
63+
### Block 2 : pull the latest, then copy the brand folder in
64+
65+
```bash
66+
# make sure local is in sync with GitHub first
67+
git pull
68+
69+
# copy the unzipped brand folder from Downloads into the repo root
70+
cp -R ~/Downloads/brand .
71+
72+
# check it landed
73+
ls brand
74+
```
75+
76+
`ls brand` should show `README.md`, `brand-guidelines.html`, `logo`, `avatar`, `favicon`, `social`, and this `INSTALL.md`.
77+
78+
If `cp` reports that `~/Downloads/brand` does not exist, it means the zip unzipped somewhere else. Run `ls ~/Downloads | grep -i brand` to find it, then adjust the path in the `cp` command.
79+
80+
### Block 3 : commit and push
81+
82+
```bash
83+
git add brand
84+
git commit -m "Add brand kit: logo, favicon, social preview, guidelines"
85+
git push
86+
```
87+
88+
That is the brand folder live in the repo. Confirm by visiting:
89+
`https://github.com/the-foundation-stack/Foundation/tree/main/brand`
90+
91+
---
92+
93+
## D. Set the GitHub avatar (browser, cannot be done from git)
94+
95+
GitHub avatars must be a PNG or JPG, which is why `avatar-512.png` exists.
96+
97+
For the organisation avatar:
98+
1. Go to `https://github.com/organizations/the-foundation-stack/settings/profile`
99+
2. Under **Profile picture**, click **Upload a photo**
100+
3. Choose `brand/avatar/avatar-512.png`
101+
4. GitHub will let you crop. Leave it centred, then save.
102+
103+
(If you would rather set it on the repo itself rather than the org, GitHub does not support per-repo avatars; the org avatar is what shows.)
104+
105+
---
106+
107+
## E. Set the social preview (browser)
108+
109+
This is the image people see when the repo is shared on Slack, X, LinkedIn, and so on.
110+
111+
1. Go to `https://github.com/the-foundation-stack/Foundation/settings`
112+
2. Scroll to **Social preview**
113+
3. Click **Edit**, then **Upload an image**
114+
4. Choose `brand/social/social-preview.png`
115+
116+
Done. Share the repo link anywhere to see it.
117+
118+
---
119+
120+
## F. Wire the favicon and preview into the docs site (optional)
121+
122+
This applies to the published docs landing page (the `docs-site/index.html` that deploys to `the-foundation-stack.github.io/Foundation/`). It makes the browser tab show the keystone icon and makes link previews use the social card.
123+
124+
Open `docs-site/index.html` and paste these lines inside the `<head>` section:
125+
126+
```html
127+
<link rel="icon" href="/Foundation/brand/favicon/favicon.ico" sizes="any">
128+
<link rel="icon" href="/Foundation/brand/favicon/favicon.svg" type="image/svg+xml">
129+
<link rel="apple-touch-icon" href="/Foundation/brand/favicon/apple-touch-icon.png">
130+
<meta property="og:title" content="The Foundation">
131+
<meta property="og:description" content="Open standards for charitable giving.">
132+
<meta property="og:image" content="https://the-foundation-stack.github.io/Foundation/brand/social/social-preview.png">
133+
```
134+
135+
Note the `/Foundation/` prefix in the paths. GitHub Pages for a project repo serves the site under that subpath, so the leading `/Foundation/` is needed. If you ever move to a custom domain at the root, drop the `/Foundation` prefix.
136+
137+
Commit and push the same way as Block 3, wait two or three minutes for the deploy, then hard-refresh the page (Cmd + Shift + R) to see the new tab icon.
138+
139+
---
140+
141+
## G. Where each file goes, at a glance
142+
143+
| File | Goes where |
144+
|------|------------|
145+
| `avatar/avatar-512.png` | Org settings, Profile picture |
146+
| `social/social-preview.png` | Repo Settings, Social preview |
147+
| `favicon/*` | Referenced from `docs-site/index.html` head |
148+
| `logo/*.svg` | README badges, slides, the docs site header |
149+
| `brand-guidelines.html` and `README.md` | Stay in the repo `brand` folder as the reference |
150+
151+
---
152+
153+
## Need a raster version of the lockup?
154+
155+
The lockups are SVG. If a tool needs a PNG (for example a slide deck), open the SVG in any browser, or tell me the size you need and I will export it.
156+
157+
If you want the colour palette changed, or the wordmark set in a different display face, say so and I will regenerate the entire kit in one pass so everything stays consistent.

brand/README.md

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# The Foundation : Brand
2+
3+
Open standards for charitable giving, built once and adopted everywhere. From Gift Aid to Zakat, treated as equals.
4+
5+
This folder is the single source of truth for The Foundation's visual identity. Start with `brand-guidelines.html` (open it in any browser) for the full living reference; everything in it is summarised below for quick use.
6+
7+
## Contents
8+
9+
```
10+
brand/
11+
brand-guidelines.html Full interactive guidelines (logo, colour, type, icons, voice)
12+
logo/
13+
the-foundation-logo.svg Horizontal lockup, for light backgrounds
14+
the-foundation-logo-reversed.svg Horizontal lockup, for dark backgrounds
15+
the-foundation-mark.svg Mark only, for light backgrounds
16+
the-foundation-mark-reversed.svg Mark only, for dark backgrounds
17+
favicon/
18+
favicon.ico Multi-resolution (16/32/48)
19+
favicon.svg Scalable source
20+
favicon-16/32/48.png Individual sizes
21+
apple-touch-icon.png 180x180
22+
social/
23+
social-preview.png 1280x640, GitHub social preview / Open Graph
24+
social-preview.svg Editable source
25+
```
26+
27+
Wordmark text in the logo and social files is converted to outlines, so the files render identically anywhere with no font installed.
28+
29+
## The logo
30+
31+
The mark is a foundation in three courses: a broad base, a bearing course, and a clay keystone. Read it as a stable plinth, as a *stack* of standards, or as an upward lift. The keystone always carries the warm accent, the single piece that holds the structure together.
32+
33+
Do:
34+
* Keep the keystone in Clay; set the base courses in Bedrock, or reverse them to Sand on dark surfaces.
35+
* Give the mark clearspace of at least one keystone height on every side.
36+
* Use the mark alone as an avatar, favicon, or social tile.
37+
* Set the wordmark in Fraunces, capitalised as "The Foundation".
38+
39+
Don't:
40+
* Recolour the keystone or apply gradients to the courses.
41+
* Rotate, skew, stretch, or drop-shadow the mark.
42+
* Re-typeset the wordmark in another font or in all-caps.
43+
* Place the mark on a busy photo without a solid containing tile.
44+
45+
## Colour
46+
47+
Earth and stone carry the human work of giving; one deep blue carries the trust of a technical standard. Warmth dominates; the blue and ochre punctuate, they are never the field. A rough balance is Sand 60, Bedrock 22, Clay 10, Lapis 5, Ochre 3.
48+
49+
| Token | Hex | Use |
50+
|-----------|-----------|-----|
51+
| Bedrock | `#1A1A17` | Primary ink, logo, dark surfaces, body text |
52+
| Clay | `#C75B39` | The keystone. Primary accent, links, highlights |
53+
| Clay Deep | `#A4452A` | Link hover, pressed states, depth |
54+
| Lapis | `#1F4A57` | Trust accent: code, positive states, charts |
55+
| Ochre | `#D9A441` | Sparing highlight: generosity, callouts |
56+
| Sand | `#F4EFE6` | Default background |
57+
| Paper | `#FBF9F4` | Raised cards and surfaces on Sand |
58+
| Stone | `#8A8170` | Muted captions, metadata, dividers |
59+
60+
```css
61+
:root{
62+
--bedrock:#1A1A17; --clay:#C75B39; --clay-deep:#A4452A;
63+
--lapis:#1F4A57; --ochre:#D9A441;
64+
--sand:#F4EFE6; --paper:#FBF9F4; --stone:#8A8170;
65+
}
66+
```
67+
68+
## Typography
69+
70+
Three voices, all available on Google Fonts under the SIL Open Font License.
71+
72+
* **Fraunces** : display serif, for headlines and pull-quotes. Weights 600, 700, 900.
73+
* **Hanken Grotesk** : humanist sans, for body copy, labels, and UI. Weights 400 to 700.
74+
* **IBM Plex Mono** : monospace, for the thing we actually make: endpoints, fields, and tokens. Weights 400, 500, 600.
75+
76+
```html
77+
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,900&family=Hanken+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet">
78+
```
79+
80+
## Iconography
81+
82+
One line system: 24px grid, 1.8px stroke, rounded joins, geometric and quiet. Icons explain, they never decorate. Draw in Bedrock and reserve Clay for the single icon you want noticed. The full set lives in `brand-guidelines.html`.
83+
84+
## Tone of voice
85+
86+
We write the way a good standard reads: plainly, precisely, and without taking a side.
87+
88+
* **Clear before clever.** A volunteer running a one-person charity must understand us as easily as a platform engineer. Short sentences, concrete nouns, every acronym expanded on first use.
89+
* **Even-handed, always.** Gift Aid and Zakat get the same care and the same word count. We never rank traditions, platforms, or causes. Respect is non-negotiable; warmth is welcome.
90+
* **Precise, not rigid.** Specs live or die on precision. We use "must", "should", and "may" in their RFC sense, and we would rather be exact than impressive.
91+
* **Confident, open to being wrong.** A standard is an invitation, not a decree. We state our reasoning, welcome critique, and change our minds in public when the evidence is good.
92+
93+
We say:
94+
* "OCAS describes how a charity exposes donations and tax-relief declarations."
95+
* "Zakat is modelled with all eight Asnaf categories as first-class fields."
96+
* "This is a draft. Tell us where it is wrong."
97+
98+
We don't say:
99+
* "Our revolutionary, best-in-class platform disrupts the giving space."
100+
* "We also support some religious donation types."
101+
* "The specification is final and authoritative."
102+
103+
## Wiring it into the repo
104+
105+
For the org avatar and social preview, in your repository settings:
106+
* Upload `logo/the-foundation-mark.svg` (or a PNG export) as the organisation or repository avatar.
107+
* Under Settings, Social preview, upload `social/social-preview.png`.
108+
109+
For the published docs site, add to the page `<head>`:
110+
111+
```html
112+
<link rel="icon" href="/brand/favicon/favicon.ico" sizes="any">
113+
<link rel="icon" href="/brand/favicon/favicon.svg" type="image/svg+xml">
114+
<link rel="apple-touch-icon" href="/brand/favicon/apple-touch-icon.png">
115+
<meta property="og:image" content="/brand/social/social-preview.png">
116+
```
117+
118+
## Licence
119+
120+
Brand assets in this folder are released under CC BY 4.0. Fraunces, Hanken Grotesk, and IBM Plex Mono are licensed separately under the SIL Open Font License.

brand/avatar/avatar-512.png

9.18 KB
Loading
4.09 KB
Loading

0 commit comments

Comments
 (0)