Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/profile-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- "brittek-keys-logo.webp"
- "profile/**"
- "scripts/validate_profile.py"
- "scripts/check_brand.py"
- "brand/**"
- "presentation/**"
- "lychee.toml"
- ".github/workflows/profile-quality.yml"
push:
Expand All @@ -17,6 +20,9 @@ on:
- "brittek-keys-logo.webp"
- "profile/**"
- "scripts/validate_profile.py"
- "scripts/check_brand.py"
- "brand/**"
- "presentation/**"
- "lychee.toml"
- ".github/workflows/profile-quality.yml"
schedule:
Expand Down Expand Up @@ -45,6 +51,9 @@ jobs:
- name: Validate README structure and local assets
run: python3 scripts/validate_profile.py

- name: Validate brand kit and presentation
run: python3 scripts/check_brand.py

- name: Check external links
uses: lycheeverse/lychee-action@885c65f3dc543b57c898c8099f4e08c8afd178a2 # v2.6.1
with:
Expand Down
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ semantic versioning for ordinary profile edits.

### Added

- `brand/`, a reusable kit generated from the brittek-surface masters: a
symbol sprite (`#brtk`, `#command`, `#asterisk`), standalone SVGs for the
primary lockup, wordmark, COMMAND and ASTERISK in light and dark, the
canonical favicon, and the five self-hosted type registers with their OFL
licences;
- `scripts/check_brand.py`, run by the Profile quality workflow, which keeps
the presentation's inline sprite identical to `brand/marks.svg` and rejects
third-party font or asset origins;

- repository governance documents;
- machine-readable profile surfaces;
- workflow documentation;
Expand All @@ -28,6 +37,20 @@ semantic versioning for ordinary profile edits.

### Changed

- the presentation now places the current masters: the BRAND-01 `brtk.`
wordmark and the APPEARANCE-04C COMMAND legend replace the retired Lab
2026.14 drawings. The header carries `brtk.` alone; the primary lockup is
COMMAND + `brtk.`; the favicon tile is the Signal ASTERISK; Runtime is set in
Geist Pixel Square; the opening field marks important nodes with the
ASTERISK and the active node in Signal;
- the presentation loads its type from `brand/fonts` and makes no third-party
requests (Google Fonts removed). The Runtime register is now rendered;
- small Signal text on Paper uses `#CC3B02` to meet contrast;
- the presentation passes the studio pre-flight: the dark ground is Ink
(retired `#0D0D0B` removed), the palette shows Paper, Bone, Ink and Signal,
controls are 48px, step numbers and scene markers meet contrast, hover states
no longer animate colour, notes read in Inter, and visible copy has no en dash;

- repository standard moved from aspirational documentation toward actual
implementation;
- `streak-stats.yml` now pins `actions/checkout` to an immutable commit SHA,
Expand Down
96 changes: 96 additions & 0 deletions brand/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Brand kit

The Brittek identity masters, packaged for reuse outside the production
application. Every file here is generated from the canonical sources in
`brittek/brittek-surface`; nothing is redrawn or traced.

| Source in brittek-surface | Ruling | Provides |
| :--- | :--- | :--- |
| `lib/design/brtk-mark.ts` | BRAND-01, 2026-10-19 | `brtk.` wordmark: letters and full stop |
| `components/system/CommandMark.tsx` | APPEARANCE-04C, 2026-10-19 | COMMAND faces and legend, `ASTERISK_PATH` |
| `public/brand/source/favicon-v4/asterisk-signal.svg` | Identity doctrine 2026-09-27 | Favicon master |
| `app/fonts/*.woff2`, `public/licenses/*` | Font lock 2026-09-21 | Five type registers (OFL) |

Generated from `brittek-surface@45ca03e`. When a master changes there, regenerate
here; do not edit the geometry by hand.

## Contents

```text
brand/
├── marks.svg sprite: #brtk, #command, #asterisk, #asterisk-path
├── svg/
│ ├── lockup-ink.svg primary lockup, COMMAND + brtk., for light grounds
│ ├── lockup-paper.svg primary lockup for dark grounds
│ ├── brtk-ink.svg wordmark, Ink letters, Signal stop
│ ├── brtk-paper.svg wordmark, Paper letters, Signal stop
│ ├── command-ink.svg COMMAND, Ink line on Paper faces
│ ├── command-paper.svg COMMAND, Paper line on Ink faces
│ ├── asterisk-signal.svg ASTERISK in Signal, transparent ground
│ └── favicon-asterisk-signal.svg canonical favicon, copied byte for byte
└── fonts/ Inter Tight, Inter, Geist, Geist Mono, Geist Pixel Square
```

## Using the sprite

Inline the `<defs>` of `marks.svg` once per page, or reference it on the same
origin. A `<use>` of a `<symbol>` draws from the outer SVG's origin, so the outer
`viewBox` starts at `0 0` and carries the symbol's size:

