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
parent
commit
591601d000
No known key found for this signature in database GPG Key ID: 45FAE7268762B400
  1. 4
      apps/theming/REUSE.toml
  2. BIN
      apps/theming/img/background/preview/jenna-kim-the-globe.jpg
  3. BIN
      apps/theming/img/background/preview/jenna-kim-the-globe.webp
  4. BIN
      apps/theming/img/background/preview/jo-myoung-hee-fluid.jpg
  5. BIN
      apps/theming/img/background/preview/jo-myoung-hee-fluid.webp
  6. 2
      cypress/e2e/theming/themingUtils.ts

4
apps/theming/REUSE.toml

@ -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"

BIN
apps/theming/img/background/preview/jenna-kim-the-globe.jpg

Before

Width: 352  |  Height: 198  |  Size: 8.3 KiB

BIN
apps/theming/img/background/preview/jenna-kim-the-globe.webp

BIN
apps/theming/img/background/preview/jo-myoung-hee-fluid.jpg

Before

Width: 352  |  Height: 198  |  Size: 9.1 KiB

BIN
apps/theming/img/background/preview/jo-myoung-hee-fluid.webp

2
cypress/e2e/theming/themingUtils.ts

@ -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

Loading…
Cancel
Save