Skip to content

Commit b5ad733

Browse files
committed
chore: Use lighter unhealthy color
1 parent eb1f2a9 commit b5ad733

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ type Config struct {
9090
Alerting *alerting.Config `yaml:"alerting,omitempty"`
9191

9292
// States is the list of configured states
93-
States []*state.State `yaml:"states,omitempty"`
93+
States []*state.State `yaml:"states,omitempty"` // TODO#227 Make this a map since state names should always be unique?
9494

9595
// Endpoints is the list of endpoints to monitor
9696
Endpoints []*endpoint.Endpoint `yaml:"endpoints,omitempty"`

config/ui/ui.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func (btn *Button) Validate() error {
7676
func GetDefaultStateColors() map[string]string {
7777
return map[string]string{
7878
state.DefaultHealthyStateName: "#22C55E", // Green
79-
state.DefaultUnhealthyStateName: "#AD0116", // Red (Default for result bar before was "#EF4444" TODO#227 Change to darker red for better visibility good?)
79+
state.DefaultUnhealthyStateName: "#CE292C", // Red (Default for result bar before was "#EF4444 saw #AD0116 on GitHub (was too dark) so I used https://colordesigner.io/gradient-generator to use some color in between TODO#227 Change to darker red for better visibility good?)
8080
state.DefaultMaintenanceStateName: "#3B82F6", // Blue
8181
}
8282
}

0 commit comments

Comments
 (0)