```html
<svg viewBox="0 0 3669 1510" style="height:20px; color:#111111"><use href="#brtk"/></svg>
<svg viewBox="0 0 262.49 220" style="fill:#F4F3EF; stroke:#111111; stroke-width:2.2"><use href="#command"/></svg>
<svg viewBox="0 0 120 32" style="color:#FE4A02"><use href="#asterisk"/></svg>
```

| Symbol | Colour hooks |
| :--- | :--- |
| `#brtk` | letters take `currentColor`; the stop takes `--brtk-stop` (default Signal) |
| `#command` | faces inherit `fill` and `stroke`; the legend takes `--command-legend` (default `currentColor`) |
| `#asterisk` | `currentColor` |
| `#asterisk-path` | raw path for canvas `Path2D` and custom placements |

## Usage rules

From the identity doctrine in `brittek-surface` (`docs/platform/identity-typography-doctrine-2026-09-27.md`)
and later owner rulings:

- **COMMAND + `brtk.`** is the primary lockup, for full identity compositions.
- **`brtk.`** is the only mark in the compact header (HEADER-SINGLE-MARK, #320).
- **ASTERISK** is the favicon and compact app identity. Below about 32px,
COMMAND loses its construction; use the ASTERISK instead.
- **Pixel `brtk.`** is a runtime word-sign: Geist Pixel Square with the Signal
stop, paired with a Mono state label, only while the system is working.
- **One Signal event per plate.** In the lockup the stop carries Signal, so the
COMMAND legend stays Ink.
- In Registered Execution fields: ordinary module blank, important node
ASTERISK, active node Signal ASTERISK.
- Never set `brtk.` in a font, approximate COMMAND with CSS polygons or rebuild
a mark from a screenshot.

The lockup's spacing (COMMAND on the wordmark's ascender-to-baseline band, gap
0.42 of that band) is a proposal, not an owner ruling.

## Colour

| Token | Value | Notes |
| :--- | :--- | :--- |
| Paper | `#F4F3EF` | Primary surface |
| Bone | `#ECEAE3` | Secondary surface |
| Ink | `#111111` | Text and dark surface |
| Signal | `#FE4A02` | The only accent. Large text, marks and rules only on Paper |
| Signal text | `#CC3B02` | Small text in the interaction colour on Paper (4.51:1) |

## Fonts

Latin-subset WOFF2 files, copied from `brittek-surface/app/fonts`, with their
OFL licences. Declare them with `@font-face` and `font-display: swap`; see
`presentation/index.html` for a working block. No page should load fonts from
Google Fonts or another third-party origin.

## Verification

`python3 scripts/check_brand.py` confirms the sprite's symbols, that the
presentation's inline sprite matches this file, that every declared font
exists, and that the presentation requests nothing from a third-party origin.
It runs in the Profile quality workflow.
Binary file added brand/fonts/Geist-Variable.woff2
Binary file not shown.
Binary file added brand/fonts/GeistMono-Variable.woff2
Binary file not shown.
Binary file added brand/fonts/GeistPixel-Square.woff2
Binary file not shown.
Binary file added brand/fonts/Inter-Variable.woff2
Binary file not shown.
Binary file added brand/fonts/InterTight-Variable.woff2
Binary file not shown.
20 changes: 20 additions & 0 deletions brand/fonts/SOURCES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Font source inventory

Owner lock: 21 September 2026.

The application loads all public brand fonts from local assets through `app/fonts.ts`.

| File | Register | Upstream source | Upstream ref | Licence |
| --- | --- | --- | --- | --- |
| `InterTight-Variable.woff2` | Editorial | existing governed repository asset | existing repository provenance | OFL |
| `InterTight-Italic-Variable.woff2` | Editorial italic | existing governed repository asset | existing repository provenance | OFL |
| `Inter-Variable.woff2` | Reading | `rsms/inter` `docs/font-files/InterVariable.woff2` | `v4.1` | `/licenses/inter-OFL.txt` |
| `Geist-Variable.woff2` | Interface | `vercel/geist-font` `fonts/Geist/webfonts/Geist[wght].woff2` | `v1.7.2` | `/licenses/geist-OFL.txt` |
| `GeistMono-Variable.woff2` | Technical | existing governed repository asset | existing repository provenance | `/licenses/geist-mono-OFL.txt` |
| `GeistPixel-Square.woff2` | Runtime | `vercel/geist-font` `fonts/GeistPixel/webfonts/GeistPixel-Square.woff2` | `v1.7.2` | `/licenses/geist-OFL.txt` |

## Subsetting (W-LH hygiene)

All six WOFF2 files above are **latin-subsetted** from the upstream binaries via `fonttools` / `pyftsubset` (`--flavor=woff2`, latin + common punctuation unicodes, layout features retained, variable `wght` axis retained where present). No Google Fonts, CDN fonts, or static TTF tree. Re-subset from the upstream refs above when replacing a binary; do not widen the glyph set without a measured need.

No public page should request font files from Google Fonts, raw GitHub or another third-party origin at runtime.
93 changes: 93 additions & 0 deletions brand/fonts/geist-OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
93 changes: 93 additions & 0 deletions brand/fonts/geist-mono-OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font.git)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Loading
Loading