rename: rebrand to mire

This commit is contained in:
2026-03-21 12:49:57 +00:00
parent d72f727322
commit 511a4c912c
32 changed files with 209 additions and 209 deletions
+3 -3
View File
@@ -9,13 +9,13 @@ import (
var (
palette = struct {
miroGreen uint32
mireGreen uint32
chevronTeal uint32
info uint32
pass uint32
fail uint32
}{
miroGreen: 0x70E000,
mireGreen: 0x70E000,
chevronTeal: 0x1DD3B0,
info: 0xD7FFFF,
pass: 0x00d7af,
@@ -58,7 +58,7 @@ func noColor() bool {
func prefix() string {
chevron := NewStyle().FG(palette.chevronTeal).Bold().Italic().Apply("")
return NewStyle().FG(palette.miroGreen).Bold().Italic().Apply("miro") + " " + chevron + " "
return NewStyle().FG(palette.mireGreen).Bold().Italic().Apply("mire") + " " + chevron + " "
}
func Format(msg string) string {
+4 -4
View File
@@ -21,8 +21,8 @@ func TestFormatIncludesANSIByDefault(t *testing.T) {
func TestFormatPlainWhenNoColorSet(t *testing.T) {
t.Setenv("NO_COLOR", "1")
if got := Format("hello\n"); got != "miro hello\n" {
t.Fatalf("Format() = %q, want %q", got, "miro hello\n")
if got := Format("hello\n"); got != "mire hello\n" {
t.Fatalf("Format() = %q, want %q", got, "mire hello\n")
}
}
@@ -52,7 +52,7 @@ func TestFormatReadsNoColorAtRuntime(t *testing.T) {
if !strings.Contains(styled, "\x1b[") {
t.Fatalf("styled Format() = %q, want ANSI styling", styled)
}
if plain != "miro hello\n" {
t.Fatalf("plain Format() = %q, want %q", plain, "miro hello\n")
if plain != "mire hello\n" {
t.Fatalf("plain Format() = %q, want %q", plain, "mire hello\n")
}
}