Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
fix(view): Another alternative view
Browse files Browse the repository at this point in the history
This primarily is meant to be a simplification so its easier to add /
remove content.
We can evaluate fancier formatting, like tables, later when we know more
of what we want.

To simplify my work, I cut fields that I wasn't as sure of including.

I also wanted to take a small crack at some formatting changes so the
new, plain view was easier to read.

Since I was touching formatting, I went ahead and applied my indentation
suggestion.

This is by no means to say "this is THE design" but I think it helps
move us in that direction.
  • Loading branch information
epage committed Nov 15, 2023
1 parent 42cbe37 commit 4d30a2f
Show file tree
Hide file tree
Showing 5 changed files with 109 additions and 247 deletions.
8 changes: 6 additions & 2 deletions src/ops/style.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
use anstyle::{AnsiColor, Effects, Style};

pub(crate) const YELLOW: Style = AnsiColor::Yellow.on_default().effects(Effects::BOLD);
pub(crate) const CYAN: Style = AnsiColor::Cyan.on_default().effects(Effects::BOLD);
pub const NOP: Style = Style::new();
pub const HEADER: Style = AnsiColor::Green.on_default().effects(Effects::BOLD);
pub const LITERAL: Style = AnsiColor::Cyan.on_default().effects(Effects::BOLD);
pub const ERROR: Style = AnsiColor::Red.on_default().effects(Effects::BOLD);
pub const WARN: Style = AnsiColor::Yellow.on_default().effects(Effects::BOLD);
pub const NOTE: Style = AnsiColor::Cyan.on_default().effects(Effects::BOLD);
Loading

0 comments on commit 4d30a2f

Please sign in to comment.