Add theme screenshots & make some fields required

- Description, Name & Author is now mandatory
- Add screenshots
- Add dist/images to electron build
This commit is contained in:
Martin Fournier 2022-01-19 11:18:30 -05:00
parent a9e2e35446
commit 61d6e43b37
30 changed files with 43 additions and 3 deletions

@ -8,6 +8,7 @@ cp index.html .package
cp -r electron/* .package cp -r electron/* .package
cp -r dist/ext .package/dist cp -r dist/ext .package/dist
cp -r dist/icons .package/dist cp -r dist/icons .package/dist
cp -r dist/images .package/dist
# The css files # The css files
cp dist/vendor.css .package/dist cp dist/vendor.css .package/dist

@ -40,9 +40,10 @@ export interface ITheme {
export interface IPredefinedTheme { export interface IPredefinedTheme {
colors: ITheme; colors: ITheme;
name?: string; name: string;
credit?: string; credit: string;
description?: string; screenshot: string;
description: string;
reference?: string; reference?: string;
} }

@ -1,9 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Dark Blue", name: "Dark Blue",
description: "Very dark with a blue/purplelly primary",
credit: "Saynt_Garmo", credit: "Saynt_Garmo",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/923084732718264340", reference: "https://discord.com/channels/415207508303544321/921991895230611466/923084732718264340",
screenshot: img1,
colors: { colors: {
primarylight: "#023DDE", primarylight: "#023DDE",
primary: "#4A41C8", primary: "#4A41C8",

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

@ -1,10 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Dark+", name: "Dark+",
credit: "LoganMD", credit: "LoganMD",
description: "VSCode Dark+", description: "VSCode Dark+",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/921999975867617310", reference: "https://discord.com/channels/415207508303544321/921991895230611466/921999975867617310",
screenshot: img1,
colors: { colors: {
primarylight: "#E0E0BC", primarylight: "#E0E0BC",
primary: "#CCCCAE", primary: "#CCCCAE",

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

@ -1,10 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Default-lite", name: "Default-lite",
description: "Less eye-straining default theme", description: "Less eye-straining default theme",
credit: "NmuGmu", credit: "NmuGmu",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/925263801564151888", reference: "https://discord.com/channels/415207508303544321/921991895230611466/925263801564151888",
screenshot: img1,
colors: { colors: {
primarylight: "#28CF28", primarylight: "#28CF28",
primary: "#21A821", primary: "#21A821",

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

@ -1,6 +1,11 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: 'Default',
description: 'Default game theme, most supported',
credit: 'hydroflame',
screenshot: img1,
colors: { colors: {
primarylight: "#0f0", primarylight: "#0f0",
primary: "#0c0", primary: "#0c0",

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

@ -1,10 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Discord-like", name: "Discord-like",
description: "Discord inspired theme", description: "Discord inspired theme",
credit: "Thermite", credit: "Thermite",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/924305252017143818", reference: "https://discord.com/channels/415207508303544321/921991895230611466/924305252017143818",
screenshot: img1,
colors: { colors: {
primarylight: "#7389DC", primarylight: "#7389DC",
primary: "#7389DC", primary: "#7389DC",

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

@ -1,9 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Dracula", name: "Dracula",
description: "Dracula Look-alike",
credit: "H3draut3r", credit: "H3draut3r",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/922296307836678144", reference: "https://discord.com/channels/415207508303544321/921991895230611466/922296307836678144",
screenshot: img1,
colors: { colors: {
primarylight: "#7082B8", primarylight: "#7082B8",
primary: "#F8F8F2", primary: "#F8F8F2",

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

@ -1,9 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Light", name: "Light",
description: "Cobbled Together Light Theme",
credit: "matt", credit: "matt",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/926114005456658432", reference: "https://discord.com/channels/415207508303544321/921991895230611466/926114005456658432",
screenshot: img1,
colors: { colors: {
primarylight: "#535353", primarylight: "#535353",
primary: "#1A1A1A", primary: "#1A1A1A",

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

@ -1,10 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Mayukai Dark", name: "Mayukai Dark",
description: "Mayukai Dark-esque", description: "Mayukai Dark-esque",
credit: "Festive Noire", credit: "Festive Noire",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/922037502334889994", reference: "https://discord.com/channels/415207508303544321/921991895230611466/922037502334889994",
screenshot: img1,
colors: { colors: {
primarylight: "#DDDFC5", primarylight: "#DDDFC5",
primary: "#CDCFB6", primary: "#CDCFB6",

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

@ -1,8 +1,11 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Monokai'ish", name: "Monokai'ish",
description: "Monokai'ish", description: "Monokai'ish",
credit: "eltea",
screenshot: img1,
colors: { colors: {
primarylight: "#FFF", primarylight: "#FFF",
primary: "#F8F8F2", primary: "#F8F8F2",

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

@ -1,9 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Muted Gold & Blue", name: "Muted Gold & Blue",
description: "Muted gold with blue accents.",
credit: "Sloth", credit: "Sloth",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/924672660758208563", reference: "https://discord.com/channels/415207508303544321/921991895230611466/924672660758208563",
screenshot: img1,
colors: { colors: {
primarylight: "#E3B54A", primarylight: "#E3B54A",
primary: "#CAA243", primary: "#CAA243",

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

@ -1,9 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "One Dark", name: "One Dark",
description: "Dark with a greenish tint",
credit: "Dexalt142", credit: "Dexalt142",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/924650660694208512", reference: "https://discord.com/channels/415207508303544321/921991895230611466/924650660694208512",
screenshot: img1,
colors: { colors: {
primarylight: "#98C379", primarylight: "#98C379",
primary: "#98C379", primary: "#98C379",

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

@ -1,10 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Purple", name: "Purple",
credit: "zer0ney", credit: "zer0ney",
description: "Essentially all defaults except for purple replacing the main colors", description: "Essentially all defaults except for purple replacing the main colors",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/922091815849570395", reference: "https://discord.com/channels/415207508303544321/921991895230611466/922091815849570395",
screenshot: img1,
colors: { colors: {
primarylight: "#BA55D3", primarylight: "#BA55D3",
primary: "#9370DB", primary: "#9370DB",

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

@ -1,10 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Smooth Green", name: "Smooth Green",
description: "A nice green theme that doesn't hurt your eyes.", description: "A nice green theme that doesn't hurt your eyes.",
credit: "Swidt", credit: "Swidt",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/922243957986033725", reference: "https://discord.com/channels/415207508303544321/921991895230611466/922243957986033725",
screenshot: img1,
colors: { colors: {
primarylight: "#E0E0BC", primarylight: "#E0E0BC",
primary: "#B0D9A3", primary: "#B0D9A3",

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

@ -1,9 +1,12 @@
import { IPredefinedTheme } from "../../Themes"; import { IPredefinedTheme } from "../../Themes";
import img1 from "./screenshot.png";
export const Theme: IPredefinedTheme = { export const Theme: IPredefinedTheme = {
name: "Warmer",
credit: "hexnaught", credit: "hexnaught",
description: "Warmer, softer theme", description: "Warmer, softer theme",
reference: "https://discord.com/channels/415207508303544321/921991895230611466/921999581020028938", reference: "https://discord.com/channels/415207508303544321/921991895230611466/921999581020028938",
screenshot: img1,
colors: { colors: {
primarylight: "#EA9062", primarylight: "#EA9062",
primary: "#DD7B4A", primary: "#DD7B4A",

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB