DIGITAL RUST

Spec v1.0.0
Syntax · UI · Terminal
A warm, tech-dystopian color scheme inspired by corrupted hardware and failing systems.

Try it out! | Full Spec | VSCode | Firefox | KDE Plasma Colors | fish Shell | Wallpaper | Codeberg

digitalrust@entropy:~$ cat DIGITAL_RUST_SPEC.md | verify --strict
fingerprint: 0xDR-1.0.0
updated: 2025-11-29
priority-order: errors > warnings > semantic > textmate
digitalrust@entropy:~$ theme audit --sections syntax ui terminal accessibility
Syntax Coverage ........ PASS
UI Surfaces ............ PASS
ANSI Map ............... PASS
Non-color cues ......... PASS
digitalrust@entropy:~$ tail -n4 /var/log/digital-rust
[OK] WCAG contrast ≥ 4.5:1 enforced
[OK] Markdown + JSON + Diff snapshots loaded
[OK] Terminal ANSI pairs bound to palette
[!] Remember: errors outrank keywords
digitalrust@entropy:~$

Spec Guarantees

Priority Stack

  • Error scopes override everything with Amber Alert
  • Warnings inherit Stack Overglow with wavy underline
  • Semantic tokens fall back to TextMate colors when absent

Language Coverage

  • TypeScript · Python · Rust · Markdown · JSON/TOML
  • HTML/CSS · SQL · Shell · Diff/SCM views
  • Template + decorator scopes, regex, interpolation

Editor & UI

  • Tabs, gutter, minimap, status bar, panels
  • Diagnostics + git markers reuse ANSI cues
  • Focus rings + disabled states meet contrast rules

Accessibility

  • Solid vs. wavy underline separates links/errors
  • Color-blind safe via redundant icons + patterns
  • Documented contrast pairs for auditing

Theme Preview

VS Code window using Digital Rust theme with Rust sample code open Linux desktop with Digital Rust wallpaper and terminal window running theme audit KDE color scheme editor window displaying the Digital Rust theme palette with preview swatches for UI elements Linux desktop terminal using the Digital Rust, showing a fastfetch system overview with hardware specs and ASCII logo

Token Classification Map

Each card renders the canonical color, name, and example scopes. Sigils inherit their parent token color per spec.

Keywords & Storage Fatal Error · #cf8175

Control flow, modifiers, `try/catch`, storage types.

class return await
Functions & Macros Stack Overglow · #d4a759

User functions, built macros, shell commands.

renderTheme() println! COUNT
Classes & Types Dead Thread · #6fa5a0

Types, interfaces, trait names, lifetimes.

SystemState bool 'static
Strings & Regex Memory Leek · #8fa667

Literal text, heredocs, regex bodies & groups.

"corrupted" /kernel.+panic/
Numbers & Units Thermal Throttle · #d78556

Integers, floats, hex, CSS units, rgb values.

0xDEADBEEF 42 85.5°C
Constants & Specials Bright Stack Overglow · #d3ae6e

Booleans, null-like, enum values, magic names.

true None Status::OK
Comments & Docs Dim Thermal · #a36541

Inline comments, docstrings, shebangs (italic).

// note #!/bin/bash
Decorators & Attributes Dead Thread · italic

Python decorators, Rust attributes, JSX props.

@dataclass #[cfg(test)]
Support & Built-ins Dim Stack · #a07e43

Standard library functions, DOM globals, HTML attributes.

console print class
Variables & Identifiers Ghost Pixel · #f7eae8

Parameters, locals, properties, fallback text.

entropyLevel error $PATH
Operators & Punctuation Copper Trace · #d7968c

Brackets, sigils, punctuation, interpolation braces.

=== { } ::
Diagnostics & Errors Amber Alert · #bf5747

Wavy underline + icon ensures non-color cues.

panic() deprecated()

Language Snapshots

Ten grammars render simultaneously, satisfying the spec requirement for multi-language verification.

TypeScript ES2024
// Scoped diagnostic enforcing semantic priority
export class KernelProbe {
    readonly threshold: number = 85.5
    async ping(bus: SystemBus): Promise<void> {
        const reading = await bus.read("temp")
        if (reading > this.threshold) {
            throw new Error(`🔥 kernel panic: ${reading}°C`)
        }
    }
}
Python 3.12
#!/usr/bin/env python3
"""Digital Rust semantic sample"""

@dataclass
class Snapshot:
    name: str
    ok: bool = True

    def emit(self, metric: float) -> None:
        print(f"{self.name}: {metric:.2f}")

