· 2 years ago · Jul 31, 2023, 07:35 AM
1{
2 "apikey": {
3 "type": "text",
4 "label": "API Key"
5 },
6 "location": {
7 "type": "text",
8 "label": "Weather Location"
9 },
10 "showLocation": {
11 "type": "dropdown",
12 "label": "Show Location?",
13 "value": "yes",
14 "options": {
15 "yes": "Yes",
16 "no": "No"
17 }
18 },
19 "showHumidity": {
20 "type": "dropdown",
21 "label": "Show Humidity?",
22 "value": "yes",
23 "options": {
24 "yes": "Yes",
25 "no": "No"
26 }
27 },
28 "showTemp": {
29 "type": "dropdown",
30 "label": "Show Temperature?",
31 "value": "yes",
32 "options": {
33 "yes": "Yes",
34 "no": "No"
35 }
36 },
37 "showForecast": {
38 "type": "dropdown",
39 "label": "Show Forecast Icon?",
40 "value": "yes",
41 "options": {
42 "yes": "Yes",
43 "no": "No"
44 }
45 },
46 "lblTemp": {
47 "type": "text",
48 "label": "Temperature Label",
49 "value": "Temp:"
50 },
51 "lblHumidity": {
52 "type": "text",
53 "label": "Humidity Label",
54 "value": "Humidity:"
55 },
56 "lblForecast": {
57 "type": "text",
58 "label": "Forecast Label",
59 "value": "Weather:"
60 },
61 "lblPosition": {
62 "type": "dropdown",
63 "label": "Label Position",
64 "value": "before",
65 "options": {
66 "before": "Before",
67 "after": "After"
68 }
69 },
70 "units": {
71 "type": "dropdown",
72 "label": "Units",
73 "value": "C",
74 "options": {
75 "C": "Celcius",
76 "F": "Fahrenheit",
77 "CF": "Both"
78 }
79 },
80 "rounding": {
81 "type": "number",
82 "label": "Temperature decimals",
83 "value": 1,
84 "step": 1
85 },
86 "textAlign": {
87 "label": "Text align",
88 "type": "dropdown",
89 "value": "left",
90 "options": {
91 "left": "Left",
92 "center": "Center",
93 "right": "Right"
94 }
95 },
96 "fontName": {
97 "type": "googleFont",
98 "label": "Font name",
99 "value": "Montserrat"
100 },
101 "dynamicFontSize": {
102 "type": "dropdown",
103 "label": "Font size",
104 "value": "static",
105 "options": {
106 "static": "Static - set below",
107 "dynamic": "Dynamic - fit container size"
108 }
109 },
110 "fontSize": {
111 "type": "number",
112 "label": "Font size",
113 "value": 24,
114 "step": 2
115 },
116 "spacing": {
117 "type": "number",
118 "label": "Spacing",
119 "value": 10,
120 "step": 2
121 },
122 "iconSize": {
123 "type": "number",
124 "label": "Icon Size",
125 "value": 32,
126 "step": 2
127 },
128 "fontWeight": {
129 "label": "Font Weight",
130 "type": "dropdown",
131 "value": "400",
132 "options": {
133 "100": "Thin (100)",
134 "300": "Light (300)",
135 "400": "Regular (400)",
136 "500": "Medium (500)",
137 "700": "Bold (700)",
138 "900": "Black (900)"
139 }
140 },
141 "fontColor": {
142 "type": "colorpicker",
143 "label": "Font Color",
144 "value": "rgba(255,255,255,1)"
145 }
146}