From a9e3d1ccb86a6c87a04b85f1f4072212c1c3c4ff Mon Sep 17 00:00:00 2001 From: Pixailz Date: Fri, 17 Nov 2023 10:35:15 +0100 Subject: [PATCH] helper: sync color --- mk/utils.mk | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/mk/utils.mk b/mk/utils.mk index cf750d5..d38fdf2 100644 --- a/mk/utils.mk +++ b/mk/utils.mk @@ -29,6 +29,7 @@ GOTO_COL = $(call P_ANSI,$(1)G) # ANSI ESC := \x1b[ + ## COLOR RST := $(ESC)0m R := $(ESC)31m @@ -38,13 +39,16 @@ B := $(ESC)34m M := $(ESC)35m C := $(ESC)36m D := $(ESC)39m -O := $(ESC)38;5;214m +O := $(ESC)38;5;208m + +## MODIFIER +BOL := $(ESC)1m ### COMPOSITE -I := $(B)i$(RST) -W := $(O)⚠$(RST) -P := $(G)✓$(RST) -F := $(R)✗$(RST) +I := $(BOL)$(C)*$(RST) +W := $(BOL)$(O)!$(RST) +P := $(BOL)$(G)+$(RST) +F := $(BOL)$(R)-$(RST) ASCII_COLOR := $(G) ## CURSOR