mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: use blitzkit icons by default
This commit is contained in:
1 parent
2055c00154
commit
e4f0120d67
1 file changed
+4
-1
@@ -2,6 +2,9 @@ import { asset } from '@blitzkit/core';
|
||||
|
||||
export const BLITZKIT_TANK_ICON_SIZE = { width: 40 * 16, height: 30 * 16 };
|
||||
|
||||
export function tankIcon(id: number, size: 'big' | 'small' = 'big') {
|
||||
export function tankIcon(
|
||||
id: number,
|
||||
size: 'big' | 'small' | 'blitzkit' = 'blitzkit',
|
||||
) {
|
||||
return asset(`icons/tanks/${size}/${id}.webp`);
|
||||
}
|
||||
Reference in new issue
Block a user