mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-08-11 13:48:37 +02:00
🤖 format everything with pre-commit by stirlingbot (#4144)
Auto-generated by [create-pull-request][1] with **stirlingbot** [1]: https://github.com/peter-evans/create-pull-request Signed-off-by: stirlingbot[bot] <stirlingbot[bot]@users.noreply.github.com> Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com>
This commit is contained in:
parent
774b500159
commit
e6a77e83da
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