@@ -19,7 +19,7 @@ type theme struct {
1919 explanation lipgloss.Style
2020
2121 kindColors struct {
22- apc , csi , ctrl , dcs , esc , osc , text color.Color
22+ apc , csi , ctrl , dcs , esc , osc , pm , sos , text color.Color
2323 }
2424}
2525
@@ -37,6 +37,8 @@ func (t theme) kindStyle(kind string) lipgloss.Style {
3737 "dcs" : base .Foreground (t .kindColors .dcs ),
3838 "esc" : base .Foreground (t .kindColors .esc ),
3939 "osc" : base .Foreground (t .kindColors .osc ),
40+ "pm" : base .Foreground (t .kindColors .pm ),
41+ "sos" : base .Foreground (t .kindColors .sos ),
4042 "text" : base .Foreground (t .kindColors .text ),
4143 }[kind ]
4244
@@ -53,6 +55,10 @@ func (t theme) kindStyle(kind string) lipgloss.Style {
5355 return s .SetString ("OSC" )
5456 case "apc" :
5557 return s .SetString ("APC" )
58+ case "pm" :
59+ return s .SetString ("PM" )
60+ case "sos" :
61+ return s .SetString ("SOS" )
5662 case "esc" :
5763 return s .SetString ("ESC" )
5864 case "ctrl" :
@@ -94,6 +100,8 @@ func charmTheme(hasDarkBG bool) (t theme) {
94100 t .kindColors .dcs = lightDark ("#86C867" , "#CEE88A" )
95101 t .kindColors .esc = lipgloss .Color ("#E46FDD" )
96102 t .kindColors .osc = lightDark ("#43C7E0" , "#1CD4F7" )
103+ t .kindColors .pm = lightDark ("#FF8383" , "#DC7272" )
104+ t .kindColors .sos = lightDark ("#978692" , "#6C6068" )
97105 t .kindColors .text = lightDark ("#978692" , "#6C6068" )
98106
99107 return t
@@ -114,6 +122,8 @@ func base16Theme(_ bool) theme {
114122 t .kindColors .dcs = lipgloss .Yellow
115123 t .kindColors .esc = lipgloss .Magenta
116124 t .kindColors .osc = lipgloss .Cyan
125+ t .kindColors .pm = lipgloss .BrightRed
126+ t .kindColors .sos = lipgloss .BrightBlack
117127 t .kindColors .text = lipgloss .BrightBlack
118128
119129 return t
0 commit comments