refactor: standardize quotation marks in pnpm-lock.yaml and improve code formatting across various components; enhance readability and maintain consistency in code style
This commit is contained in:
@@ -12,7 +12,7 @@ export function BackgroundProvider() {
|
||||
const applyBackground = () => {
|
||||
try {
|
||||
const pageBackground = document.querySelector(
|
||||
".page-background"
|
||||
".page-background",
|
||||
) as HTMLElement;
|
||||
if (!pageBackground) return;
|
||||
|
||||
@@ -30,7 +30,7 @@ export function BackgroundProvider() {
|
||||
"bg-gradient-orange",
|
||||
"bg-solid-light",
|
||||
"bg-solid-dark",
|
||||
"bg-custom-image"
|
||||
"bg-custom-image",
|
||||
);
|
||||
|
||||
const root = document.documentElement;
|
||||
@@ -39,7 +39,7 @@ export function BackgroundProvider() {
|
||||
pageBackground.classList.add("bg-custom-image");
|
||||
root.style.setProperty(
|
||||
"--custom-background-image",
|
||||
`url(${settings.customImageUrl})`
|
||||
`url(${settings.customImageUrl})`,
|
||||
);
|
||||
} else {
|
||||
pageBackground.classList.add(`bg-${settings.type || "default"}`);
|
||||
|
||||
Reference in New Issue
Block a user