mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-03 17:52:30 +02:00
📁 pre-commit
Signed-off-by: stirlingbot[bot] <stirlingbot[bot]@users.noreply.github.com>
This commit is contained in:
parent
774b500159
commit
e0d5d1978f
2
.github/labels.yml
vendored
2
.github/labels.yml
vendored
@ -182,4 +182,4 @@
|
|||||||
description: "Pull request has been deployed to a test environment"
|
description: "Pull request has been deployed to a test environment"
|
||||||
- name: "codex"
|
- name: "codex"
|
||||||
color: "ededed"
|
color: "ededed"
|
||||||
description: "chatgpt AI generated code"
|
description: "chatgpt AI generated code"
|
||||||
|
@ -321,7 +321,7 @@ async function showUpdateModal() {
|
|||||||
const modalBody = document.getElementById('updateModalBody');
|
const modalBody = document.getElementById('updateModalBody');
|
||||||
if (fullUpdateInfo && fullUpdateInfo.new_versions) {
|
if (fullUpdateInfo && fullUpdateInfo.new_versions) {
|
||||||
const storedMode = localStorage.getItem("dark-mode");
|
const storedMode = localStorage.getItem("dark-mode");
|
||||||
const isDarkMode = storedMode === "on" ||
|
const isDarkMode = storedMode === "on" ||
|
||||||
(storedMode === null && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches);
|
(storedMode === null && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches);
|
||||||
const darkClasses = isDarkMode ? {
|
const darkClasses = isDarkMode ? {
|
||||||
accordionItem: 'bg-dark border-secondary text-light',
|
accordionItem: 'bg-dark border-secondary text-light',
|
||||||
|
Loading…
Reference in New Issue
Block a user