Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.24)
project(metalsharp VERSION 0.56.8 LANGUAGES C CXX OBJC OBJCXX)
project(metalsharp VERSION 0.57.0 LANGUAGES C CXX OBJC OBJCXX)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down
4 changes: 2 additions & 2 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metalsharp",
"version": "0.56.8",
"version": "0.57.0",
"description": "MetalSharp — D3D→Metal translation layer frontend",
"author": "MetalSharp",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion app/src-rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/src-rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "metalsharp-backend"
version = "0.56.8"
version = "0.57.0"
edition = "2021"

[dependencies]
Expand Down
Binary file added app/src/renderer/assets/dragonfruit-flesh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/renderer/assets/forest-bark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/renderer/assets/orange-peel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/renderer/assets/skeleton-bones.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 64 additions & 7 deletions app/src/renderer/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,26 @@ textarea {
:root[data-theme="forest"] .glass-header {
background-color: rgba(13, 21, 16, 0.32);
}
:root[data-theme="forest"] .bottle-button {
color: #ffffff;
border-color: rgba(95, 67, 38, 0.65);
background: rgba(95, 67, 38, 0.22);
}
:root[data-theme="forest"] .game-card .badge-ok,
:root[data-theme="forest"] .game-card .badge-warn,
:root[data-theme="forest"] .route-chip {
background: rgba(95, 67, 38, 0.3);
color: #ffffff;
}
:root[data-theme="orange-peel"] .glass-header {
background-color: rgba(18, 11, 8, 0.32);
}
:root[data-theme="orange-peel"] .route-chip,
:root[data-theme="orange-peel"] .game-card .badge-ok,
:root[data-theme="orange-peel"] .game-card .badge-warn {
background: #ffffff;
color: #000000;
}
:root[data-theme="dragonfruit"] .glass-header {
background-color: rgba(26, 14, 24, 0.32);
}
Expand All @@ -138,23 +155,49 @@ textarea {
:root[data-theme="skeleton"] .view-body-surface {
background:
radial-gradient(circle at 24% 16%, rgba(232, 226, 213, 0.05), transparent 36%),
radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.04), transparent 30%), var(--bg-deep);
radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.04), transparent 30%),
linear-gradient(rgba(19, 19, 19, 0.45), rgba(19, 19, 19, 0.45)), url("../assets/skeleton-bones.png"), var(--bg-deep);
background-size:
auto,
auto,
auto,
512px 512px;
}
:root[data-theme="forest"] .view-body-surface {
background:
radial-gradient(circle at 24% 16%, rgba(92, 184, 112, 0.07), transparent 34%),
radial-gradient(circle at 84% 10%, rgba(168, 122, 74, 0.05), transparent 30%), var(--bg-deep);
radial-gradient(circle at 84% 10%, rgba(168, 122, 74, 0.05), transparent 30%),
linear-gradient(rgba(13, 21, 16, 0.55), rgba(13, 21, 16, 0.55)), url("../assets/forest-bark.png"), var(--bg-deep);
background-size:
auto,
auto,
auto,
512px 512px;
}
:root[data-theme="orange-peel"] .view-body-surface {
background:
linear-gradient(118deg, rgba(255, 122, 26, 0.03), transparent 38%, rgba(255, 160, 77, 0.024) 74%, transparent),
radial-gradient(circle at 24% 16%, rgba(255, 122, 26, 0.08), transparent 34%), var(--bg-deep);
radial-gradient(circle at 24% 16%, rgba(237, 164, 101, 0.08), transparent 34%),
radial-gradient(circle at 84% 10%, rgba(255, 184, 77, 0.05), transparent 28%),
linear-gradient(rgba(18, 11, 8, 0.45), rgba(18, 11, 8, 0.45)), url("../assets/orange-peel.png"), var(--bg-deep);
background-size:
auto,
auto,
auto,
512px 512px;
}
:root[data-theme="dragonfruit"] .view-body-surface {
background:
linear-gradient(118deg, rgba(255, 46, 136, 0.03), transparent 38%, rgba(168, 106, 224, 0.03) 74%, transparent),
radial-gradient(circle at 24% 16%, rgba(255, 46, 136, 0.1), transparent 34%),
radial-gradient(circle at 84% 10%, rgba(168, 106, 224, 0.08), transparent 30%), var(--bg-deep);
linear-gradient(118deg, rgba(232, 151, 184, 0.04), transparent 38%, rgba(197, 163, 222, 0.04) 74%, transparent),
radial-gradient(circle at 24% 16%, rgba(232, 151, 184, 0.1), transparent 34%),
radial-gradient(circle at 84% 10%, rgba(197, 163, 222, 0.08), transparent 30%),
linear-gradient(rgba(26, 14, 24, 0.45), rgba(26, 14, 24, 0.45)), url("../assets/dragonfruit-flesh.png"),
var(--bg-deep);
background-size:
auto,
auto,
auto,
auto,
512px 512px;
}

