Skip to content

Commit

Permalink
[GUI] Nomai and OW themes
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaPiggy committed Aug 3, 2023
1 parent 5fc4dc9 commit 8277eeb
Show file tree
Hide file tree
Showing 5 changed files with 178 additions and 81 deletions.
3 changes: 3 additions & 0 deletions owmods_gui/backend/src/gui_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ pub enum Theme {
Pink,
Purple,
Blurple,
OuterWildsOrange,
GhostlyGreen,
NomaiBlue,
NomaiYellow,
#[default]
#[serde(other)]
Green,
Expand Down
3 changes: 3 additions & 0 deletions owmods_gui/frontend/src/assets/translations/english.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
"MissingDLL": "Unable to find DLL file specified (\"$payload$\")",
"MissingDep": "Missing dependency: $payload$",
"NAME": "Name",
"NomaiBlue": "Nomai Blue",
"NomaiYellow": "Nomai Yellow",
"NO_DOWNLOADS": "No Downloads",
"NO_MODS": "No Mods Installed, Click \"Get Mods\" To Grab Some!",
"NO_MODS_FROM_FILTER": "No Mods Found",
Expand All @@ -88,6 +90,7 @@
"OPEN_README": "Show On Website",
"OPEN_WEBSITE": "Browse Mods Website",
"OUTDATED": "Outdated",
"OuterWildsOrange": "Outer Wilds Orange",
"OWML_INSTALL_ERROR": "There was an error downloading OWML, please check your network connection and try again.",
"OWML_NO_PRERELEASE": "There is no prerelease for OWML available",
"OWML_PATH": "OWML Path",
Expand Down
3 changes: 3 additions & 0 deletions owmods_gui/frontend/src/assets/translations/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
"MissingDLL": "",
"MissingDep": "",
"NAME": "",
"NomaiBlue": "",
"NomaiYellow": "",
"NO_DOWNLOADS": "",
"NO_MODS": "",
"NO_MODS_FROM_FILTER": "",
Expand All @@ -88,6 +90,7 @@
"OPEN_README": "",
"OPEN_WEBSITE": "",
"OUTDATED": "",
"OuterWildsOrange": "",
"OWML_INSTALL_ERROR": "",
"OWML_NO_PRERELEASE": "",
"OWML_PATH": "",
Expand Down
24 changes: 24 additions & 0 deletions owmods_gui/frontend/src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,30 @@ const themeMap: Record<Theme, UserTheme> = {
secondary: {
main: "#e4b3f4"
}
},
OuterWildsOrange: {
primary: {
main: "#ff7D25"
},
secondary: {
main: "#17c0bb"
}
},
NomaiBlue: {
primary: {
main: "#8793ff"
},
secondary: {
main: "#999999"
}
},
NomaiYellow: {
primary: {
main: "#fff592"
},
secondary: {
main: "#996638"
}
}
};

Expand Down
Loading

0 comments on commit 8277eeb

Please sign in to comment.