I keep forgetting to commit stuff

This commit is contained in:
2023-08-10 17:52:01 -04:00
parent 8d7d9882ba
commit c0bfa76ba6
10 changed files with 213 additions and 10 deletions

15
separator.go Normal file
View File

@@ -0,0 +1,15 @@
package objects
import "git.tebibyte.media/tomo/tomo"
import "git.tebibyte.media/tomo/tomo/theme"
// Separator is a line for visually separating elements.
type Separator tomo.Box
// NewSeparator creates a new text label.
func NewSeparator () Separator {
this := Separator(tomo.NewBox())
theme.Apply(this, theme.R("objects", "Separator", ""))
return this
}