.hidden {
Expand Down Expand Up @@ -220,6 +263,13 @@ textarea {
.btn-play:hover {
background: var(--play-color-hover);
}
:root[data-theme="forest"] .btn-play {
background: #5f4326;
border-color: #5f4326;
}
:root[data-theme="forest"] .btn-play:hover {
background: #4a3319;
}

.btn-stop {
background: var(--error);
Expand All @@ -238,6 +288,13 @@ textarea {
.btn-install:hover {
background: var(--play-color-hover);
}
:root[data-theme="forest"] .btn-install {
background: #5f4326;
border-color: #5f4326;
}
:root[data-theme="forest"] .btn-install:hover {
background: #4a3319;
}
:root[data-theme="light"] .btn-install {
background: var(--play-color);
border-color: var(--play-color);
Expand Down
82 changes: 41 additions & 41 deletions app/src/renderer/styles/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,14 @@
--game-card-text: var(--text-primary);
--game-card-dim: var(--text-dim);
--bg-input: #101a12;
--accent: #5cb870;
--accent-hover: #7ed494;
--accent-dim: #3d8452;
--accent-glow: rgba(92, 184, 112, 0.2);
--card-glow: rgba(92, 184, 112, 0.1);
--card-installed-glow-color: #6fce88;
--success: #6fce88;
--success-bg: rgba(111, 206, 136, 0.14);
--accent: #3f7d4f;
--accent-hover: #5cb870;
--accent-dim: #2c5a3a;
--accent-glow: rgba(63, 125, 79, 0.22);
--card-glow: rgba(63, 125, 79, 0.1);
--card-installed-glow-color: #4d9e62;
--success: #4d9e62;
--success-bg: rgba(77, 158, 98, 0.14);
--play-color: #4d9e62;
--play-color-hover: #35704a;
--error: #d66a5a;
Expand All @@ -206,11 +206,11 @@
--border: rgba(140, 190, 150, 0.12);
--border-strong: rgba(140, 190, 150, 0.2);
--sidebar-bg: rgba(13, 21, 16, 0.58);
--sidebar-hover: rgba(92, 184, 112, 0.12);
--sidebar-active: rgba(92, 184, 112, 0.18);
--sidebar-hover: rgba(63, 125, 79, 0.12);
--sidebar-active: rgba(63, 125, 79, 0.18);
--sidebar-text: #dce8dc;
--sidebar-text-active: var(--sidebar-text);
--sidebar-text-hover: #7ed494;
--sidebar-text-hover: #5cb870;
--sidebar-logo-color: #dce8dc;
--sidebar-logo-accent: #a87a4a;
--page-header-bg: linear-gradient(90deg, #121c15 0%, #1a2e1c 30%, #213a22 60%, #1a2e1c 100%);
Expand All @@ -226,16 +226,16 @@
--game-card-text: var(--text-primary);
--game-card-dim: var(--text-dim);
--bg-input: #170e0a;
--accent: #ff7a1a;
--accent-hover: #ffa04d;
--accent-dim: #b05a14;
--accent-glow: rgba(255, 122, 26, 0.2);
--card-glow: rgba(255, 122, 26, 0.12);
--card-installed-glow-color: #ff8a2e;
--accent: #eda465;
--accent-hover: #f3bd8a;
--accent-dim: #b57f52;
--accent-glow: rgba(237, 164, 101, 0.2);
--card-glow: rgba(237, 164, 101, 0.12);
--card-installed-glow-color: #eda465;
--success: #7cbf6a;
--success-bg: rgba(124, 191, 106, 0.14);
--play-color: #d97a2e;
--play-color-hover: #a85a18;
--play-color: #d99e66;
--play-color-hover: #b5804e;
--error: #e0604f;
--error-bg: rgba(224, 96, 79, 0.13);
--warn: #ffb84d;
Expand All @@ -247,13 +247,13 @@
--border: rgba(255, 170, 120, 0.12);
--border-strong: rgba(255, 170, 120, 0.2);
--sidebar-bg: rgba(18, 11, 8, 0.58);
--sidebar-hover: rgba(255, 122, 26, 0.12);
--sidebar-active: rgba(255, 122, 26, 0.18);
--sidebar-hover: rgba(237, 164, 101, 0.12);
--sidebar-active: rgba(237, 164, 101, 0.18);
--sidebar-text: #f2e4d8;
--sidebar-text-active: var(--sidebar-text);
--sidebar-text-hover: #ffa04d;
--sidebar-logo-color: #ff7a1a;
--sidebar-logo-accent: #ffa04d;
--sidebar-text-hover: #f3bd8a;
--sidebar-logo-color: #eda465;
--sidebar-logo-accent: #f3bd8a;
--page-header-bg: linear-gradient(90deg, #1b110c 0%, #33190c 30%, #47220f 60%, #33190c 100%);
}

Expand All @@ -267,16 +267,16 @@
--game-card-text: var(--text-primary);
--game-card-dim: var(--text-dim);
--bg-input: #200f1e;
--accent: #ff2e88;
--accent-hover: #ff66aa;
--accent-dim: #b81e62;
--accent-glow: rgba(255, 46, 136, 0.22);
--card-glow: rgba(255, 46, 136, 0.14);
--accent: #e897b8;
--accent-hover: #f2bcd0;
--accent-dim: #b06e8c;
--accent-glow: rgba(232, 151, 184, 0.2);
--card-glow: rgba(232, 151, 184, 0.13);
--card-installed-glow-color: #9be34a;
--success: #9be34a;
--success-bg: rgba(155, 227, 74, 0.12);
--play-color: #ff2e88;
--play-color-hover: #ff66aa;
--play-color: #e897b8;
--play-color-hover: #f2bcd0;
--error: #ff5c5c;
--error-bg: rgba(255, 92, 92, 0.13);
--warn: #ffc44d;
Expand All @@ -285,18 +285,18 @@
--text-secondary: #c49ab8;
--text-dim: #94708c;
--text-bright: #ffffff;
--border: rgba(255, 120, 180, 0.14);
--border-strong: rgba(255, 120, 180, 0.24);
--border: rgba(232, 160, 195, 0.14);
--border-strong: rgba(232, 160, 195, 0.24);
--sidebar-bg: rgba(26, 14, 24, 0.58);
--sidebar-hover: rgba(255, 46, 136, 0.1);
--sidebar-active: rgba(255, 46, 136, 0.16);
--sidebar-hover: rgba(232, 151, 184, 0.1);
--sidebar-active: rgba(232, 151, 184, 0.16);
--sidebar-text: #f8e4f0;
--sidebar-text-active: var(--sidebar-text);
--sidebar-text-hover: #ff66aa;
--sidebar-logo-color: #ff2e88;
--sidebar-logo-accent: #a86ae0;
--sidebar-text-hover: #f2bcd0;
--sidebar-logo-color: #e897b8;
--sidebar-logo-accent: #c5a3de;
--page-header-bg:
radial-gradient(circle at 14% 14%, rgba(255, 46, 136, 0.18), transparent 34%),
radial-gradient(circle at 86% 18%, rgba(168, 106, 224, 0.16), transparent 32%),
linear-gradient(100deg, #22082a 0%, #3a1038 36%, #52123f 66%, #2a0e30 100%);
radial-gradient(circle at 14% 14%, rgba(232, 151, 184, 0.16), transparent 34%),
radial-gradient(circle at 86% 18%, rgba(197, 163, 222, 0.15), transparent 32%),
linear-gradient(100deg, #241126 0%, #371432 36%, #4a173a 66%, #2a112e 100%);
}
Loading
Loading