package ui

import (
	"strings"
	"termdoku/internal/theme"
)

// ExampleRenderSample returns a sample rendering string for docs/tests.
func ExampleRenderSample() string {
	_th := theme.Darcula()
	styles := BuildStyles(_th)
	var b strings.Builder
	b.WriteString(styles.CellSelected.Render("5"))
	b.WriteString(" ")
	b.WriteString(styles.CellDuplicate.Render("5"))
	b.WriteString(" ")
	b.WriteString(styles.CellConflict.Render("3"))
	b.WriteString("\n")
	return styles.App.Render(b.String())
}
