|
| 1 | +import type { |
| 2 | + AndroidOutputAssetTemplate, |
| 3 | + AndroidOutputAssetTemplateAdaptiveIcon |
| 4 | +} from '../asset-types'; |
| 5 | +import { AssetKind, AndroidDensity, Format, Platform } from '../asset-types'; |
| 6 | + |
| 7 | +export const ANDROID_LDPI_ICON: AndroidOutputAssetTemplate = { |
| 8 | + platform: Platform.Android, |
| 9 | + kind: AssetKind.Icon, |
| 10 | + format: Format.Png, |
| 11 | + width: 36, |
| 12 | + height: 36, |
| 13 | + density: AndroidDensity.Ldpi, |
| 14 | +}; |
| 15 | + |
| 16 | +export const ANDROID_MDPI_ICON: AndroidOutputAssetTemplate = { |
| 17 | + platform: Platform.Android, |
| 18 | + kind: AssetKind.Icon, |
| 19 | + format: Format.Png, |
| 20 | + width: 48, |
| 21 | + height: 48, |
| 22 | + density: AndroidDensity.Mdpi, |
| 23 | +}; |
| 24 | + |
| 25 | +export const ANDROID_HDPI_ICON: AndroidOutputAssetTemplate = { |
| 26 | + platform: Platform.Android, |
| 27 | + kind: AssetKind.Icon, |
| 28 | + format: Format.Png, |
| 29 | + width: 72, |
| 30 | + height: 72, |
| 31 | + density: AndroidDensity.Hdpi, |
| 32 | +}; |
| 33 | + |
| 34 | +export const ANDROID_XHDPI_ICON: AndroidOutputAssetTemplate = { |
| 35 | + platform: Platform.Android, |
| 36 | + kind: AssetKind.Icon, |
| 37 | + format: Format.Png, |
| 38 | + width: 96, |
| 39 | + height: 96, |
| 40 | + density: AndroidDensity.Xhdpi, |
| 41 | +}; |
| 42 | + |
| 43 | +export const ANDROID_XXHDPI_ICON: AndroidOutputAssetTemplate = { |
| 44 | + platform: Platform.Android, |
| 45 | + kind: AssetKind.Icon, |
| 46 | + format: Format.Png, |
| 47 | + width: 144, |
| 48 | + height: 144, |
| 49 | + density: AndroidDensity.Xxhdpi, |
| 50 | +}; |
| 51 | + |
| 52 | +export const ANDROID_XXXHDPI_ICON: AndroidOutputAssetTemplate = { |
| 53 | + platform: Platform.Android, |
| 54 | + kind: AssetKind.Icon, |
| 55 | + format: Format.Png, |
| 56 | + width: 192, |
| 57 | + height: 192, |
| 58 | + density: AndroidDensity.Xxxhdpi, |
| 59 | +}; |
| 60 | + |
| 61 | +/** |
| 62 | + * Adaptive icons |
| 63 | + */ |
| 64 | +export const ANDROID_LDPI_ADAPTIVE_ICON: AndroidOutputAssetTemplateAdaptiveIcon = { |
| 65 | + platform: Platform.Android, |
| 66 | + kind: AssetKind.AdaptiveIcon, |
| 67 | + format: Format.Png, |
| 68 | + width: 81, |
| 69 | + height: 81, |
| 70 | + density: AndroidDensity.Ldpi, |
| 71 | +}; |
| 72 | + |
| 73 | +export const ANDROID_MDPI_ADAPTIVE_ICON: AndroidOutputAssetTemplateAdaptiveIcon = { |
| 74 | + platform: Platform.Android, |
| 75 | + kind: AssetKind.AdaptiveIcon, |
| 76 | + format: Format.Png, |
| 77 | + width: 108, |
| 78 | + height: 108, |
| 79 | + density: AndroidDensity.Mdpi, |
| 80 | +}; |
| 81 | + |
| 82 | +export const ANDROID_HDPI_ADAPTIVE_ICON: AndroidOutputAssetTemplateAdaptiveIcon = { |
| 83 | + platform: Platform.Android, |
| 84 | + kind: AssetKind.AdaptiveIcon, |
| 85 | + format: Format.Png, |
| 86 | + width: 162, |
| 87 | + height: 162, |
| 88 | + density: AndroidDensity.Hdpi, |
| 89 | +}; |
| 90 | + |
| 91 | +export const ANDROID_XHDPI_ADAPTIVE_ICON: AndroidOutputAssetTemplateAdaptiveIcon = { |
| 92 | + platform: Platform.Android, |
| 93 | + kind: AssetKind.AdaptiveIcon, |
| 94 | + format: Format.Png, |
| 95 | + width: 216, |
| 96 | + height: 216, |
| 97 | + density: AndroidDensity.Xhdpi, |
| 98 | +}; |
| 99 | + |
| 100 | +export const ANDROID_XXHDPI_ADAPTIVE_ICON: AndroidOutputAssetTemplateAdaptiveIcon = { |
| 101 | + platform: Platform.Android, |
| 102 | + kind: AssetKind.AdaptiveIcon, |
| 103 | + format: Format.Png, |
| 104 | + width: 324, |
| 105 | + height: 324, |
| 106 | + density: AndroidDensity.Xxhdpi, |
| 107 | +}; |
| 108 | + |
| 109 | +export const ANDROID_XXXHDPI_ADAPTIVE_ICON: AndroidOutputAssetTemplateAdaptiveIcon = { |
| 110 | + platform: Platform.Android, |
| 111 | + kind: AssetKind.AdaptiveIcon, |
| 112 | + format: Format.Png, |
| 113 | + width: 432, |
| 114 | + height: 432, |
| 115 | + density: AndroidDensity.Xxxhdpi, |
| 116 | +}; |
0 commit comments