signwright
Code
The colors, the home banners, the 404 illustration, the category icons, the avatar, the favicon and the share images of this site come from one package. signwright keeps the visual identity of brunosouzas.com in code: what each color means, who the characters are and which pieces draw a diagram, so covers, diagrams and videos start from the same source.
The covers of the articles already published are not ported to it yet.
The cast
Seven characters share one skin (white body, dark outline, a visor): a character’s identity is its shape, not its color. Mira is the protagonist, Visor is the AI agent, Drone handles delivery, Kiu is the wiki and the series, Sinal is stackledger, Balão asks and approves, and Chaves is the developer. The last two arrived in 0.13.0.
Eight reaction symbols with a fixed meaning go with the cast: idea, doubt, problem, worked, refused, pressure, liked and waiting.
The colors
The state colors have a fixed meaning: green is healthy, orange is blocked, yellow is transitional, red is the failure path. The drawing below also holds the brand in light and dark themes and the cover backgrounds of each track (eleven, plus the neutral), each color with its token name and hex value.
The pieces
Each piece is a TypeScript function that returns SVG: label, sheet, code panel, gear, the 34 EIP icons, diagram boxes and message arrows. None paints a color that does not mean something. Below, a selection of the pieces, each with its name.
The motion
React components for Remotion animate the same pieces: a block, an arrow that draws itself, a token that travels through the transition. The video scenes live in a separate, private repository; circuit-breaker-topology is published in the article Circuit Breaker in MuleSoft: When Retry Makes Things Worse.
Getting started
The tokens and the pieces are on npm. They need Node.js 22.12 or later.
npm install @brunosouzas/signwright
import { pill, toSvg, tokens } from "@brunosouzas/signwright";
const label = pill({ x: 60, y: 30, text: "main" });