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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center">

![Sparo OS](./image/Sparo_title.png)
![Sparo OS](./image/sparo-readme-wordmark.png)

</div>
<div align="center">
Expand Down Expand Up @@ -34,7 +34,7 @@ Technical foundation derived from the upstream [GCWing/BitFun](https://github.co

</div>

![Sparo OS Hero](./image/readme_hero.png)
![Sparo OS Hero](./image/readme_hero.webp)

---

Expand Down
4 changes: 2 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center">

![Sparo OS](./image/Sparo_title.png)
![Sparo OS](./image/sparo-readme-wordmark.png)

</div>
<div align="center">
Expand Down Expand Up @@ -35,7 +35,7 @@

</div>

![Sparo OS Hero](./image/readme_hero_CN.png)
![Sparo OS Hero](./image/readme_hero_CN.webp)

---

Expand Down
66 changes: 66 additions & 0 deletions assets/brand/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Sparo OS brand assets

This directory is the single source of truth for Sparo OS brand artwork.

## Roles

- The default product logo is the circular material mark derived from `source/sparo-mark-master.png`.
- Launch, dock, taskbar, installer, home-screen, favicon, application-list, and system-tray surfaces use the circular material Logo at every size.
- The `Sparo OS` wordmark is extracted from `reference/sparo-identity-board.png`; it is not recreated with a font or redrawn path.
- Tray artwork uses the complete circular material Logo with its red core. Active states add only a compact semantic badge. The app's compact top-left home control keeps a separate source-derived red-core asset.

## Canonical inputs

- `source/sparo-mark-master.png` — user-supplied high-resolution transparent mark master.
- `source/sparo-core-master.png` — user-supplied high-resolution transparent red-core master.
- `reference/sparo-identity-board.png` — approved identity board and wordmark reference.

The generator removes low-alpha speckles, normalizes the visible mark to a true circular field, tightly crops application and tray icons to the visible circular bounds, preserves material lighting, and creates every product asset deterministically. Brand artwork is PNG-only: do not trace the mark or wordmark into SVG, and do not hand-edit generated copies.

## Generated outputs

- `exports/mark/` — responsive circular marks from 16 to 512 px.
- `exports/app-icon/` — edge-fitted circular application icons from 16 to 1024 px, each exported without added transparent padding and with alpha-safe target-size reduction.
- `exports/core/` — target-specific red-core PNGs reserved for compact in-product controls.
- `exports/wordmark/` — globally consistent optically bold primary, reversed, and monochrome wordmarks.
- `exports/lockup/` — horizontal mark-and-wordmark lockups.
- `exports/tray/` — target-specific 16, 20, 24, 32, and 48 px full-Logo tray PNGs, plus light, dark, and semantic state variants.
- `exports/web/` — favicons, Apple touch icon, and Web app icons.
- `qa/` — large-format, small-size, and tray-state review matrices.
- `manifest.json` — source provenance and deterministic product-output hashes.
- `adoption-manifest.json` — hashes of synchronized product copies and platform icon files.

QA preview boards are review artifacts rather than product inputs. Their labels
use the host font renderer, so checks require the committed PNGs to exist with
the expected dimensions but intentionally omit their byte hashes from the
cross-platform deterministic manifest.

## Color reference

- Core Red: `#E53935`
- Warm White: `#F5F2EE`
- Soft Ivory: `#ECE7E1`
- Sand Gray: `#D8D3CC`
- Deep Charcoal: `#1A1A1A`

The master contains photographic/material variation around these reference colors. Do not flatten its red core or replace its shadows with generic CSS effects.

## Usage rules

- Use the circular material Logo for general in-product identity, operating-system application icons, and tray states. Use the red core only for the compact app-chrome home control.
- Use the dedicated 16–64px edge-fitted app-icon exports for taskbars, window icons, favicons, and other compact surfaces instead of relying on operating-system downscaling.
- Use the same canonical primary or reversed wordmark on every product surface, including the boot splash and About dialog. Its neutral strokes are expanded deterministically in the source export while the approved letterforms and red core remain unchanged; do not simulate boldness with CSS or create surface-specific copies.
- Select the nearest generated raster size; never upscale a small copy. Application and tray icons use target-specific alpha-safe reduction with the circular container fitted to all four canvas edges instead of operating-system downscaling of the padded master.
- Use the material mark at 64 px and above. At 16–48 px, use the dedicated target-size PNG.
- Preserve a clear space of at least one red-core radius around standalone marks and lockups.
- Never crop the red core, recolor the material master, add an extra drop shadow, or redraw the geometry.

## Commands

```text
pnpm run brand:generate
pnpm run brand:sync
pnpm run brand:check
```

`brand:generate` rebuilds the deterministic PNG package. `brand:sync` also copies declared consumers, regenerates desktop/installer platform icons, removes retired vector assets, and records adoption hashes. `brand:check` fails on stale, missing, unmanaged, or legacy brand resources.
Loading
Loading