# Packet Warriors Design System ## Carbon & Signal — v1.5.0 **Creative direction:** Precision industrial with restrained retro-futurism. Designed for independent engineering, experimentation, innovation, technical expertise and professionalism. This starter kit is intended for Packet Warriors (.com/.net), Firefly Logger, Firefly QSL (SmoothQSL), XLX Observatory, and Zensical documentation. It is not an application rewrite. No repositories or deployed sites were modified. ## Start here 1. Open `examples/index.html` in a browser (no server or internet required). Select Light, Dark or System and switch among product specimens. Logger and QSL contain local sample forms. 2. Review `tokens.json` and `contrast.md`. 3. Copy `css/pw-tokens.css` into each application. Load the appropriate adapter or map these tokens to existing CSS. 4. If needed, add your locally hosted IBM Plex fonts using `pw-fonts.css` and the file names below. 5. Migrate one screen at a time, test keyboard paths and tablet layouts, then deploy. ## 1. Brand identity | Name | Hex | Use | |---|---|---| | Carbon | #171715 | Dark canvas | | Graphite | #2E2E2A | Raised structural surfaces | | Pewter | #B8B5AB | Metallic neutral | | Porcelain | #F2EFE9 | Light canvas | | Signal Red | #C12735 | Master brand, rule, solid primary action | | Bright Signal | #D32939 | Red interaction state | | Deep Signal | #861E28 | Brand depth | | Instrument Amber | #DAB16B | Firefly product identity | | Jade | #50B39A | Connected, positive and successful states | | Copper | #C79A80 | Optional illustration, secondary data series or small decoration | **Wordmark:** PACKET in Signal Red, WARRIORS in the mode's main neutral text color. IBM Plex Sans Bold (700), tightly set, no decorative effects. Brand marks should not be used as ordinary small red links in dark mode. Use full accessible text for logos, accessible button names and distinct focus outlines. Prefer a monochrome wordmark if brand red cannot be used legibly at the intended size. **Master logo:** The approved Packet Warriors master logo is supplied in `logos/`. Outer elements are Signal Red #C12735; inner elements are Pewter #B8B5AB on dark or #45443E on light. Use the flat assets for interfaces, a square Carbon-backed icon for favicons, and monochrome when appropriate. Metallic is an optional large-format treatment only. Preserve the exact geometry, orientation and negative space; do not improvise a substitute. See `logos/README.md`. This master mark is distinct from the approved Firefly and XLX Observatory product symbols. Canonical guide: https://www.packetwarriors.com/style-guide/. Color tokens remain v1.0.0 (unchanged). **Firefly product logo:** Firefly Logger and Firefly QSL share the approved four-part Firefly symbol in `logos/firefly-*.svg`. On dark surfaces use Instrument Amber #DAB16B with Pewter #B8B5AB; on light use #8A5D20 with #45443E. Use the same geometry for both products; distinguish them by their product names in IBM Plex Sans 700. See `logos/firefly.md` for the approved assets and usage. Do not add glow, radio motifs, or new product decorations. **XLX Observatory product logo:** Use the approved five-element symbol in `logos/xlx-observatory-*.svg`. The mirrored channel elements alternate Signal Red #C12735 and Pewter #B8B5AB on dark or #45443E on light; the central node is neutral. Use the exact paths with XLX in Signal Red and OBSERVATORY in main text neutral, IBM Plex Sans 700. Refer to `logos/xlx-observatory.md` for official artwork. Preserve the existing operator-configurable reflector logo feature; it is independent of the product identity. **Infrastructure product logos:** FwdFix and GPS Clock Dash use their approved flat SVG assets in `logos/fwdfix-*.svg` and `logos/gps-clock-dash-*.svg` respectively. Both use Signal Red #C12735 and Pewter #B8B5AB on dark, or #45443E neutral on light. FwdFix uses neutral Fwd and red Fix; GPS Clock Dash uses red GPS and neutral CLOCK DASH. Keep the exact geometry and IBM Plex Sans 700 lockups. See `logos/fwdfix.md` and `logos/gps-clock-dash.md`. Signal Red is the default product accent; Firefly Amber is the established exception. Copper remains supplemental and Jade is semantic, not a product identity. **Product architecture:** shared surfaces, typography, shape, interactions and status conventions. Firefly Logger and Firefly QSL use amber for product marks and primary actions. XLX Observatory uses Signal Red (and can retain a reflector's custom logo). Other products default to Signal Red. Jade is a shared semantic accent, not a product brand. Copper is supplemental, not required everywhere. **Do not:** introduce tinted blue-gray canvases, glass effects, large drop shadows, neon gradients in application UI, oversized pills, decorative gauges, or excessive sci-fi type. Color should describe a state or affordance, not just fill empty space. ## 2. Practical color tokens Roles are defined in `tokens.json` and generated to `css/pw-tokens.css` as `--pw-ROLE` and `--pw-ROLE-rgb` (comma-separated RGB). Edit the source dictionaries in `tools/build_tokens.py`, run `python3 tools/build_tokens.py`, and commit all generated files together. | Role | Light | Dark | |---|---|---| | canvas | #F2EFE9 | #171715 | | surface | #FFFCF7 | #22221F | | raised | #E1DED5 | #2E2E2A | | inset | #F8F5EF | #141412 | | text | #272620 | #E8E6DF | | muted | #615F56 | #ADA99F | | border (decorative) | #CBC7BD | #484840 | | control-border | #817D72 | #7A7971 | | primary | #C12735 | #C12735 | | on-primary | white | white | | link | #A52C36 | #D8D4C9 | | firefly | #8A5D20 | #DAB16B | | success | #186950 | #50B39A | | warning | #785018 | #DAB16B | | danger | #A52C36 | #F1989C | | focus | #A52C36 | #DAB16B | The approved brand colors are immutable within this version. The functional light Jade is darker than the early mockup (#207A62) to improve contrast on raised surfaces and success callouts. Dark-mode ordinary links use underlined neutral text, not pale coral. Reserve light red error text for genuine danger; it is deliberately distinct from the actual deep Signal Red brand and is never the wordmark color. Use the paired background token for semantic callouts; do not put ordinary dark-mode body copy on Signal Red. Prefer a dark foreground for dark-mode amber, and white on filled Signal Red. Use text plus symbols for operational conditions. TX/on-air may use Jade plus explicit ON AIR text; do not confuse ongoing radio activity with failure. Warnings use amber only in context; avoid relying on amber alone to distinguish a warning from a normal Firefly action. ## 3. Typography and geometry - IBM Plex Sans: 400 body, 600 headings/controls, 700 branding. IBM Plex Mono: 400 commands, IDs, frequencies, timestamps, optionally call signs. Use monospace selectively. - Base 16px (1rem), small controls and dense data 14px, secondary metadata 13px, section heading 22px, page heading 28px, marketing headline 36px+; body line height 1.5, headings 1.2. Support user zoom, never lock browser font size. - Space scale 4, 8, 12, 16, 24, 32px. Use 4px corner radius for controls, 6px panels, full rounding only for status dots. - Canvas → surface → raised; recessed inputs use inset plus visible control border. Use a 1px separator, 3px red brand rule. Avoid elevation shadows except restrained overlays. - Typical control height 40px; use at least 44px for coarse-pointer/touch controls. Keep visible labels, do not use placeholders alone. - Data tables: compact row padding, meaningful labels and scope on header cells, tabular numerals; horizontal scroll if necessary. Avoid gratuitous nested cards. - Keyboard: maintain existing Tab order, direct shortcuts, Enter submission and autofocus conventions where appropriate. Do not capture keys globally when typing; avoid hover-only actions. Use a visible 2px outline offset 3px. Never remove outlines without a replacement. - Firefly night operations: predominantly Carbon and muted secondary text; no bright white panels, flashing backgrounds or full-page alerts. Provide consistent light/dark switching and respect OS preferences. Keep full contrast for actionable text. ## 4. Native application integration (XLX Observatory) Load `pw-tokens.css` first, optional `pw-fonts.css`, then `pw-components.css` if using those classes; your existing style overrides should follow. ```html