Ayman Bagabas
29a309cde1
fix: renderer nil check
2023-02-09 11:59:54 -05:00
Ayman Bagabas
b9c2626fe7
feat(renderer): use style renderer
...
lipgloss.Style now takes a renderer instance to be used to detect styles
and colors based on its termenv.Output and terminal
2023-02-09 11:59:54 -05:00
Ayman Bagabas
31ab45f810
feat: instantiate lipgloss renderers
...
* Use lipgloss instances instead of a singleton global instance
* Deprecate (s Style).Render & (s Style).String
* Deprecate the Stringer interface
* Update README and godocs
* Update example
2023-02-09 11:59:54 -05:00
Carlos A Becker
065368aa11
test: simplify & improve output
...
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-30 05:41:52 +02:00
Christian Muehlhaeuser
651d1265e7
fix: RGBA implementations for non-hex color values
2022-09-30 04:57:44 +02:00
Christian Muehlhaeuser
cabfd38a13
test: add RGBA tests
2022-09-30 04:57:44 +02:00
Christian Muehlhaeuser
09292df479
test: fix argument order
2022-09-30 04:02:08 +02:00
Christian Rocha
1fb1fb9602
chore: drop go-colorful dependency (but it's a great lib)
2022-08-17 17:13:05 -07:00
Christian Rocha
a6ae7e925f
Update color profile test per termenv v0.9.0 update
2021-07-01 09:28:51 -04:00
Christian Rocha
117c27dc45
Add SetColorProfile for explicitly setting the color profile
2021-05-31 12:47:39 -04:00