Skip to content

Commit

Permalink
use FromTheme instead of FromTable
Browse files Browse the repository at this point in the history
  • Loading branch information
a committed Oct 15, 2023
1 parent 1b8f8ef commit 2850787
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 55 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func setupStyle() {
case whiteTheme:
wnd.SetStyle(nstyle.FromTheme(nstyle.WhiteTheme, conf.Scaling))
case redTheme:
wnd.SetStyle(nstyle.FromTable(redThemeTable, conf.Scaling))
wnd.SetStyle(nstyle.FromTheme(nstyle.RedTheme, conf.Scaling))
case boringTheme:
style := makeBoringStyle()
style.Scale(conf.Scaling)
Expand Down
54 changes: 0 additions & 54 deletions style.go

This file was deleted.

0 comments on commit 2850787

Please sign in to comment.