RUN = Snapshot("ansi-map", True)
if __name__ == "__main__":
    RUN.emit(4.50)
Rust 1.76
// Attributes + lifetimes share Dead Thread
#[derive(Debug, Clone)]
pub struct Telemetry<'a> {
    buffer: &'a [u8],
    heat: f32,
}

impl Telemetry<'_> {
    pub fn check_integrity(&self) -> Result<bool, Error> {
        if self.heat > 95.0 {
            return Err(Error::new(ErrorKind::Other, "KERNEL PANIC"))
        }
        Ok(true)
    }
}
Markdown Spec prose
## Digital Rust Guarantees
- Tokens inherit `Ghost Pixel` when undefined
- Links stay underlined [even offline](spec.md)
> Errors outrank keywords every time.
JSON / TOML Config
{
  "editor": {
    "background": "#110402",
    "cursor": "#D4A759",
    "useRainbowBrackets": true
  },
  "diagnostics": ["error:wavy", "warning:stack"]
}
HTML + CSS Markup
<section class="panel">
  <h3>@keyframes glitch</h3>
</section>

.panel {
  border: 1px solid var(--dark-packet);
  color: var(--ghost-pixel);
}
Diff / Git Unified
@@ -12,6 +12,7 @@
- panic!("kernel meltdown")
+ log::warn!("stack overglow engaged")
  return Ok(())
Shell / CLI Bash
rust@host$ digitalrust --apply --profile="dark"
rust@host$ export THEME="digital-rust"
rust@host$ printf "%s\n" $THEME
SQL ANSI
SELECT
    COUNT(*) AS total_panics
FROM errors
WHERE palette = 'digital-rust'
  AND severity IN ('fatal', 'critical');

Main Color Palette

Warm rust-to-void gradient used across editor, UI, and docs.

Ghost Pixel #F7EAE8
Phosphor Smoke #EFD5D1
Phantom Current #E7C0BA
Corrupted Cache #DFABA3
Copper Trace #D7968C
Fatal Error #CF8175
Rouge Signal #C76C5E
Amber Alert #BF5747
Firewall Breach #B74230
Digital Rust #AF2E1A
Kernel Panic #9D2917
Data Rot #8C2414
Bricked Board #7A2012
Dark Packet #691B0F
Daemon Blood #57170D
Bad Sector #46120A
Core Meltdown #340D07
Null Pointer #230905
Event Horizon #110402

ANSI 16-Color Map

Black Event Horizon #110402
Red Digital Rust #AF2E1A
Green Memory Leek #8FA667
Yellow Stack Overglow #D4A759
Blue Blue Screen #8791B0
Magenta Fractured Shell #BA5A7D
Cyan Dead Thread #6FA5A0
White Phosphor Smoke #EFD5D1
Bright Black Bad Sector #46120A
Bright Red Fatal Error #CF8175
Bright Green Bright Memory Leek #94A577
Bright Yellow Bright Stack Overglow #D3AE6E
Bright Blue Bright Blue Screen #999EAF
Bright Magenta Bright Fractured Shell #BA6B88
Bright Cyan Bright Dead Thread #7FA5A1
Bright White Ghost Pixel #F7EAE8

Editor & UI Surfaces

main.rs diagnostics.ts README.md
● MOD
42 43 44 45
#[cfg(test)]
fn assert_entropy() {
··assert_eq(true, true);
}
Rust Analyzer CPU 42% Git✓

Diff Indicators

Git Added Git Modified Git Deleted
+ Memory Leek · bg 15%
~ Dead Thread · bg 10%
- Amber Alert · bg 15%

Diagnostics

  • ✗ Kernel panic detected — wavy Amber Alert underline
  • ⚠ Deprecated API — Stack Overglow underline
  • ℹ Hint bubbles use Dead Thread
Inlay hint parameter: rust

Accessibility & Testing

Contrast Benchmarks

Pair Ratio Status
Ghost Pixel on Event Horizon 15.5:1 Pass
Dim Thermal on Event Horizon 5.2:1 Pass
Bad Sector on Core Meltdown Decorative only

Non-Color Cues

  • Links Solid underline + Phantom Current
  • Errors Amber Alert + wavy underline + icon
  • Warnings Stack Overglow wavy underline
  • Spelling Amber Alert dotted underline variant

Test Checklist

  • ☑ Five programming languages rendered
  • ☑ Markdown, JSON, diff, terminal verified
  • ☑ ANSI 16 + UI chrome demonstrated
  • ☑ Motion honors user prefers-reduced-motion