Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various dark mode fixes #418

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
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
1 change: 0 additions & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env bun
import { $ } from 'bun'; // eslint-disable-line import/no-unresolved
import archiver from 'archiver';
import fs from 'node:fs';
Expand Down
26 changes: 26 additions & 0 deletions src/modules/native-dark-mode/styles/camp-trap.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,21 @@
color: var(--d-text);
}

.mh-dark .campPage-trap-baitLabel {
color: var(--d-text-muted);
}

.mh-dark .campPage-trap-baitName,
.mh-dark .campPage-trap-baitQuantity {
color: var(--d-text);
text-shadow: none;
}

.mh-dark .campPage-trap-baitDetails {
color: var(--d-text-muted);
text-shadow: none;
}

.mh-dark span.campPage-trap-baitQuantity,
.mh-dark .trapSelectorView__armedItemQuantity span,
.mh-dark .campPage-trap-armedItem .quantity span {
Expand Down Expand Up @@ -252,6 +261,18 @@
box-shadow: 2px 2px 3px -1px var(--d) inset;
}

.mh-dark .trapSelectorView__codexFilterGroup {
border-color: var(--d-border);
}

.mh-dark .trapSelectorView__codexFilterButton {
background-color: var(--d-bg);
}

.mh-dark .trapSelectorView__codexFilterButton.active {
border-color: var(--d-border);
}

.mh-dark .trapSelectorView__codexList .campPage-trap-itemBrowser-item-image::after {
box-shadow: none;
}
Expand Down Expand Up @@ -296,6 +317,11 @@
box-shadow: -1px 1px 3px var(--d-bg) inset;
}

.mh-dark .trapSelectorView__innerBlock {
background-color: var(--d-bg);
border-color: var(--d-border);
}

.mh-dark .mh-improved-cre-row:hover {
background-color: var(--d-bg);
}
Expand Down
17 changes: 17 additions & 0 deletions src/modules/native-dark-mode/styles/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,24 @@
background-color: var(--d);
}

.mh-dark .pageFrameView-column.left,
.mh-dark .pageFrameView-column.right {
background-color: var(--d-black);
background-image: none;
border-color: var(--d-border);
}

.mh-dark #mousehuntContainer.PageCamp {
background: var(--d);
box-shadow: none;
}

body.halloween .pageFrameView-column,
body.great_winter_hunt .pageFrameView-column,
body.lunar_new_year .pageFrameView-column,
body.birthday .pageFrameView-column,
body.valentines .pageFrameView-column,
body.spring_hunt .pageFrameView-column,
body.kings_giveaway .pageFrameView-column {
filter: brightness(50%);
}