blog.pckt.theme
Schema Diff
+6 -0
1
1
{
2
2
"id": "blog.pckt.theme",
3
3
"defs": {
4
4
"main": {
5
5
"type": "object",
6
6
"required": [
7
7
"light",
8
8
"dark"
9
9
],
10
10
"properties": {
11
11
"dark": {
12
12
"ref": "#palette",
13
13
"type": "ref",
14
14
"description": "Dark mode color palette"
15
15
},
16
16
"font": {
17
17
"type": "string",
18
18
"maxLength": 100,
19
19
"description": "Font family name (optional)"
20
20
},
21
21
"light": {
22
22
"ref": "#palette",
23
23
"type": "ref",
24
24
"description": "Light mode color palette"
25
+
},
26
+
"transparency": {
27
+
"type": "integer",
28
+
"maximum": 100,
29
+
"minimum": 0,
30
+
"description": "Content background transparency percentage (optional)"
25
31
}
26
32
},
27
33
"description": "Theme configuration for a blog publication"
28
34
},
29
35
"palette": {
30
36
"type": "object",
31
37
"required": [
32
38
"link",
33
39
"text",
34
40
"accent",
35
41
"background",
36
42
"surfaceHover"
37
43
],
38
44
"properties": {
39
45
"link": {
40
46
"type": "string",
41
47
"maxLength": 7,
42
48
"description": "Link color (hex value)"
43
49
},
44
50
"text": {
45
51
"type": "string",
46
52
"maxLength": 7,
47
53
"description": "Primary text color (hex value)"
48
54
},
49
55
"accent": {
50
56
"type": "string",
51
57
"maxLength": 7,
52
58
"description": "Accent color (hex value)"
53
59
},
54
60
"background": {
55
61
"type": "string",
56
62
"maxLength": 7,
57
63
"description": "Background color (hex value)"
58
64
},
59
65
"surfaceHover": {
60
66
"type": "string",
61
67
"maxLength": 7,
62
68
"description": "Surface hover color (hex value)"
63
69
}
64
70
},
65
71
"description": "Color palette with CSS hex values"
66
72
}
67
73
},
68
74
"$type": "com.atproto.lexicon.schema",
69
75
"lexicon": 1,
70
76
"description": "Theme record for blog publications with light and dark mode color schemes."
71
77
}