Browse Source
fix(theming): previews need the same file extension as their originals
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/54554/head
Ferdinand Thiessen
12 months ago
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
6 changed files with
3 additions and
3 deletions
-
apps/theming/REUSE.toml
-
BIN
apps/theming/img/background/preview/jenna-kim-the-globe.jpg
-
BIN
apps/theming/img/background/preview/jenna-kim-the-globe.webp
-
BIN
apps/theming/img/background/preview/jo-myoung-hee-fluid.jpg
-
BIN
apps/theming/img/background/preview/jo-myoung-hee-fluid.webp
-
cypress/e2e/theming/themingUtils.ts
|
|
|
@ -22,13 +22,13 @@ SPDX-FileCopyrightText = "2022 Nextcloud GmbH and Nextcloud contributors" |
|
|
|
SPDX-License-Identifier = "AGPL-3.0-or-later" |
|
|
|
|
|
|
|
[[annotations]] |
|
|
|
path = ["img/background/jo-myoung-hee-fluid.webp", "img/background/jo-myoung-hee-fluid-dark.webp", "img/background/preview/jo-myoung-hee-fluid.jpg"] |
|
|
|
path = ["img/background/jo-myoung-hee-fluid.webp", "img/background/jo-myoung-hee-fluid-dark.webp", "img/background/preview/jo-myoung-hee-fluid.webp"] |
|
|
|
precedence = "aggregate" |
|
|
|
SPDX-FileCopyrightText = "2025 Nextcloud GmbH" |
|
|
|
SPDX-License-Identifier = "CC-BY-SA-4.0" |
|
|
|
|
|
|
|
[[annotations]] |
|
|
|
path = ["img/background/jenna-kim-the-globe.webp", "img/background/jenna-kim-the-globe-dark.webp", "img/background/preview/jenna-kim-the-globe.jpg"] |
|
|
|
path = ["img/background/jenna-kim-the-globe.webp", "img/background/jenna-kim-the-globe-dark.webp", "img/background/preview/jenna-kim-the-globe.webp"] |
|
|
|
precedence = "aggregate" |
|
|
|
SPDX-FileCopyrightText = "2024 Nextcloud GmbH" |
|
|
|
SPDX-License-Identifier = "CC-BY-SA-4.0" |
|
|
|
|
Width: 352
|
Height: 198
|
Size: 8.3 KiB
|
Width: 352
|
Height: 198
|
Size: 9.1 KiB
|
|
|
|
@ -5,7 +5,7 @@ |
|
|
|
import { colord } from 'colord' |
|
|
|
|
|
|
|
export const defaultPrimary = '#00679e' |
|
|
|
export const defaultBackground = 'jenna-kim-the-globe.webp' |
|
|
|
export const defaultBackground = 'jo-myoung-hee-fluid.webp' |
|
|
|
|
|
|
|
/** |
|
|
|
* Check if a CSS variable is set to a specific color |
|
|
|
|