Add style for "red letter" days in drw/drw.go
This commit is contained in:
parent
5574f20de8
commit
62c969b015
|
@ -27,6 +27,10 @@ var (
|
||||||
Background(tcell.ColorReset).
|
Background(tcell.ColorReset).
|
||||||
Foreground(tcell.GetColor("green")).
|
Foreground(tcell.GetColor("green")).
|
||||||
Bold(true)
|
Bold(true)
|
||||||
|
HolyStyle tcell.Style = tcell.StyleDefault.
|
||||||
|
Background(tcell.ColorReset).
|
||||||
|
Foreground(tcell.GetColor("red")).
|
||||||
|
Bold(true)
|
||||||
)
|
)
|
||||||
|
|
||||||
func centeredText(s string, x, y, width int, scr tcell.Screen, style tcell.Style) {
|
func centeredText(s string, x, y, width int, scr tcell.Screen, style tcell.Style) {
|
||||||
|
|
Loading…
Reference in a new issue