chore: rework layout primitives

This commit is contained in:
adamdottv 2025-06-28 06:04:01 -05:00
parent d090c08ef0
commit 9f3ba03965
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
7 changed files with 298 additions and 589 deletions

View file

@ -9,7 +9,6 @@ import (
"github.com/charmbracelet/lipgloss/v2/compat"
"github.com/sst/opencode/internal/app"
"github.com/sst/opencode/internal/commands"
"github.com/sst/opencode/internal/layout"
"github.com/sst/opencode/internal/styles"
"github.com/sst/opencode/internal/theme"
)
@ -17,7 +16,7 @@ import (
type CommandsComponent interface {
tea.Model
tea.ViewModel
layout.Sizeable
SetSize(width, height int) tea.Cmd
SetBackgroundColor(color compat.AdaptiveColor)
}