fix(branding): sync logo with v0.4.0

This commit is contained in:
Wayner Barrios
2026-08-13 16:38:32 -05:00
parent 45aacfef61
commit 23f89b44d8
2 changed files with 30 additions and 5 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 360" role="img" aria-label="OpenCode Power Pack for Codex, OpenCode, and Pi">
<title>OpenCode Power Pack for Codex, OpenCode, and Pi</title>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 360" role="img" aria-label="OpenCode Power Pack for Claude Code, Codex, OpenCode, and Pi">
<title>OpenCode Power Pack for Claude Code, Codex, OpenCode, and Pi</title>
<defs>
<linearGradient id="bolt" x1="0%" y1="0%" x2="0%" y2="100%">
@@ -66,15 +66,15 @@
<!-- bottom line: POWER PACK -->
<text x="320" y="240" fill="url(#boltText)" font-size="76" letter-spacing="6">POWER PACK</text>
<!-- tagline -->
<text x="320" y="282" fill="#7B8794" font-size="16" letter-spacing="4" font-weight="600">
ELEVEN SKILLS · OPENCODE + CODEX + PI
<text x="320" y="282" fill="#7B8794" font-size="15" letter-spacing="3" font-weight="600">
54 SKILLS · CLAUDE + CODEX + OPENCODE + PI
</text>
</g>
<!-- bottom-right voltage stamp -->
<g transform="translate(1050, 290)" font-family="ui-monospace, monospace">
<rect x="0" y="0" width="124" height="36" fill="none" stroke="#FFE15D" stroke-width="1.25"/>
<text x="62" y="24" font-size="14" font-weight="800" fill="#FFE15D" text-anchor="middle" letter-spacing="3">v0.3.0</text>
<text x="62" y="24" font-size="14" font-weight="800" fill="#FFE15D" text-anchor="middle" letter-spacing="3">v0.4.0</text>
</g>
<!-- top-left registry mark -->

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

+25
View File
@@ -0,0 +1,25 @@
import assert from "node:assert/strict";
import fs from "node:fs";
import path from "node:path";
import test from "node:test";
import { fileURLToPath } from "node:url";
const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
test("logo release metadata matches the shipped package", () => {
const packageJson = JSON.parse(fs.readFileSync(path.join(ROOT, "package.json"), "utf8"));
const logo = fs.readFileSync(path.join(ROOT, "assets", "logo.svg"), "utf8");
const skillCount = fs
.readdirSync(path.join(ROOT, "skills"), { withFileTypes: true })
.filter(
(entry) =>
entry.isDirectory() && fs.existsSync(path.join(ROOT, "skills", entry.name, "SKILL.md")),
).length;
assert.ok(logo.includes(`>v${packageJson.version}</text>`));
assert.match(logo, new RegExp(`>\\s*${skillCount}\\s+SKILLS\\s+·`));
assert.match(
logo,
/aria-label="OpenCode Power Pack for Claude Code, Codex, OpenCode, and Pi"/,
);
});