From 9e0f0123a018f7fb81779d858942ba01150a12ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 9 Mar 2022 10:36:28 +0100 Subject: ui: 'show-what-to-build' highlights "The following [...] will be built". * guix/colors.scm (highlight/warn): New procedure. * guix/ui.scm (show-what-to-build): Use 'highlight/warn' when displaying what would/will be built. --- guix/colors.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'guix/colors.scm') diff --git a/guix/colors.scm b/guix/colors.scm index 3031f54799..ae0a583d94 100644 --- a/guix/colors.scm +++ b/guix/colors.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2014 Free Software Foundation, Inc. ;;; Copyright © 2018 Sahithi Yarlagadda ;;; Copyright © 2018 Ricardo Wurmus -;;; Copyright © 2017, 2018, 2019 Ludovic Courtès +;;; Copyright © 2017, 2018, 2019, 2022 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,6 +31,7 @@ colorize-string highlight + highlight/warn dim color-rules @@ -143,6 +144,7 @@ that subsequent output will not have any colors in effect." str))) (define highlight (coloring-procedure (color BOLD))) +(define highlight/warn (coloring-procedure (color BOLD MAGENTA))) (define dim (coloring-procedure (color DARK))) (define (colorize-matches rules) -- cgit v1.2.3