Skip to content

Commit e0f7d41

Browse files
committed
;feat: ui: Rename the default theme 'light' (#2168)
Fixes: #2168.
1 parent 88bf3b6 commit e0f7d41

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

hledger-ui/Hledger/UI/Theme.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ selectNeg = yellow8 `on` red8 & reverseVideo -- & bold
7878
themesList :: [(String, AttrMap)]
7979
themesList = [
8080
-- the default theme, "light", defined in terms of the 240-color palette
81-
("default", attrMap (black8 `on` white8) [
81+
("light", attrMap (black8 `on` white8) [
8282
(attrName "border" , white8 `on` black8 & dim)
8383
, (attrName "border" <> attrName "bold" , currentAttr & bold)
8484
, (attrName "border" <> attrName "depth" , active8)

hledger-ui/hledger-ui.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ hledger\-ui provides the following options:
4949
\f[CR]\-w \-\-watch\f[R]
5050
watch for data and date changes and reload automatically
5151
.TP
52-
\f[CR]\-\-theme=default|terminal|greenterm|dark\f[R]
52+
\f[CR]\-\-theme=light|terminal|greenterm|dark\f[R]
5353
use this custom display theme
5454
.TP
5555
\f[CR]\-\-menu\f[R]

hledger-ui/hledger-ui.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ the data.
6666
'-w --watch'
6767

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

7171
use this custom display theme
7272
'--menu'

hledger-ui/hledger-ui.m4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ hledger-ui provides the following options:
5757
`-w --watch`
5858
: watch for data and date changes and reload automatically
5959

60-
`--theme=default|terminal|greenterm|dark`
60+
`--theme=light|terminal|greenterm|dark`
6161
: use this custom display theme
6262

6363
`--menu`

hledger-ui/hledger-ui.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ OPTIONS
4444
-w --watch
4545
watch for data and date changes and reload automatically
4646

47-
--theme=default|terminal|greenterm|dark
47+
--theme=light|terminal|greenterm|dark
4848
use this custom display theme
4949

5050
--menu start in the menu screen

0 commit comments

Comments
 (0)