go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/cli/theme/colors/color_windows.go (about) 1 // Copyright (c) Mondoo, Inc. 2 // SPDX-License-Identifier: BUSL-1.1 3 4 package colors 5 6 import ( 7 "github.com/muesli/termenv" 8 ) 9 10 // NOTE: some windows terminals support better colors, but where running into issues where 11 // different locales behaved differently. If we are going to add a better color scheme, we 12 // really need to test this very extensively on US, non-US, and putty environments 13 var Profile termenv.Profile = termenv.Ascii 14 15 var DefaultColorTheme = Theme{ 16 // messages 17 Primary: Profile.Color("#0087ff"), 18 Secondary: Profile.Color("#0087d7"), 19 Disabled: Profile.Color("#c0c0c0"), 20 Error: Profile.Color("#800000"), 21 Success: Profile.Color("#008000"), 22 23 // severity 24 Critical: Profile.Color("#800000"), 25 High: Profile.Color("#800080"), 26 Medium: Profile.Color("#008080"), 27 Low: Profile.Color("#808000"), 28 Good: Profile.Color("#008000"), 29 Unknown: Profile.Color("#c0c0c0"), 30 }