/
blueprints.yaml
120 lines (119 loc) · 2.86 KB
/
blueprints.yaml
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
name: Admin Identicons
version: 1.1.0
description: "Use Identicons for avatars in the Admin-plugin."
icon: user-circle
author:
name: Ole Vik
email: git@olevik.me
url: http://olevik.me
homepage: https://github.com/olevik/grav-plugin-adminidenticons
keywords: avatar, avatars, identicon, identicons
bugs: https://github.com/olevik/grav-plugin-adminidenticons/issues
license: MIT
dependencies:
- { name: grav, version: ">=1.2" }
- { name: admin, version: ">=1.3.2" }
form:
validation: loose
fields:
enabled:
type: toggle
label: Plugin Status
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
type:
type: select
size: small
classes: fancy
label: Avatar Type
options:
identicon: Identicon
pattern: Pattern
border_radius:
type: range
label: Border Radius
id: adminidenticons_border_radius
default: 100
validate:
min: 0
max: 100
section_identicon:
type: section
title: Identicon styling
underline: true
fields:
background:
type: colorpicker
label: Background color
foreground:
type: colorpicker
label: Foreground color
varied:
type: toggle
label: Varied foreground colors
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
padding:
type: range
label: Padding
id: adminidenticons_padding
default: 28
validate:
min: 4
max: 60
spacing:
type: range
label: Spacing
id: adminidenticons_spacing
default: 0
validate:
min: 0
max: 30
rows:
type: range
label: Rows
id: adminidenticons_rows
default: 0
validate:
min: 0
max: 20
columns:
type: range
label: Columns
id: adminidenticons_columns
default: 0
validate:
min: 0
max: 20
section_pattern:
type: section
title: Pattern styling
text: "Allowable number of tiles and colors to use in pattern. WARNING: Values higher than 12 cause higher levels of memory- and processing power-usage."
underline: true
fields:
tiles:
type: range
label: Tiles
id: adminidenticons_tiles
default: 6
validate:
min: 1
max: 25
colors:
type: range
label: Colors
id: adminidenticons_colors
default: 2
validate:
min: 1
max: 25