forked from nkahoang/es-theme-art-book-next-arkos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.xml
367 lines (350 loc) · 14.4 KB
/
theme.xml
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
<!--
theme name: Art Book Next
author: Anthony Caccese
license: creative commons CC-BY-NC-SA
-->
<theme defaultTransition="instant">
<formatVersion>7</formatVersion>
<!-- Variables -->
<variables>
<fontBold>./_inc/fonts/Oxygen-Bold.ttf</fontBold>
<fontLight>./_inc/fonts/Oxygen-Light.ttf</fontLight>
<fontRegular>./_inc/fonts/Oxygen-Regular.ttf</fontRegular>
<fontLogo>./_inc/fonts/ChangaOne-Italic.ttf</fontLogo>
<spacerImage>./_inc/images/space.png</spacerImage>
<themeCustomizationsPath>./resources/customizations/art-book-next/</themeCustomizationsPath>
</variables>
<!-- Aspect Ratio -->
<subset name="aspect-ratio" displayName="Aspect Ratio">
<include name="16-9" displayName="16:9" />
<include name="16-10" displayName="16:10" />
<include name="4-3" displayName="4:3" />
<include name="3-2" displayName="3:2" />
<include name="5-3" displayName="5:3" />
<include name="1-1" displayName="1:1" />
</subset>
<!-- Color Scheme -->
<subset name="color-scheme" displayName="Color Scheme">
<include name="art-book-next" displayName="Art Book Next" />
<include name="art-book" displayName="Art Book" />
<include name="steam-os" displayName="Steam OS" />
<include name="snes" displayName="SNES" />
<include name="famicom" displayName="Famicom" />
<include name="black" displayName="Black" />
<include name="grayscale" displayName="Grayscale" />
</subset>
<include>./colors.xml</include>
<!-- Fonts -->
<subset name="fonts" displayName="Font Size">
<include name="default" displayName="Default" />
<include name="custom" displayName="Custom" />
</subset>
<!-- System View Style -->
<subset name="system-view-style" displayName="System View: Style">
<include name="multi" displayName="Multi Artwork" />
<include name="centered" displayName="Centered Artwork (Multiple Logos)" />
<include name="centered-one-logo" displayName="Centered Artwork (Single Logo)" />
<include name="no-artwork" displayName="No Artwork" />
<include name="centered-custom" displayName="Centered Artwork (Custom)" />
<include name="multi-custom" displayName="Multi Artwork (Custom)" />
<include name="fullscreen-custom" displayName="Fullscreen Artwork (Custom)" />
</subset>
<!-- Gamelist View Style -->
<subset name="gamelist-view-style" displayName="Gamelist View: Style">
<include name="metadata-on" displayName="Metadata On" />
<include name="metadata-on-immersive" displayName="Metadata On (Immersive)" />
<include name="metadata-off" displayName="Metadata Off" />
<include name="metadata-off-immersive" displayName="Metadata Off (Immersive)" />
</subset>
<!-- Gamelist View Loop Video -->
<subset name="gamelist-loop-video" displayName="Gamelist View: Loop Video">
<include name="off" displayName="Off" />
<include name="on" displayName="On" />
</subset>
<view name="screen">
<controllerActivity name="controllerActivity">
<visible>false</visible>
</controllerActivity>
<text name="clock">
<pos>1 1</pos>
<size>0.4 0.07</size>
<fontSize>0.04</fontSize>
<alignment>right</alignment>
<verticalAlignment>center</verticalAlignment>
<color>${statusBarIconColor}</color>
</text>
<batteryIndicator name="batteryIndicator">
<color>${statusBarIconColor}</color>
<itemSpacing>0</itemSpacing>
<full>./_inc/images/battery-100-vertical.svg</full>
<at75>./_inc/images/battery-75-vertical.svg</at75>
<at50>./_inc/images/battery-50-vertical.svg</at50>
<at25>./_inc/images/battery-25-vertical.svg</at25>
<empty>./_inc/images/battery-0-vertical.svg</empty>
<incharge>./_inc/images/battery-charging-vertical.svg</incharge>
<networkIcon>./_inc/images/wifi-vertical.svg</networkIcon>
</batteryIndicator>
</view>
<view name="system,basic,detailed,video">
<image name="logo">
<path>./_inc/systems/${system.theme}.svg</path>
<path ifSubset="color-scheme:custom">${themeCustomizationsPath}logos/${system.theme}.svg</path>
<path ifSubset="color-scheme:custom">${themeCustomizationsPath}logos/${system.theme}.png</path>
</image>
<text name="logoText">
<fontPath>${fontLogo}</fontPath>
<forceUppercase>true</forceUppercase>
<lineSpacing>1</lineSpacing>
<alignment>center</alignment>
</text>
<image name="background" extra="true">
<origin>0 0</origin>
<pos>0 0</pos>
<size>1 1</size>
<path>${spacerImage}</path>
<tile>true</tile>
<zIndex>0</zIndex>
</image>
</view>
<view name="system">
<image name="logo">
<color>${systemLogoColor}</color>
</image>
<text name="logoText">
<color>${systemLogoColor}</color>
<fontSize>0.15</fontSize>
</text>
<carousel name="systemcarousel">
<origin>0 0</origin>
<pos>0 0</pos>
<size>1 1</size>
<color>00000000</color>
<type>horizontal</type>
<logoScale>2</logoScale>
<logoSize>0.25 0.15</logoSize>
<maxLogoCount>2</maxLogoCount>
<maxLogoCount ifSubset="system-view-style:centered-one-logo">1</maxLogoCount>
<scrollSound>./_inc/sounds/scroll.wav</scrollSound>
<defaultTransition>instant</defaultTransition>
</carousel>
<text name="systemInfo">
<pos>1 1</pos>
</text>
<image ifSubset="system-view-style:centered|centered-custom|centered-one-logo" name="system-art-fade" extra="true">
<origin>0 0</origin>
<pos>0 0</pos>
<size>1 1</size>
<path>${spacerImage}</path>
<tile>true</tile>
<color>${systemArtFade}</color>
<zIndex>3</zIndex>
</image>
<!-- System View Mask: Multi Artwork -->
<image name="logo">
<path>./_inc/systems/_default.png</path>
<path>./_inc/systems/${system.theme}.png</path>
<color>ffffffcc</color>
<saturation>${systemArtSaturation}</saturation>
</image>
<image name="background" extra="true">
<color>000000</color>
</image>
</view>
<view name="basic,detailed,video">
<image name="logo">
<origin>0.5 0.5</origin>
<color>${gamelistListLogoColor}</color>
<zIndex>5</zIndex>
</image>
<text name="logoText">
<origin>0.5 0.5</origin>
<color>${gamelistListLogoColor}</color>
<zIndex>5</zIndex>
</text>
<textlist name="gamelist">
<origin>0 0</origin>
<alignment>left</alignment>
<fontPath>${fontBold}</fontPath>
<selectorColor>00000000</selectorColor>
<selectedColor>${gamelistListTextlistSelectedColor}</selectedColor>
<primaryColor>${gamelistListTextlistUnselectedColor}</primaryColor>
<secondaryColor>${gamelistListTextlistUnselectedColor}</secondaryColor>
<scrollSound>./_inc/sounds/scroll.wav</scrollSound>
<zIndex>5</zIndex>
</textlist>
<image name="gamelist-background" extra="true">
<origin>0 0</origin>
<path>${spacerImage}</path>
<tile>true</tile>
<color>111111</color>
<zIndex>4</zIndex>
</image>
<image name="background" extra="true">
<color>${backgroundColor}</color>
<zIndex>1</zIndex>
</image>
</view>
<view name="basic">
<textlist name="gamelist">
<origin>0.5 0</origin>
<alignment>center</alignment>
</textlist>
<image name="gamelist-background" extra="true">
<size>1 1</size>
</image>
</view>
<view name="detailed,video">
<text name="md_lbl_rating,md_lbl_developer,md_developer,md_lbl_publisher,md_publisher,md_lbl_playcount,md_playcount,md_lbl_lastplayed,md_lbl_players,md_players,md_lbl_releasedate,md_lbl_genre,md_genre,md_description,md_name,md_lbl_gametime,md_gametime">
<origin>0 0.5</origin>
<pos>1 1</pos>
<fontPath>${fontBold}</fontPath>
<alignment>left</alignment>
<color>${gamelistListMetadataColor}</color>
<forceUppercase>true</forceUppercase>
</text>
<datetime name="md_releasedate,md_lastplayed">
<origin>0 0.5</origin>
<pos>1 1</pos>
<fontPath>${fontBold}</fontPath>
<color>${gamelistListMetadataColor}</color>
<alignment>left</alignment>
<forceUppercase>true</forceUppercase>
<format>%Y-%m-%d</format>
</datetime>
<rating name="md_rating">
<origin>0 0.5</origin>
<pos>1 1</pos>
<color>${gamelistListRatingColor}</color>
<filledPath>./_inc/images/icon-star-filled.svg</filledPath>
<unfilledPath>./_inc/images/icon-star-unfilled.svg</unfilledPath>
</rating>
<image name="md_releasedate_icon,md_players_icon,md_developer_icon,md_publisher_icon,md_genre_icon,md_lastplayed_icon,md_playcount_icon,md_gametime_icon" extra="true">
<origin>0 0.5</origin>
<pos>1 1</pos>
<color>${gamelistListMetadataIconColor}</color>
</image>
<image name="md_releasedate_icon">
<path>./_inc/images/icon-releasedate.svg</path>
</image>
<image name="md_players_icon">
<path>./_inc/images/icon-players.svg</path>
</image>
<image name="md_playcount_icon">
<path>./_inc/images/icon-playcount.svg</path>
</image>
<image name="md_gametime_icon">
<path>./_inc/images/icon-gametime.svg</path>
</image>
<image name="md_lastplayed_icon">
<path>./_inc/images/icon-lastplayed.svg</path>
</image>
<image name="md_genre_icon">
<path>./_inc/images/icon-genre.svg</path>
</image>
<image name="md_developer_icon">
<path>./_inc/images/icon-developer.svg</path>
</image>
<image name="md_publisher_icon">
<path>./_inc/images/icon-publisher.svg</path>
</image>
<text name="md_description">
<origin>0 0</origin>
<fontPath>${fontRegular}</fontPath>
<color>${gamelistListDescriptionColor}</color>
<forceUppercase>false</forceUppercase>
</text>
<image ifSubset="gamelist-view-style:metadata-on|metadata-on-immersive|metadata-off" name="game-metadata-background" extra="true">
<origin>0 0</origin>
<path>${spacerImage}</path>
<tile>true</tile>
<color>888888</color>
<zIndex>2</zIndex>
</image>
</view>
<view name="detailed">
<image name="md_image">
<origin>0.5 0.5</origin>
<color ifSubset="gamelist-view-style:metadata-on-immersive|metadata-off-immersive">FFFFFF99</color>
<zIndex>3</zIndex>
</image>
</view>
<view name="video">
<video name="md_video">
<origin>0.5 0.5</origin>
<delay>2</delay>
<effect>none</effect>
<showSnapshotDelay>true</showSnapshotDelay>
<showSnapshotNoVideo>true</showSnapshotNoVideo>
<color ifSubset="gamelist-view-style:metadata-on-immersive">FFFFFFDD</color>
<color ifSubset="gamelist-view-style:metadata-off-immersive">FFFFFF99</color>
<zIndex>3</zIndex>
<loops ifSubset="gamelist-loop-video:off">0</loops>
<loops ifSubset="gamelist-loop-video:on">-1</loops>
</video>
</view>
<view name="menu">
<menuText name="menutitle">
<fontPath>${fontBold}</fontPath>
<fontSize>0.03</fontSize>
<color>ffffff</color>
</menuText>
<menuText name="menufooter">
<fontPath>${fontLight}</fontPath>
<fontSize>0.025</fontSize>
<color>ffffff77</color>
</menuText>
<menuText name="menutext">
<fontPath>${fontBold}</fontPath>
<fontSize>0.035</fontSize>
<color>ffffff77</color>
<separatorColor>ffffff11</separatorColor>
<selectedColor>ffffff</selectedColor>
</menuText>
<menuTextSmall name="menutextsmall">
<fontPath>${fontBold}</fontPath>
<fontSize>0.025</fontSize>
<color>ffffff77</color>
</menuTextSmall>
<menuGroup name="menugroup">
<fontPath>${fontRegular}</fontPath>
<fontSize>0.0325</fontSize>
<color>ffffff</color>
<separatorColor>ffffff99</separatorColor>
<backgroundColor>00000000</backgroundColor>
<lineSpacing>2.5</lineSpacing>
</menuGroup>
<menuTextEdit name="menutextedit">
<inactive>./_inc/images/menu-textinput.png</inactive>
<active>./_inc/images/menu-textinput-active.png</active>
</menuTextEdit>
<menuBackground name="menubg">
<color>111111</color>
<size>1 1</size>
<cornerSize>20 20</cornerSize>
</menuBackground>
<menuIcons name="menuicons">
<iconSystem>./_inc/images/menu-icon-system.svg</iconSystem>
<iconUpdates>./_inc/images/menu-icon-update.svg</iconUpdates>
<iconControllers>./_inc/images/menu-icon-controller.svg</iconControllers>
<iconGames>./_inc/images/menu-icon-games.svg</iconGames>
<iconUI>./_inc/images/menu-icon-ui.svg</iconUI>
<iconSound>./_inc/images/menu-icon-sound.svg</iconSound>
<iconNetwork>./_inc/images/menu-icon-network.svg</iconNetwork>
<iconScraper>./_inc/images/menu-icon-scraper.svg</iconScraper>
<iconAdvanced>./_inc/images/menu-icon-advanced.svg</iconAdvanced>
<iconQuit>./_inc/images/menu-icon-quit.svg</iconQuit>
<iconRetroachievements>./_inc/images/menu-icon-achievements.svg</iconRetroachievements>
<iconKodi>./_inc/images/menu-icon-kodi.svg</iconKodi>
<iconRestart>./_inc/images/menu-icon-restart.svg</iconRestart>
<iconShutdown>./_inc/images/menu-icon-shutdown.svg</iconShutdown>
<iconFastShutdown>./_inc/images/menu-icon-shutdown.svg</iconFastShutdown>
</menuIcons>
</view>
<!-- Aspect Ratio -->
<include ifSubset="aspect-ratio:16-9">./aspect-ratio-16-9.xml</include>
<include ifSubset="aspect-ratio:16-10">./aspect-ratio-16-10.xml</include>
<include ifSubset="aspect-ratio:4-3">./aspect-ratio-4-3.xml</include>
<include ifSubset="aspect-ratio:3-2">./aspect-ratio-3-2.xml</include>
<include ifSubset="aspect-ratio:5-3">./aspect-ratio-5-3.xml</include>
<include ifSubset="aspect-ratio:1-1">./aspect-ratio-1-1.xml</include>
</theme>