forked from catppuccin/userstyles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserstyles.d.ts
More file actions
147 lines (145 loc) Β· 3.38 KB
/
Copy pathuserstyles.d.ts
File metadata and controls
147 lines (145 loc) Β· 3.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
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
// deno-fmt-ignore-file
/**
* The name of the userstyle.
*/
export type Name = string;
/**
* The url of the website that is being themed.
*/
export type Link = string;
/**
* The categories that fit the userstyle the most, the first category is the primary category which the userstyle will be listed under on the README.
*
* @minItems 1
* @maxItems 3
*/
export type Categories = [Category] | [Category, Category] | [Category, Category, Category];
export type Category =
| "3d_modelling"
| "analytics"
| "application_launcher"
| "artificial_intelligence"
| "boot_loader"
| "browser"
| "browser_extension"
| "cli"
| "code_editor"
| "desktop_environment"
| "development"
| "discussion_forum"
| "document_viewer"
| "documentation_generator"
| "education"
| "email_client"
| "entertainment"
| "file_manager"
| "game"
| "game_development"
| "health_and_fitness"
| "library"
| "music"
| "news_and_journalism"
| "note_taking"
| "notification_daemon"
| "package_registry"
| "photo_and_video"
| "productivity"
| "search_engine"
| "social_networking"
| "syntax_highlighting"
| "system"
| "terminal"
| "translation_tool"
| "userstyle"
| "wiki"
| "window_manager";
/**
* The fill color for the icon on the Catppuccin website, which should match the color used by Simple Icons. If the icon does not exist in Simple Icons, choose the most suitable color from the branding.
*/
export type Color =
| "rosewater"
| "flamingo"
| "pink"
| "mauve"
| "red"
| "maroon"
| "peach"
| "yellow"
| "green"
| "teal"
| "sky"
| "sapphire"
| "blue"
| "lavender"
| "text";
/**
* The icon to use on the website. This should be the same name as the SVG file on https://simpleicons.org/. If a `.svg` suffix is present, it's taken from the local website repository resources.
*/
export type Icon = string;
/**
* An additional note that users should read.
*/
export type Note = string;
/**
* The name of the website.
*/
export type WebsiteName = string;
/**
* List of all active maintainers for this userstyle.
*/
export type CurrentMaintainers = string[];
/**
* List of all users that have maintained this userstyle in the past.
*
* @minItems 1
*/
export type PastMaintainers = [string, ...string[]];
/**
* Represents all maintainers and contributors to all userstyles.
*
* @minItems 1
*/
export type AllCollaborators = [string, ...string[]];
export interface UserstylesSchema {
userstyles?: Userstyles;
collaborators?: AllCollaborators;
}
/**
* All userstyles in the Catppuccin organisation.
*/
export interface Userstyles {
[k: string]: Userstyle;
}
/**
* The directory of the userstyle.
*
* This interface was referenced by `Userstyles`'s JSON-Schema definition
* via the `patternProperty` "[A-Za-z0-9_\-]".
*/
export interface Userstyle {
name: Name;
link: Link;
categories: Categories;
color: Color;
icon?: Icon;
note?: Note;
supports?: Supports;
"current-maintainers": CurrentMaintainers;
"past-maintainers"?: PastMaintainers;
}
/**
* All websites that the userstyle also supports.
*/
export interface Supports {
[k: string]: Website;
}
/**
* The unique identifier of the supported website, usually the name of the website lowercased.
*
* This interface was referenced by `Supports`'s JSON-Schema definition
* via the `patternProperty` "[A-Za-z0-9_\-]".
*/
export interface Website {
name: WebsiteName;
link: Link;
}