Something went wrong. Try again.
A warm, tech-dystopian color scheme inspired by corrupted hardware and failing systems. digitalrust.katsuricata.com
theme color-scheme color-theme warm color
Something went wrong. Try again.
DigitalRust ui.html
16 kB · 335 lines
HTML
at commit 1c8d2c10
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336<!DOCTYPE html><html lang="en-US">
<head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Digital Rust / UI Guidelines</title> <script defer src="https://ichnaea.eris.host/ichnaea.js" data-website-id="887fbb32-f566-4362-9666-860bf6cf8c93"></script> <script defer src="https://ichnaea.eris.host/recorder.js" data-website-id="887fbb32-f566-4362-9666-860bf6cf8c93"></script> <link rel="preconnect" href="https://fonts.bunny.net"> <link href="https://fonts.bunny.net/css?family=rajdhani:400,500,600,700|zilla-slab:400,400i,500,600,700|ibm-plex-mono:400,500,600,700&display=swap" rel="stylesheet" /> <link href="normalize.css" rel="stylesheet" /> <link href="tokens.css" rel="stylesheet" /> <link href="style.css" rel="stylesheet" /> <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <link rel="shortcut icon" href="/favicon.ico" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <meta name="apple-mobile-web-app-title" content="Digital Rust" /> <link rel="manifest" href="/site.webmanifest" /></head>
<body> <main class="container"> <header> <h1>UI GUIDELINES</h1> <span class="version-badge">Spec v1.2.2</span> <div class="subtitle">Tactile · Heavy · Pressable</div> <div class="tagline">Chunky hardware panels for failing systems. The Digital Rust UI Specification, demonstrated live.</div> <nav class="lead-links" aria-label="Site links"> <div class="link-group"> <span class="link-group-label">The Theme</span> <ul> <li><a href="Digital Rust UI Specification.md" download>Download UI Spec (Markdown)</a></li> <li><a href="index.html">Demonstration</a></li> <li><a href="spec.html">Full Spec</a></li> <li><a href="/playground/">Playground</a></li> <li><a href="https://tangled.org/katsuricata.com/DigitalRust">Tangled</a></li> </ul> </div> </nav> </header>
<section aria-labelledby="principles-heading"> <h2 id="principles-heading" class="section-title">Design Principles</h2> <p class="section-copy">Digital Rust interfaces are tactile panels in a failing server rack. Every interactive element is a physical piece of chunky old hardware: a switch you can press, a bezel that catches light, a surface with weight. Five rules carry the system.</p> <div class="ui-components-grid"> <div class="component-panel"> <h3>1 · Everything physical has an edge</h3> <p>Interactive elements carry 2px Dark Packet borders. Borders are walls, not decoration.</p> </div> <div class="component-panel"> <h3>2 · Everything raised casts a hard shadow</h3> <p>Offset solid shadows, zero blur, drawn in Bad Sector. Light in this system is directional and warm.</p> </div> <div class="component-panel"> <h3>3 · Everything raised catches light</h3> <p>The inner highlight (<code>inset 0 1px 0 rgba(255,255,255,0.1)</code>) rides under every offset shadow. It is the bevel of the panel.</p> </div> <div class="component-panel"> <h3>4 · Everything pressable presses</h3> <p>Rest has offset; hover lifts and grows it; active collapses it and drives the element into the rack. No static hovers.</p> </div> <div class="component-panel"> <h3>5 · Nothing is flat</h3> <p>Surfaces carry structural noise and scanlines. Interactive text surfaces (inputs, editors) are exempt: legibility outranks atmosphere inside a text field.</p> </div> </div> </section>
<section aria-labelledby="physics-heading"> <h2 id="physics-heading" class="section-title">Interaction Physics</h2> <p class="section-copy">The press cycle is the system's signature motion. The element translates <em>with</em> the shadow: hover lifts toward the light (up-left), active presses away from it (down-right), always at 150ms.</p> <div class="code-block"> <div class="code-block-header"> <span class="code-block-title">The Press Cycle</span> <span class="code-block-lang">CSS</span> </div> <pre class="code"><span class="comment">/* Rest: offset shadow + inner-highlight bevel */</span><span class="selector">.dr-btn</span> <span class="punctuation">{</span> <span class="property">box-shadow</span><span class="punctuation">:</span> <span class="function">var</span><span class="punctuation">(</span><span class="variable">--dr-shadow-offset-sm</span><span class="punctuation">),</span> <span class="function">var</span><span class="punctuation">(</span><span class="variable">--dr-shadow-inner-highlight</span><span class="punctuation">);</span><span class="punctuation">}</span><span class="comment">/* Hover: lift toward the light, offset grows 2px per axis */</span><span class="selector">.dr-btn:hover</span> <span class="punctuation">{</span> <span class="property">transform</span><span class="punctuation">:</span> <span class="function">var</span><span class="punctuation">(</span><span class="variable">--dr-press-hover</span><span class="punctuation">);</span> <span class="comment">/* translate(-2px, -2px) */</span> <span class="property">box-shadow</span><span class="punctuation">:</span> <span class="function">var</span><span class="punctuation">(</span><span class="variable">--dr-shadow-hover-md</span><span class="punctuation">),</span> <span class="function">var</span><span class="punctuation">(</span><span class="variable">--dr-shadow-inner-highlight</span><span class="punctuation">);</span><span class="punctuation">}</span><span class="comment">/* Active: drive into the rack, offset collapses */</span><span class="selector">.dr-btn:active</span> <span class="punctuation">{</span> <span class="property">transform</span><span class="punctuation">:</span> <span class="function">var</span><span class="punctuation">(</span><span class="variable">--dr-press-active</span><span class="punctuation">);</span> <span class="comment">/* translate(2px, 2px) */</span> <span class="property">box-shadow</span><span class="punctuation">:</span> <span class="function">var</span><span class="punctuation">(</span><span class="variable">--dr-shadow-active</span><span class="punctuation">);</span><span class="punctuation">}</span></pre> </div> <p class="section-copy" style="margin-top: var(--dr-space-md);">Try it on every button, checkbox, and chip on this page. Focus is a 2px Stack Overglow outline at 2px offset, in addition to the resting shadow; keyboard focus never removes the shadow. Under <code>prefers-reduced-motion</code>, transforms and transitions are removed but all state colours remain.</p> </section>
<section aria-labelledby="buttons-heading"> <h2 id="buttons-heading" class="section-title">Buttons</h2> <p class="section-copy">The signature component. A hardware panel switch: thick edge, hard shadow, light-catching bevel, physical travel. One primary per view; labels are verbs ("Save changes", not "OK").</p> <div class="component-panel"> <h3>Variants</h3> <div class="component-row"> <button class="btn btn-primary" type="button">Save Changes</button> <button class="btn" type="button">Discard</button> <button class="btn" type="button" disabled>Offline</button> </div> <div class="component-row"> <button class="btn btn-success" type="button">Apply Patch</button> <button class="btn btn-warning" type="button">Force Push</button> <button class="btn btn-error" type="button">Kill Process</button> </div> <p class="component-note">primary: Digital Rust → Firewall Breach + glow on hover · ghost: transparent → Core Meltdown fill + Digital Rust border · disabled: dead switch, no click</p> </div> </section>
<section aria-labelledby="inputs-heading"> <h2 id="inputs-heading" class="section-title">Inputs & Wells</h2> <p class="section-copy">Inputs sit <em>below</em> the panel, not above it: the Recessed Well Rule. The darkest surface on the page, a 2px Bad Sector border, no offset shadow. Depth through darkness, not elevation.</p> <div class="ui-components-grid"> <div class="component-panel"> <h3>Text Input</h3> <div class="dr-field"> <label for="ui-hostname">Hostname</label> <input class="dr-input" id="ui-hostname" type="text" placeholder="mainframe.local" /> </div> <div class="dr-field"> <label for="ui-key">Recovery Key</label> <input class="dr-input" id="ui-key" type="password" value="hunter2" /> </div> <div class="dr-field"> <label for="ui-port">Port</label> <input class="dr-input" id="ui-port" type="text" value="22" aria-invalid="true" /> <p class="field-error">✗ Connection refused on port 22</p> </div> <div class="dr-field"> <label for="ui-disabled">Decommissioned Node</label> <input class="dr-input" id="ui-disabled" type="text" placeholder="offline" disabled /> </div> </div> <div class="component-panel"> <h3>Text Area & Slider</h3> <div class="dr-field"> <label for="ui-log">Crash Log</label> <textarea class="dr-textarea" id="ui-log" placeholder="kernel panic - not syncing: attempted to kill init"></textarea> </div> <div class="dr-field"> <label for="ui-voltage">Bus Voltage</label> <input class="dr-slider" id="ui-voltage" type="range" min="0" max="100" value="42" /> </div> <p class="component-note">hover: Dark Packet border · focus: Digital Rust border + Stack Overglow ring · invalid: Amber Alert</p> </div> </div> </section>
<section aria-labelledby="switches-heading"> <h2 id="switches-heading" class="section-title">Switches</h2> <p class="section-copy">Checkboxes run the full press cycle; toggles slide a machined thumb on a railed track. Both are square-edged: machined parts, not pills.</p> <div class="ui-components-grid"> <div class="component-panel"> <h3>Checkboxes</h3> <div class="component-row"> <label class="dr-checkbox"><input type="checkbox" checked /> Enable telemetry scrubbing</label> </div> <div class="component-row"> <label class="dr-checkbox"><input type="checkbox" /> Mount /dev/rust</label> </div> <div class="component-row"> <label class="dr-checkbox"><input type="checkbox" disabled /> Bricked channel</label> </div> </div> <div class="component-panel"> <h3>Toggles</h3> <div class="component-row"> <label class="dr-toggle"><input type="checkbox" checked /> Thermal limiter</label> </div> <div class="component-row"> <label class="dr-toggle"><input type="checkbox" /> Overclock bus</label> </div> </div> </div> </section>
<section aria-labelledby="containers-heading"> <h2 id="containers-heading" class="section-title">Containers</h2> <p class="section-copy">Tabs, menus, modals, toasts, tooltips, callouts, and status bars: solid panels bolted over the page, never blurred glass.</p> <div class="ui-components-grid"> <div class="component-panel"> <h3>Tabs</h3> <div class="dr-tabs"> <div class="dr-tab-bar" role="tablist"> <button class="dr-tab active" role="tab" aria-selected="true" type="button">kernel.c</button> <button class="dr-tab" role="tab" aria-selected="false" type="button">panic.c</button> <button class="dr-tab" role="tab" aria-selected="false" type="button">README</button> </div> <div class="dr-tab-body">$ gcc -o entropy kernel.c && ./entropy<br />segmentation fault (core dumped)</div> </div> <div class="dr-statusbar" style="margin-top: var(--dr-space-md); border-radius: var(--dr-radius); border: var(--dr-border);"> <span>ln 42, col 7</span> <span class="status-error">✗ 3</span> <span class="status-warning">⚠ 1</span> <span class="status-success">Git✓</span> </div> </div> <div class="component-panel"> <h3>Menu</h3> <ul class="dr-menu"> <li>Recompile kernel</li> <li aria-selected="true">Inspect core dump</li> <li class="menu-separator" aria-hidden="true"></li> <li>Flash firmware</li> <li>RMA the board</li> </ul> <p class="component-note">hover: Bad Sector fill · separators full-bleed · no backdrop blur</p> </div> <div class="component-panel"> <h3>Modal</h3> <div class="dr-modal-demo"> <h4>Format /dev/rust?</h4> <p>This will irrecoverably corrode all sectors on the device. Backups will not save you.</p> <div class="modal-actions"> <button class="btn" type="button">Cancel</button> <button class="btn btn-error" type="button">Format Disk</button> </div> </div> <p class="component-note">offset-lg, highest layer · one primary per view · backdrop: rgba(17,4,2,0.7), never black, never blurred</p> </div> <div class="component-panel"> <h3>Toasts</h3> <div class="dr-toast success">✓ Firmware flashed. 4,096 blocks verified.</div> <div class="dr-toast warning">⚠ Bus temperature 85.5°C and rising.</div> <div class="dr-toast error">✗ Kernel panic in module entropy.ko</div> <div class="dr-toast info">ℹ 3 updates staged for next reboot</div> <p class="component-note">Bricked Board panel — notices radiate residual heat</p> </div> <div class="component-panel"> <h3>Callouts</h3> <div class="dr-callout note"> <div class="callout-title">Note</div> <p>The 3px left accent is a deliberate exception to the no-accent-stripe rule, so semantic blocks are identifiable at scroll speed.</p> </div> <div class="dr-callout warning"> <div class="callout-title">Warning</div> <p>Offset shadows communicate elevation. Colour communicates semantics. Never both at full strength.</p> </div> </div> <div class="component-panel"> <h3>Badges & Tooltip</h3> <div class="component-row"> <span class="badge add">Git Added</span> <span class="badge mod">Git Modified</span> <span class="badge del">Git Deleted</span> <span class="badge warn">Deprecated</span> <span class="badge info">Hint</span> </div> <div class="component-row"> <div class="dr-tooltip-demo">Tooltip: Core Meltdown panel, offset-md + bevel, Phosphor Smoke text. No arrow stem; the shadow says what it floats above.</div> </div> <p class="component-note">badges are static rivets: no press cycle, no shadow</p> </div> </div> </section>
<section aria-labelledby="rules-heading"> <h2 id="rules-heading" class="section-title">Named Rules</h2> <div class="ui-components-grid"> <div class="component-panel"> <h3>The No Blur Rule</h3> <p>Blur radius is zero everywhere except glow shadows, which simulate radiated heat, not material depth.</p> </div> <div class="component-panel"> <h3>The Bevel Rule</h3> <p>An element with an offset shadow and no inner highlight is unfinished. The two are stacked and travel together.</p> </div> <div class="component-panel"> <h3>The Recessed Well Rule</h3> <p>Wells stay in the rack: no offset shadow, no hover lift, no texture. Depth through darkness, not elevation.</p> </div> <div class="component-panel"> <h3>The Black Is Forbidden Rule</h3> <p>No <code>#000</code> anywhere, including scrims and backdrops. Warm near-blacks only.</p> </div> <div class="component-panel"> <h3>The Radius Ceiling Rule</h3> <p>Nothing rounds past 6px. 4px for panels, 2px for machined parts (checkboxes, thumbs, menu items). Pills for badges only.</p> </div> <div class="component-panel"> <h3>The Dead Switch Rule</h3> <p>Disabled elements have no shadow and no transform. A dead switch does not click.</p> </div> </div> </section>
<footer> <p class="license-note"> <a href="https://digitalrust.katsuricata.com/">Digital Rust</a> © 2025–2026 by <a href="https://KatSuricata.com/">Kat Suricata</a> is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>. </p> <p class="footer-tagline">Chaos reigns.</p> </footer> </main></body>
</html>