diff --git a/media/backgrounds/farm/background-dark-large.png b/media/backgrounds/farm/background-dark-large.png new file mode 100644 index 00000000..67582c80 Binary files /dev/null and b/media/backgrounds/farm/background-dark-large.png differ diff --git a/media/backgrounds/farm/background-dark-medium.png b/media/backgrounds/farm/background-dark-medium.png new file mode 100644 index 00000000..ff251955 Binary files /dev/null and b/media/backgrounds/farm/background-dark-medium.png differ diff --git a/media/backgrounds/farm/background-dark-nano.png b/media/backgrounds/farm/background-dark-nano.png new file mode 100644 index 00000000..465bab0f Binary files /dev/null and b/media/backgrounds/farm/background-dark-nano.png differ diff --git a/media/backgrounds/farm/background-dark-small.png b/media/backgrounds/farm/background-dark-small.png new file mode 100644 index 00000000..d1f9bf40 Binary files /dev/null and b/media/backgrounds/farm/background-dark-small.png differ diff --git a/media/backgrounds/farm/background-light-large.png b/media/backgrounds/farm/background-light-large.png new file mode 100644 index 00000000..67582c80 Binary files /dev/null and b/media/backgrounds/farm/background-light-large.png differ diff --git a/media/backgrounds/farm/background-light-medium.png b/media/backgrounds/farm/background-light-medium.png new file mode 100644 index 00000000..ff251955 Binary files /dev/null and b/media/backgrounds/farm/background-light-medium.png differ diff --git a/media/backgrounds/farm/background-light-nano.png b/media/backgrounds/farm/background-light-nano.png new file mode 100644 index 00000000..465bab0f Binary files /dev/null and b/media/backgrounds/farm/background-light-nano.png differ diff --git a/media/backgrounds/farm/background-light-small.png b/media/backgrounds/farm/background-light-small.png new file mode 100644 index 00000000..d1f9bf40 Binary files /dev/null and b/media/backgrounds/farm/background-light-small.png differ diff --git a/media/backgrounds/halloween/background-dark-large.png b/media/backgrounds/halloween/background-dark-large.png new file mode 100644 index 00000000..4cec9b8f Binary files /dev/null and b/media/backgrounds/halloween/background-dark-large.png differ diff --git a/media/backgrounds/halloween/background-dark-medium.png b/media/backgrounds/halloween/background-dark-medium.png new file mode 100644 index 00000000..079e56f8 Binary files /dev/null and b/media/backgrounds/halloween/background-dark-medium.png differ diff --git a/media/backgrounds/halloween/background-dark-nano.png b/media/backgrounds/halloween/background-dark-nano.png new file mode 100644 index 00000000..f9a0ab23 Binary files /dev/null and b/media/backgrounds/halloween/background-dark-nano.png differ diff --git a/media/backgrounds/halloween/background-dark-small.png b/media/backgrounds/halloween/background-dark-small.png new file mode 100644 index 00000000..9553d1d8 Binary files /dev/null and b/media/backgrounds/halloween/background-dark-small.png differ diff --git a/media/backgrounds/halloween/background-light-large.png b/media/backgrounds/halloween/background-light-large.png new file mode 100644 index 00000000..4cec9b8f Binary files /dev/null and b/media/backgrounds/halloween/background-light-large.png differ diff --git a/media/backgrounds/halloween/background-light-medium.png b/media/backgrounds/halloween/background-light-medium.png new file mode 100644 index 00000000..079e56f8 Binary files /dev/null and b/media/backgrounds/halloween/background-light-medium.png differ diff --git a/media/backgrounds/halloween/background-light-nano.png b/media/backgrounds/halloween/background-light-nano.png new file mode 100644 index 00000000..f9a0ab23 Binary files /dev/null and b/media/backgrounds/halloween/background-light-nano.png differ diff --git a/media/backgrounds/halloween/background-light-small.png b/media/backgrounds/halloween/background-light-small.png new file mode 100644 index 00000000..9553d1d8 Binary files /dev/null and b/media/backgrounds/halloween/background-light-small.png differ diff --git a/package.json b/package.json index 973c23bf..f78de0de 100644 --- a/package.json +++ b/package.json @@ -226,7 +226,9 @@ "none", "forest", "castle", - "beach" + "beach", + "halloween", + "farm" ], "default": "none", "description": "Background theme assets for your pets" diff --git a/src/common/types.ts b/src/common/types.ts index c223afdd..a174f5c2 100644 --- a/src/common/types.ts +++ b/src/common/types.ts @@ -69,6 +69,8 @@ export const enum Theme { forest = 'forest', castle = 'castle', beach = 'beach', + halloween = 'halloween', + farm = 'farm', } export const enum ColorThemeKind { @@ -135,4 +137,11 @@ export const ALL_SCALES = [ PetSize.medium, PetSize.large, ]; -export const ALL_THEMES = [Theme.none, Theme.forest, Theme.castle, Theme.beach]; +export const ALL_THEMES = [ + Theme.none, + Theme.forest, + Theme.castle, + Theme.beach, + Theme.halloween, + Theme.farm, +]; diff --git a/src/panel/main.ts b/src/panel/main.ts index c3c75d15..9b3fcc5c 100644 --- a/src/panel/main.ts +++ b/src/panel/main.ts @@ -84,6 +84,30 @@ function calculateFloor(size: PetSize, theme: Theme): number { default: return 45; } + case Theme.halloween: + switch (size) { + case PetSize.small: + return 30; + case PetSize.medium: + return 40; + case PetSize.large: + return 65; + case PetSize.nano: + default: + return 23; + } + case Theme.farm: + switch (size) { + case PetSize.small: + return 30; + case PetSize.medium: + return 40; + case PetSize.large: + return 65; + case PetSize.nano: + default: + return 23; + } } return 0; }