mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 14:14:12 +01:00
fix theme
This commit is contained in:
@@ -348,7 +348,7 @@ Example alternative layout: `weatherUpdate~~~A~21130~~-0.7C~~~B~63469~Sat~3.6C~~
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
`color~background~tTime~timeAMPM~tDate~tMainText~tForecast1~tForecast2~tForecast3~tForecast4~tForecast1Val~tForecast2Val~tForecast3Val~tForecast4Val~bar~tMainTextAlt2~tMR~tTimeAdd`
|
||||
`color~background~tTime~timeAMPM~tDate~tMainText~tForecast1~tForecast2~tForecast3~tForecast4~tForecast1Val~tForecast2Val~tForecast3Val~tForecast4Val~bar~tMainTextAlt2~tTimeAdd`
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
@@ -493,14 +493,6 @@ Example alternative layout: `weatherUpdate~~~A~21130~~-0.7C~~~B~63469~Sat~3.6C~~
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>tMR</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>17</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>tTimeAdd</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
HMI/nspanel.HMI
BIN
HMI/nspanel.HMI
Binary file not shown.
BIN
HMI/nspanel.tft
BIN
HMI/nspanel.tft
Binary file not shown.
@@ -17,8 +17,7 @@ default_screensaver_color_mapping = {
|
||||
"tForecast3Val": "65535",
|
||||
"tForecast4Val": "65535",
|
||||
"bar": "65535",
|
||||
"tMRIcon": "65535",
|
||||
"tMR": "65535",
|
||||
"tMainTextAlt2": "65535",
|
||||
"tTimeAdd": "65535"
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@ key | option | type | default | description
|
||||
`time` | True | list | White | `[R, G, B]`
|
||||
`timeAMPM` | True | list | White | `[R, G, B]`
|
||||
`date` | True | list | White | `[R, G, B]`
|
||||
`tMainIcon` | True | list | White | `[R, G, B]`
|
||||
`tMainText` | True | list | White | `[R, G, B]`
|
||||
`tForecast1` | True | list | White | `[R, G, B]`
|
||||
`tForecast2` | True | list | White | `[R, G, B]`
|
||||
@@ -63,13 +62,9 @@ key | option | type | default | description
|
||||
`tForecast3Val` | True | list | White | `[R, G, B]`
|
||||
`tForecast4Val` | True | list | White | `[R, G, B]`
|
||||
`bar` | True | list | White | `[R, G, B]`
|
||||
`tMainIconAlt` | True | list | White | `[R, G, B]`
|
||||
`tMainTextAlt` | True | list | White | `[R, G, B]`
|
||||
`tMRIcon` | True | list | White | `[R, G, B]`
|
||||
`tMR` | True | list | White | `[R, G, B]`
|
||||
`tTimeAdd` | True | list | White | `[R, G, B]`
|
||||
|
||||
|
||||
Specify colours as red green and blue values from 0-255 e.g. `[255, 0, 0]` for red or `[0, 0, 255]` for blue. These are translated internally to RGB565 (note that this has lower color depth so the colours may not appear the same). Also note that the screen has a low contrast ratio, so colors look sigificantly different at full display brightness and lowest brightness.
|
||||
|
||||
Example for the theme config:
|
||||
|
||||
Reference in New Issue
Block a user