Skip to content

Commit

Permalink
refactor(rgb): removed 'GetValues' for 'RGBStyle'
Browse files Browse the repository at this point in the history
  • Loading branch information
floaust committed Apr 28, 2023
1 parent 02d63f5 commit 266798d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rgb.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ func (p RGBStyle) AddOptions(opts ...Color) RGBStyle {
return p
}

// GetValues returns the foreground, background and options of the RGBStyle.
func (p RGBStyle) GetValues() (RGB, RGB, []Color) {
return p.Foreground, p.Background, p.Options
}

// Print formats using the default formats for its operands and writes to standard output.
// Spaces are added between operands when neither is a string.
// It returns the number of bytes written and any write error encountered.
Expand Down

0 comments on commit 266798d

Please sign in to comment.