func styleRender(ctx context.Context, v string) string {
	value, _ := ctx.Value(styleCtxKey).([]*styleComponent)
	for _, s := range value {
		v = s.render(v)
	}
	return v
}
styleRender is used internally to apply styles to the given string. The
ctx should be the same context given when Body was called on this
component.
package glint
import (
	"context"
	"github.com/gookit/color"
)
func Style(inner Component, opts ...StyleOption) Component {
	c := &styleComponent{inner: inner}
	for _, opt := range opts {
		opt(c)
	}
	return c
}