Skip to content

Commit

Permalink
;feat: ui: Rename the default theme 'light' (simonmichael#2168)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmtd committed Mar 10, 2024
1 parent 88bf3b6 commit e0f7d41
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hledger-ui/Hledger/UI/Theme.hs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ selectNeg = yellow8 `on` red8 & reverseVideo -- & bold
themesList :: [(String, AttrMap)]
themesList = [
-- the default theme, "light", defined in terms of the 240-color palette
("default", attrMap (black8 `on` white8) [
("light", attrMap (black8 `on` white8) [
(attrName "border" , white8 `on` black8 & dim)
, (attrName "border" <> attrName "bold" , currentAttr & bold)
, (attrName "border" <> attrName "depth" , active8)
Expand Down
2 changes: 1 addition & 1 deletion hledger-ui/hledger-ui.1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ hledger\-ui provides the following options:
\f[CR]\-w \-\-watch\f[R]
watch for data and date changes and reload automatically
.TP
\f[CR]\-\-theme=default|terminal|greenterm|dark\f[R]
\f[CR]\-\-theme=light|terminal|greenterm|dark\f[R]
use this custom display theme
.TP
\f[CR]\-\-menu\f[R]
Expand Down
2 changes: 1 addition & 1 deletion hledger-ui/hledger-ui.info
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ the data.
'-w --watch'

watch for data and date changes and reload automatically
'--theme=default|terminal|greenterm|dark'
'--theme=light|terminal|greenterm|dark'

use this custom display theme
'--menu'
Expand Down
2 changes: 1 addition & 1 deletion hledger-ui/hledger-ui.m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ hledger-ui provides the following options:
`-w --watch`
: watch for data and date changes and reload automatically

`--theme=default|terminal|greenterm|dark`
`--theme=light|terminal|greenterm|dark`
: use this custom display theme

`--menu`
Expand Down
2 changes: 1 addition & 1 deletion hledger-ui/hledger-ui.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ OPTIONS
-w --watch
watch for data and date changes and reload automatically

--theme=default|terminal|greenterm|dark
--theme=light|terminal|greenterm|dark
use this custom display theme

--menu start in the menu screen
Expand Down

0 comments on commit e0f7d41

Please sign in to comment.