-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
61 lines (61 loc) · 1.38 KB
/
plugin.json
File metadata and controls
61 lines (61 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "Reading Progress Bar",
"description": "Adds a customizable reading progress bar to all posts.",
"license": "GNU GPL-3.0",
"author": "freaks-dev",
"version": "1.0.1",
"scope": "site",
"minimumPubliiVersion": "0.45.0",
"settingsDisplay": "tabs",
"messageInOptions": {
"type": "info",
"text": "Use this plugin to display a reading progress bar at the top of your posts."
},
"config": [
{
"name": "height",
"label": "Progress Bar Height (px)",
"group": "Appearance",
"type": "number",
"value": 5,
"min": 1,
"max": 50
},
{
"name": "colorStart",
"label": "Gradient Start Color",
"group": "Appearance",
"type": "color",
"value": "#00c6ff"
},
{
"name": "colorEnd",
"label": "Gradient End Color",
"group": "Appearance",
"type": "color",
"value": "#0072ff"
},
{
"name": "shadowColor",
"label": "Shadow Color",
"group": "Appearance",
"type": "color",
"value": "#00c6ff"
},
{
"name": "contentSelector",
"label": "Content Selector",
"group": "Behavior",
"type": "text",
"value": ".content__entry",
"note": "Selector for the main content block used to calculate scroll progress."
},
{
"name": "previewMode",
"label": "Enable in Preview Mode",
"group": "Advanced",
"type": "checkbox",
"value": false
}
]
}