Slightly more subtle default gradient

This commit is contained in:
Christian Rocha 2020-12-01 17:01:08 -05:00 committed by Christian Rocha
parent c303de1e85
commit f9c79eef64

View File

@ -23,7 +23,7 @@ type Option func(*Model) error
// WithDefaultGradient sets a gradient fill with default colors.
func WithDefaultGradient() Option {
return WithGradient("#00dbde", "#fc00ff")
return WithGradient("#5A56E0", "#EE6FF8")
}
// WithGradient sets a gradient fill blending between two colors.
@ -36,7 +36,7 @@ func WithGradient(colorA, colorB string) Option {
// WithDefaultScaledGradient sets a gradient with default colors, and scales the
// gradient to fit the filled portion of the ramp.
func WithDefaultScaledGradient() Option {
return WithScaledGradient("#00dbde", "#fc00ff")
return WithScaledGradient("#5A56E0", "#EE6FF8")
}
// WithScaledGradient scales the gradient to fit the width of the filled portion of