Port statistics and the news tablet to the Modern UI (by Codex)
This commit is contained in:
1 parent
349c416f3a
commit
a45217c362
32 files changed
+2493
-23
No files matched your search
@@ -74,6 +74,15 @@ def main():
|
||||
add('button.' + route, button['src'].removeprefix('../'))
|
||||
add('button.news', 'assets/vector/desktop-news.svg')
|
||||
add('button.almanac', 'assets/vector/desktop-almanac.svg')
|
||||
add('news.cash', 'assets/studies/desktop-objects/cash-v2.png')
|
||||
# Prototype trophy fallbacks; competition pictures prefer world asset keys.
|
||||
for trophy in ('championship', 'dfb-cup', 'supercup', 'champions-league',
|
||||
'cup-winners', 'uefa-cup', 'indoor-masters', 'world-cup',
|
||||
'european-championship', 'es-la-liga', 'es-copa-del-rey',
|
||||
'en-premier-league', 'en-fa-cup', 'fr-ligue-1',
|
||||
'fr-coupe-de-france', 'it-serie-a', 'it-coppa-italia'):
|
||||
version = 2 if trophy == 'fr-coupe-de-france' else 1
|
||||
add('trophy.' + trophy, f'assets/studies/trophies/{trophy}-v{version}.png')
|
||||
for key, crop in [('normal', [0, 0, .5, .5]),
|
||||
('selected', [.5, .5, .5, .5]),
|
||||
('ghost', [.5, 0, .5, .5])]:
|
||||
|
||||
Reference in new issue
Block a user