Skip to content

Commit 2be3cfc

Browse files
committed
dim theme
1 parent d286350 commit 2be3cfc

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

mod.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"Green",
7474
"Dark",
7575
"Light",
76+
"Dim",
7677
"Girlypop",
7778
"Aqua",
7879
"Geode"

src/Utils.hpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ namespace horrible {
5353
inline constexpr auto Green = "Green";
5454
inline constexpr auto Dark = "Dark";
5555
inline constexpr auto Light = "Light";
56+
inline constexpr auto Dim = "Dim";
5657
inline constexpr auto Girlypop = "Girlypop";
5758
inline constexpr auto Aqua = "Aqua";
5859
inline constexpr auto Geode = "Geode";
@@ -62,8 +63,9 @@ namespace horrible {
6263
inline const char* getBackgroundSprite(std::string_view theme) {
6364
if (theme == enums::Blue) return "GJ_square02.png";
6465
if (theme == enums::Green) return "GJ_square03.png";
65-
if (theme == enums::Dark) return "GJ_square05.png";
66+
if (theme == enums::Dark) return "geode.loader/GE_square02.png";
6667
if (theme == enums::Light) return "geode.loader/white-square.png";
68+
if (theme == enums::Dim) return "GJ_square05.png";
6769
if (theme == enums::Girlypop) return "GJ_square04.png";
6870
if (theme == enums::Aqua) return "geode.loader/GE_square03.png";
6971
if (theme == enums::Geode) return "geode.loader/GE_square01.png";
@@ -75,8 +77,9 @@ namespace horrible {
7577
inline geode::CircleBaseColor getCircleBaseColor(std::string_view theme) {
7678
if (theme == enums::Blue) return geode::CircleBaseColor::Blue;
7779
if (theme == enums::Green) return geode::CircleBaseColor::Green;
78-
if (theme == enums::Dark) return geode::CircleBaseColor::Gray;
80+
if (theme == enums::Dark) return geode::CircleBaseColor::DarkAqua;
7981
if (theme == enums::Light) return geode::CircleBaseColor::Gray;
82+
if (theme == enums::Dim) return geode::CircleBaseColor::Gray;
8083
if (theme == enums::Girlypop) return geode::CircleBaseColor::Pink;
8184
if (theme == enums::Aqua) return geode::CircleBaseColor::DarkAqua;
8285
if (theme == enums::Geode) return geode::CircleBaseColor::DarkPurple;
@@ -88,8 +91,9 @@ namespace horrible {
8891
inline const char* getButtonSquareSprite(std::string_view theme) {
8992
if (theme == enums::Blue) return "GJ_button_02.png";
9093
if (theme == enums::Green) return "GJ_button_01.png";
91-
if (theme == enums::Dark) return "GJ_button_05.png";
94+
if (theme == enums::Dark) return "geode.loader/GE_button_05.png";
9295
if (theme == enums::Light) return "GJ_button_04.png";
96+
if (theme == enums::Dim) return "GJ_button_05.png";
9397
if (theme == enums::Girlypop) return "GJ_button_03.png";
9498
if (theme == enums::Aqua) return "geode.loader/GE_button_05.png";
9599
if (theme == enums::Geode) return "geode.loader/GE_button_05.png";

0 commit comments

Comments
 (0)