-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustardui.config.json
More file actions
151 lines (151 loc) · 4.84 KB
/
custardui.config.json
File metadata and controls
151 lines (151 loc) · 4.84 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"colorScheme": "light",
"config": {
"toggles": [
{
"toggleId": "code-example-hide",
"label": "Toggle Example 1",
"description": "Hide the code example!",
"isLocal": true,
"default": "hide"
},
{
"toggleId": "code-example-peek",
"label": "Toggle Example 2",
"description": "Peek at the code example!",
"isLocal": true,
"default": "peek"
},
{
"toggleId": "code-example-show",
"label": "Toggle Example 3",
"description": "Show the code example!",
"isLocal": true,
"default": "show"
},
{
"toggleId": "localToggle",
"label": "Local Toggle Label",
"description": "Local toggle content for this page",
"isLocal": true,
"default": "peek"
},
{ "toggleId": "mac", "label": "MacOS", "isLocal": true, "description": "Show content for macOS users", "default": "peek" },
{ "toggleId": "linux", "label": "Linux", "isLocal": true, "description": "Show content for Linux users" },
{ "toggleId": "windows", "label": "Windows", "isLocal": true, "default": "show", "description": "Show content for Windows users" },
{ "toggleId": "nus-resources", "label": "NUS Resources", "siteManaged": true, "default": "hide", "isLocal": true },
{ "toggleId": "sample-resources", "label": "Sample Resources", "siteManaged": true, "default": "hide", "isLocal": true }
],
"tabGroups": [
{
"groupId": "tab-group-example",
"label": "Tab Group Example",
"description": "Switch between tabs across pages!",
"isLocal": true,
"default": "javascript",
"tabs": [
{ "tabId": "javascript", "label": "JavaScript" },
{ "tabId": "java", "label": "Java" },
{ "tabId": "python", "label": "Python" }
]
},
{
"groupId": "tab-group-test",
"label": "Tab Group Test",
"description": "Switch between tabs across pages!",
"isLocal": true,
"default": "text",
"tabs": [
{ "tabId": "text", "label": "Text" },
{ "tabId": "diagram", "label": "Diagram" }
]
},
{
"groupId": "localTabGroup",
"label": "Page specific tabgroup",
"description": "This is a local tab group, that only appears on pages where it's used.",
"isLocal": true,
"tabs": [
{ "tabId": "a", "label": "Alpha" },
{ "tabId": "b", "label": "Beta" },
{ "tabId": "c", "label": "Charlie" }
]
},
{
"groupId": "fruit",
"label": "Fruit Selection",
"description": "Select your favorite fruit.",
"isLocal": true,
"default": "pear",
"placeholderId": "fruit",
"tabs": [
{ "tabId": "apple", "label": "Apple", "placeholderValue": "apple" },
{ "tabId": "orange", "label": "Orange", "placeholderValue": "orange" },
{ "tabId": "pear", "label": "Pear", "placeholderValue": "pear" }
]
}
],
"placeholders": [
{
"name": "username",
"settingsLabel": "Your GitHub Username",
"description": "Enter your GitHub username",
"settingsHint": "Enter here",
"defaultValue": "JohnDoe"
},
{
"name": "repo",
"settingsLabel": "Repo Name",
"description": "Enter your GitHub repo name here",
"settingsHint": "Enter here",
"isLocal": true,
"defaultValue": "your-repository-name"
},
{
"name": "placeholderTest",
"settingsLabel": "placeholderTest",
"settingsHint": "Enter anything",
"defaultValue": "placeholderTestDefaultValue",
"isLocal": true
},
{
"name": "institutionName",
"defaultValue": "CustardUI",
"siteManaged": true
},
{
"name": "institutionLogo",
"defaultValue": "default",
"siteManaged": true
}
],
"labels": [
{ "name": "exercise-1", "value": "OPTIONAL", "color": "#3b82f6" },
{ "name": "exercise-2", "value": "OPTIONAL", "color": "#3b82f6" },
{ "name": "exercise-3", "value": "OPTIONAL", "color": "#3b82f6" },
{ "name": "exercise-4", "value": "OPTIONAL", "color": "#3b82f6" }
]
},
"storageKey": "cv-docs-beta",
"settings": {
"enabled": true,
"panel": {
"title": "CustardUI Settings Dialog",
"description": "Toggle different content sections to customize your view."
},
"icon": {
"position": "middle-left",
"color": "#814C20",
"backgroundColor": "#F2CA55",
"opacity": 0.95,
"scale": 1.1
},
"callout": {
"show": true,
"enablePulse": true,
"message": "Open the CustardUI settings to customize your view.",
"backgroundColor": "#F2CA55",
"textColor": "#2C1A0E"
}
}
}