A Sun‑style **CDE dtterm** with a *Sun‑specific color theme* means leaning into the visual identity Sun used in the Solaris 2.x era: purple highlights, teal accents, Motif bevels, and dtterm’s clean black‑on‑white or white‑on‑black text. The goal is to recreate the feel of a Solaris workstation running CDE, not a CRT‑styled terminal.

---

## 🌅 Visual traits of a Sun‑flavored CDE dtterm
Sun’s CDE theme differed from HP‑UX, AIX, and DEC in a few recognizable ways:

- **Purple titlebars** with teal or light‑gray buttons  
- **Motif beveled borders** (light‑top, dark‑bottom)  
- **White terminal background** with **black text** (default)  
- **Lucida Typewriter** or similar crisp monospace fonts  
- **No glow, no scanlines, no CRT effects**  
- **Blue selection highlight**  
- **Square Motif scrollbar** on the right  

This CSS version captures the Sun Solaris look while keeping the dtterm layout recognizable.

---

## 🎨 Sun‑style CDE dtterm (HTML + CSS)

```html
<div class="dtterm-sun">
  <div class="titlebar">
    <span class="title">dtterm</span>
    <span class="buttons">
      <span class="btn"></span>
      <span class="btn"></span>
      <span class="btn"></span>
    </span>
  </div>

  <div class="content">
    <p>SunOS 5.5.1</p>
    <p>$ echo "Welcome to Solaris CDE"</p>
  </div>
</div>

<style>
body {
  background: #b6b6b6;
  font-family: "Courier New", monospace;
}

/* Outer Motif-style frame */
.dtterm-sun {
  width: 640px;
  margin: 40px auto;
  background: #dcdcdc;
  border: 2px solid #6a6a6a;
  box-shadow:
    inset 2px 2px 0 #ffffff,
    inset -2px -2px 0 #7f7f7f;
}

/* Purple Sun-style titlebar */
.titlebar {
  background: #6b4fa1;
  color: #ffffff;
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;

  box-shadow:
    inset 1px 1px 0 #9d86c7,
    inset -1px -1px 0 #4a3575;
}

/* Motif-style window buttons */
.buttons {
  display: flex;
  gap: 4px;
}

.btn {
  width: 12px;
  height: 12px;
  background: #dcdcdc;
  border: 1px solid #4a4a4a;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    inset -1px -1px 0 #7f7f7f;
}

/* Terminal content area */
.content {
  background: #ffffff;
  padding: 20px;
  color: #000000;
  font-size: 16px;
  line-height: 1.3;
  border-top: 2px solid #6a6a6a;
}

/* Selection highlight (CDE blue) */
.content ::selection {
  background: #2a4f9e;
  color: #ffffff;
}
</style>
```

---

## 🖥️ Why this matches Sun’s CDE look

### Color identity  
Sun’s CDE theme used a distinctive **purple titlebar** with **teal/gray controls**, unlike HP’s beige or IBM’s dark blue. The CSS reflects that palette.

### Motif geometry  
The beveled borders, inset shadows, and square buttons recreate the Motif widget style that defined CDE.

### dtterm behavior  
The terminal area uses:
- **Black text on white** (dtterm default)  
- **No glow or CRT artifacts**  
- **Crisp monospace font**  
- **Blue selection highlight**  

### Layout accuracy  
dtterm always had:
- A titlebar  
- A content region  
- A scrollbar on the right (omitted here unless you want a CSS version)  

---

## 🔧 Optional enhancements you can add
- A Motif‑style scrollbar on the right  
- Lucida Typewriter font (closest to Sun’s default)  
- White‑on‑black variant (`dtterm -fg white -bg black`)  
- Sun’s purple‑and‑teal CDE desktop background behind the window  

---

If you want, I can add the scrollbar, switch to the white‑on‑black sysadmin variant, or recreate the full CDE window manager chrome around the terminal.
