clx-browser

[ACTIVE] a smol browser based off of circumflex
git clone git://git.figbert.com/clx-browser.git
Log | Files | Refs | README | LICENSE

commit dd6d4fa4909f344cd81aacfb3c77ac4e109f5a5c
parent fc41162992af3fbd3a7cbfd66401ada29f241017
Author: FIGBERT <figbert@figbert.com>
Date:   Tue,  6 Sep 2022 13:37:18 -0700

Adapt link styles to match circumflex style

Circumflex doesn't support hyperlinks, while this browser shows the text
and url side-by-side. The new styles match the general aesthetic of
links in circumflex without being based on any specific styles.

Diffstat:
Mstyle.go | 10++--------
1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/style.go b/style.go @@ -89,14 +89,8 @@ var CLXStyleConfig = ansi.StyleConfig{ Ticked: "[✓] ", Unticked: "[ ] ", }, - Link: ansi.StylePrimitive{ - Color: stringPtr("30"), - Underline: boolPtr(true), - }, - LinkText: ansi.StylePrimitive{ - Color: stringPtr("35"), - Bold: boolPtr(true), - }, + Link: ansi.StylePrimitive{Color: stringPtr("33")}, + LinkText: ansi.StylePrimitive{Bold: boolPtr(true)}, Image: ansi.StylePrimitive{ Color: stringPtr("245"), Underline: boolPtr(true),