Skip to content

Commit 6e051ae

Browse files
committed
updated readme with new config information
1 parent b162946 commit 6e051ae

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ You should install this card using [HACS](https://hacs.xyz).
2323
| background | string | #000000 | CSS color for background
2424
| font | string | IBM Plex Mono | font to use (must be installed as a resource, otherwise generic serif font is used)
2525
| fontweight | integer | 700 | CSS font-weight for clock and slots
26+
| clockfontsize | integer | 260 | CSS font-size for clock
27+
| infofontsize | integer | 85 | CSS font-size for info slots
2628
| opacity | float | 0.7 | opacity for measurement display in the slots
2729
| clockcolor | string | #dddddd | CSS color for clock digits (white-ish)
2830
| topleftcolor | string | #008001 | CSS color for top left slot (green)
@@ -31,12 +33,12 @@ You should install this card using [HACS](https://hacs.xyz).
3133
| bottomleftcolor | string | #008001 | CSS color for bottom left slot (green)
3234
| bottomcentercolor | string | #1f90ff | CSS color for bottom center slot (soft blue)
3335
| bottomrightcolor | string | #bdb76b | CSS color for bottom center slot (soft yellow)
34-
| displaywidth | string | 800px | width of display on which this will be displayed
35-
| displayheight | string | 480px | height of display on which this will be displayed
36-
| offset | string | 0px | change vertical position of card
37-
| clockspacing | string | 0px | change space between clock and info slots
38-
| infospacing | string | 0px | change space between info rows
39-
| infoedge | string | 0px | change space between edge of display and edge of info slots
36+
| displaywidth | integer | 800 | width (in px) of display on which this will be displayed
37+
| displayheight | integer | 480 | height (in px) of display on which this will be displayed
38+
| offset | integer | 0 | change vertical position of card (in px)
39+
| clockspacing | integer | 0 | change space between clock and info slots (in px)
40+
| infospacing | integer | 0 | change space between info rows (in px)
41+
| infoedge | integer | 0 | change space between edge of display and edge of info slots (in px)
4042

4143
The defaults are set for a RaspberryPi 7" touch display. If you change the display width and height, you'll want to adjust the font sizes to fit. The card will do some amount of automatic respacing based on font size, but you can also manually fine tune it as needed with the other options.
4244

0 commit comments

Comments
 (0)