Phase 6: VBDOS-Theme umsetzen und Change 05a archivieren

This commit is contained in:
2026-09-07 20:25:55 +02:00
parent 69f2002481
commit 5aa920b768
22 changed files with 686 additions and 79 deletions

View File

@@ -1702,7 +1702,7 @@ impl App {
let r = Rect::new(area.x + timers * 4, area.bottom().saturating_sub(1), 3, 1);
timers += 1;
f.render_widget(
Paragraph::new("[T]").style(Style::default().fg(crate::render::dos(14))),
Paragraph::new("[T]").style(crate::render::pair(0, 14)),
r.intersection(area),
);
r
@@ -1749,7 +1749,7 @@ impl App {
(r.right() - 1, r.y + r.height / 2),
] {
f.render_widget(
Paragraph::new("").style(Style::default().fg(crate::render::dos(14))),
Paragraph::new("").style(crate::render::pair(0, 14)),
Rect::new(x, y, 1, 1),
);
}
@@ -1789,9 +1789,15 @@ impl App {
if !r.is_empty() {
f.render_widget(
Paragraph::new(format!("{n:X} ")).style(
Style::default()
.bg(crate::render::dos(n as u8))
.fg(crate::render::dos(if n < 8 { 15 } else { 0 })),
Style::default().bg(crate::render::dos(n as u8)).fg(
crate::render::dos(
if matches!(n, 0 | 1 | 4 | 5 | 6 | 8 | 9) {
15
} else {
0
},
),
),
),
r,
);