Skip to content

Commit

Permalink
add group to configs
Browse files Browse the repository at this point in the history
  • Loading branch information
StuxVT committed Mar 9, 2024
1 parent 39ab512 commit 6599a4a
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions widget.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,46 @@ let fieldData={
"duration": {
"label": "Duration in seconds",
"type": "number",
"value": 120
"value": 120,
"group": "Behavior"
},
"initialMessage": {
"label": "Initial message",
"type": "text",
"value": "Countdown:"
"value": "Countdown:",
"group": "Behavior"
},
"expiredMessage": {
"label": "Expired message",
"type": "text",
"value": "Time's up!"
"value": "Time's up!",
"group": "Behavior"
},
"backgroundColor": {
"label": "Background Color",
"type": "colorpicker",
"value": "rgba(0, 0, 0, 0.5)"
},
"fontName": {
"type": "googleFont",
"label": "Google Font name",
"value": "Times New Roman"
"value": "rgba(0, 0, 0, 0.5)",
"group": "Visuals"
},
"borderRadius": {
"type": "slider",
"label": "Background Curve",
"value": 10,
"min": 0,
"max": 100,
"step": 1
"step": 1,
"group": "Visuals"
},
"textShadow": {
"type": "checkbox",
"label": "Text Shadow",
"value": "true"
"value": "true",
"group": "Visuals"
},
"fontName": {
"type": "googleFont",
"label": "Google Font name",
"value": "Times New Roman",
"group": "Visuals"
}
}

0 comments on commit 6599a4a

Please sign in to comment.