mirror of
https://github.com/IllusionMan1212/gorc.git
synced 2026-10-24 02:12:33 +00:00
feat: message timestamps
* made it easier to styles and prefix messages * added timestamps to messages * added prefix and styles to server messages * append current date to host channel * fixed some styles issues
This commit is contained in:
@@ -22,16 +22,16 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
InputboxStyle = lipgloss.NewStyle().
|
||||
InputboxStyle = ui.DefaultStyle.Copy().
|
||||
Border(lipgloss.NormalBorder(), true).
|
||||
Padding(0, 1).
|
||||
Width(ui.MainStyle.GetWidth()).
|
||||
BorderForeground(ui.AccentColor)
|
||||
MessagesStyle = lipgloss.NewStyle().
|
||||
MessagesStyle = ui.DefaultStyle.Copy().
|
||||
Border(lipgloss.NormalBorder(), false, true, true, true).
|
||||
Width(ui.MainStyle.GetWidth() * 8 / 10).
|
||||
BorderForeground(ui.PrimaryColor)
|
||||
SidePanelStyle = lipgloss.NewStyle().
|
||||
SidePanelStyle = ui.DefaultStyle.Copy().
|
||||
Border(lipgloss.NormalBorder(), true).
|
||||
Width(ui.MainStyle.GetWidth() * 2 / 10).
|
||||
BorderForeground(ui.PrimaryColor)
|
||||
|
||||
Reference in New Issue
Block a user