Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

brand-assets.ts

57 lines2.2 KB

1export const BRAND_ASSET_PATHS = {
2 productionMacIconPng: "assets/prod/black-macos-1024.png",
3 productionLinuxIconPng: "assets/prod/black-universal-1024.png",
4 productionWindowsIconIco: "assets/prod/t3-black-windows.ico",
5 productionWebFaviconIco: "assets/prod/t3-black-web-favicon.ico",
6 productionWebFavicon16Png: "assets/prod/t3-black-web-favicon-16x16.png",
7 productionWebFavicon32Png: "assets/prod/t3-black-web-favicon-32x32.png",
8 productionWebAppleTouchIconPng: "assets/prod/t3-black-web-apple-touch-180.png",
9 developmentWindowsIconIco: "assets/dev/blueprint-windows.ico",
10 developmentWebFaviconIco: "assets/dev/blueprint-web-favicon.ico",
11 developmentWebFavicon16Png: "assets/dev/blueprint-web-favicon-16x16.png",
12 developmentWebFavicon32Png: "assets/dev/blueprint-web-favicon-32x32.png",
13 developmentWebAppleTouchIconPng: "assets/dev/blueprint-web-apple-touch-180.png",
14} as const;
15​
16export interface IconOverride {
17 readonly sourceRelativePath: string;
18 readonly targetRelativePath: string;
20​
21export const DEVELOPMENT_ICON_OVERRIDES: ReadonlyArray<IconOverride> = [
22 {
23 sourceRelativePath: BRAND_ASSET_PATHS.developmentWebFaviconIco,
24 targetRelativePath: "dist/client/favicon.ico",
25 },
26 {
27 sourceRelativePath: BRAND_ASSET_PATHS.developmentWebFavicon16Png,
28 targetRelativePath: "dist/client/favicon-16x16.png",
29 },
30 {
31 sourceRelativePath: BRAND_ASSET_PATHS.developmentWebFavicon32Png,
32 targetRelativePath: "dist/client/favicon-32x32.png",
33 },
34 {
35 sourceRelativePath: BRAND_ASSET_PATHS.developmentWebAppleTouchIconPng,
36 targetRelativePath: "dist/client/apple-touch-icon.png",
37 },
38];
39​
40export const PUBLISH_ICON_OVERRIDES: ReadonlyArray<IconOverride> = [
41 {
42 sourceRelativePath: BRAND_ASSET_PATHS.productionWebFaviconIco,
43 targetRelativePath: "dist/client/favicon.ico",
44 },
45 {
46 sourceRelativePath: BRAND_ASSET_PATHS.productionWebFavicon16Png,
47 targetRelativePath: "dist/client/favicon-16x16.png",
48 },
49 {
50 sourceRelativePath: BRAND_ASSET_PATHS.productionWebFavicon32Png,
51 targetRelativePath: "dist/client/favicon-32x32.png",
52 },
53 {
54 sourceRelativePath: BRAND_ASSET_PATHS.productionWebAppleTouchIconPng,
55 targetRelativePath: "dist/client/apple-touch-icon.png",
56 },
57];