Browse Source

feat(theming): add new default background for Nextcloud 32

With Nextcloud 32 we ship a new default background: "Fluid" by Jo Myoung Hee.
Copyright by Nextcloud GmbH under the CC-BY-SA-4.0

- added the background compressed as WebP (90% quality)
- set as new default
- added license reference and move theming related reuse config

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/54554/head
Ferdinand Thiessen 2 months ago
parent
commit
fc5dad8343
No known key found for this signature in database GPG Key ID: 45FAE7268762B400
  1. 130
      REUSE.toml
  2. 5
      apps/theming/README.md
  3. 148
      apps/theming/REUSE.toml
  4. 2
      apps/theming/css/default.css
  5. BIN
      apps/theming/img/background/jo-myoung-hee-fluid-dark.webp
  6. BIN
      apps/theming/img/background/jo-myoung-hee-fluid.webp
  7. BIN
      apps/theming/img/background/preview/jo-myoung-hee-fluid.jpg
  8. 12
      apps/theming/lib/Service/BackgroundService.php

130
REUSE.toml

@ -202,7 +202,7 @@ SPDX-FileCopyrightText = "2016 ownCloud, Inc., 2016-2024 Nextcloud GmbH and Next
SPDX-License-Identifier = "AGPL-3.0-only"
[[annotations]]
path = ["tests/data/testapp.0.8.tar.gz", "tests/data/testapp.tar.gz", "tests/data/testapp1.tar.gz", "apps/theming/tests/data/favicon-original.ico", "apps/theming/tests/data/touch-comments.png", "apps/theming/tests/data/touch-core-red.png", "apps/theming/tests/data/touch-original-png.png", "apps/theming/tests/data/touch-original.png", "apps/theming/tests/data/touch-testing-red.png", "core/img/filetypes/package-x-generic.svg"]
path = ["tests/data/testapp.0.8.tar.gz", "tests/data/testapp.tar.gz", "tests/data/testapp1.tar.gz", "core/img/filetypes/package-x-generic.svg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2016 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "AGPL-3.0-or-later"
@ -232,7 +232,7 @@ SPDX-FileCopyrightText = "2021 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "AGPL-3.0-or-later"
[[annotations]]
path = ["apps/theming/img/dark-highcontrast.jpg", "apps/theming/img/dark.jpg", "apps/theming/img/default-source.svg", "apps/theming/img/default.jpg", "apps/theming/img/light-highcontrast.jpg", "apps/theming/img/light.jpg", "apps/theming/img/opendyslexic.jpg", "build/stubs/ftp.php", "tests/data/integritycheck/mimetypeListModified/coresignature.json", "apps/settings/tests/UserMigration/assets/account-complex-config.json", "apps/settings/tests/UserMigration/assets/account-complex.json", "apps/settings/tests/UserMigration/assets/account-config.json", "apps/settings/tests/UserMigration/assets/account.json"]
path = ["build/stubs/ftp.php", "tests/data/integritycheck/mimetypeListModified/coresignature.json", "apps/settings/tests/UserMigration/assets/account-complex-config.json", "apps/settings/tests/UserMigration/assets/account-complex.json", "apps/settings/tests/UserMigration/assets/account-config.json", "apps/settings/tests/UserMigration/assets/account.json"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2022 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "AGPL-3.0-or-later"
@ -387,126 +387,6 @@ precedence = "aggregate"
SPDX-FileCopyrightText = "2019 Tom Gainor <https://unsplash.com/@its_tgain> <https://unsplash.com/photos/mountain-cliff-under-starry-night-KidY3t8O4PE>"
SPDX-License-Identifier = "LicenseRef-Unsplash"
[[annotations]]
path = ["apps/theming/img/background/jenna-kim-the-globe.webp", "apps/theming/img/background/jenna-kim-the-globe-dark.webp", "apps/theming/img/background/preview/jenna-kim-the-globe.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2024 Nextcloud GmbH"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["apps/theming/img/background/anatoly-mikhaltsov-butterfly-wing-scale.jpg", "apps/theming/img/background/preview/anatoly-mikhaltsov-butterfly-wing-scale.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 Anatoly Mikhaltsov <https://commons.wikimedia.org/wiki/File:%D0%A7%D0%B5%D1%88%D1%83%D0%B9%D0%BA%D0%B8_%D0%BA%D1%80%D1%8B%D0%BB%D0%B0_%D0%B1%D0%B0%D0%B1%D0%BE%D1%87%D0%BA%D0%B8.jpg>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["apps/theming/img/background/bernard-spragg-new-zealand-fern.jpg", "apps/theming/img/background/preview/bernard-spragg-new-zealand-fern.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2013 Bernard Spragg <https://commons.wikimedia.org/wiki/File:NZ_Fern.(Blechnum_chambersii)_(11263534936).jpg>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["apps/theming/img/background/bernie-cetonia-aurata-take-off-composition.jpg", "apps/theming/img/background/preview/bernie-cetonia-aurata-take-off-composition.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "Bernie Kohl <https://commons.wikimedia.org/wiki/File:Cetonia_aurata_take_off_composition_05172009.jpg>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["apps/theming/img/background/dejan-krsmanovic-ribbed-red-metal.jpg", "apps/theming/img/background/preview/dejan-krsmanovic-ribbed-red-metal.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2018 Dejan Krsmanovic <https://www.flickr.com/photos/dejankrsmanovic/42971456774/>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = ["apps/theming/img/background/eduardo-neves-pedra-azul.jpg", "apps/theming/img/background/preview/eduardo-neves-pedra-azul.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2017 Eduardo Menezes dos Santos Neves <https://commons.wikimedia.org/wiki/File:Pedra_Azul_Milky_Way.jpg>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["apps/theming/img/background/european-space-agency-barents-bloom.jpg", "apps/theming/img/background/preview/european-space-agency-barents-bloom.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2016 Contains modified Copernicus Sentinel data (2016), processed by ESA <https://www.esa.int/ESA_Multimedia/Images/2016/08/Barents_bloom>"
SPDX-License-Identifier = "CC-BY-SA-3.0-IGO"
[[annotations]]
path = ["apps/theming/img/background/hannah-maclean-soft-floral.jpg", "apps/theming/img/background/preview/hannah-maclean-soft-floral.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "Hannah MacLean <https://stocksnap.io/photo/soft-floral-XOYWCCW5PA>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["apps/theming/img/background/hannes-fritz-flippity-floppity.jpg", "apps/theming/img/background/preview/hannes-fritz-flippity-floppity.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 Hannes Fritz <http://hannes.photos/flippity-floppity>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["apps/theming/img/background/hannes-fritz-roulette.jpg", "apps/theming/img/background/preview/hannes-fritz-roulette.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 Hannes Fritz <http://hannes.photos/roulette>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["apps/theming/img/background/hannes-fritz-sea-spray.jpg", "apps/theming/img/background/preview/hannes-fritz-sea-spray.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 Hannes Fritz <http://hannes.photos/sea-spray>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["apps/theming/img/background/kamil-porembinski-clouds.jpg", "apps/theming/img/background/preview/kamil-porembinski-clouds.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2013 Kamil Porembiński <https://www.flickr.com/photos/paszczak000>"
SPDX-License-Identifier = "CC-BY-SA-2.0"
[[annotations]]
path = ["apps/theming/img/background/lali-masriera-yellow-bricks.jpg", "apps/theming/img/background/preview/lali-masriera-yellow-bricks.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2009 Lali Masriera <https://www.flickr.com/photos/visualpanic/3982464447>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = ["apps/theming/img/background/nasa-waxing-crescent-moon.jpg", "apps/theming/img/background/preview/nasa-waxing-crescent-moon.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2020 Nasa <https://www.nasa.gov/image-article/waxing-crescent-moon-2/>"
SPDX-License-Identifier = "LicenseRef-Nasa"
[[annotations]]
path = ["apps/theming/img/background/rawpixel-pink-tapioca-bubbles.jpg", "apps/theming/img/background/preview/rawpixel-pink-tapioca-bubbles.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2018 Rawpixel Ltd <https://www.flickr.com/photos/byrawpixel/27665140298/in/photostream/>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = ["apps/theming/img/background/stefanus-martanto-setyo-husodo-underwater-ocean.jpg", "apps/theming/img/background/preview/stefanus-martanto-setyo-husodo-underwater-ocean.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "Stefanus Martanto Setyo Husodo <https://stocksnap.io/photo/underwater-ocean-TJA9LBH4WS>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["apps/theming/img/background/ted-moravec-morning-fog.jpg", "apps/theming/img/background/preview/ted-moravec-morning-fog.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2022 Ted Moravec <https://flickr.com/photos/tmoravec/52392410261>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["apps/theming/img/background/tommy-chau-already.jpg", "apps/theming/img/background/preview/tommy-chau-already.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 tommy@chau <https://www.flickr.com/photos/90975693@N05/16910999368>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = ["apps/theming/img/background/tommy-chau-lion-rock-hill.jpg", "apps/theming/img/background/preview/tommy-chau-lion-rock-hill.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 tommy@chau <https://www.flickr.com/photos/90975693@N05/17136440246>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = ["apps/theming/img/background/zoltan-voros-rhythm-and-blues.jpg", "apps/theming/img/background/preview/zoltan-voros-rhythm-and-blues.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2021 Zoltán Vörös <https://flickr.com/photos/v923z/51634409289/>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = "apps/settings/tests/UserMigration/assets/account-complex.jpg"
precedence = "aggregate"
@ -519,12 +399,6 @@ precedence = "aggregate"
SPDX-FileCopyrightText = "2019 Fabian Wiktor <https://www.pexels.com/photo/green-and-brown-island-on-blue-sea-under-blue-sky-4011450/>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["apps/theming/fonts/OpenDyslexic-Bold.otf", "apps/theming/fonts/OpenDyslexic-Regular.otf"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2012-2019 Abbie Gonzalez <https://abbiecod.es|support@abbiecod.es>, with Reserved Font Name OpenDyslexic."
SPDX-License-Identifier = "OFL-1.1-RFN"
[[annotations]]
path = ["openapi.json", ".envrc", "flake.nix", "flake.lock"]
precedence = "aggregate"

5
apps/theming/README.md

@ -23,13 +23,14 @@ A reference to why it was very difficult to actually find good background pictur
- All backgrounds are sized to maximum 3840px width (4K resolution).
- To ensure quick loading times, the image needs to be compressed, ideally to around 1 MB or less. E.g. via 90–95% quality in GIMP export. We could also explore using newer formats.
- Previews are sized to 352px width (min height 192px), which is double of the current picker grid size so it looks nice on high-res displays. Quality is also set to around 90% at export.
- Newer background images are compressed using WebP and a quality of 90 (`cwebp -q 90 -o ... ...`)
## Background picture credits
In `img/background/`:
- Default background: [Globe (Jenna Kim - Nextcloud GmbH, C-BY-SA-4.0)](https://nextcloud.com/trademarks/) - orginal 4k
- Default background: [Fluid (Jo Myoung Hee - Nextcloud GmbH, CC-BY-SA-4.0)](https://nextcloud.com/trademarks/) - orginal 4k
- [Globe (Jenna Kim - Nextcloud GmbH, CC-BY-SA-4.0)](https://nextcloud.com/trademarks/) - orginal 4k
- [Clouds (Kamil Porembiński, CC BY-SA)](https://www.flickr.com/photos/paszczak000/8715851521/) – original 4k, color modified and sky color changed to Nextcloud blue.
- [Pedra azul milky way (Eduardo Neves, CC BY-SA)](https://commons.wikimedia.org/wiki/File:Pedra_Azul_Milky_Way.jpg) – original 5k.
- [Soft floral (Hannah MacLean, CC0)](https://stocksnap.io/photo/soft-floral-XOYWCCW5PA) – original 5.5k.

148
apps/theming/REUSE.toml

@ -0,0 +1,148 @@
version = 1
SPDX-PackageName = "nextcloud-theming"
SPDX-PackageSupplier = "Nextcloud <info@nextcloud.com>"
SPDX-PackageDownloadLocation = "https://github.com/nextcloud/server"
[[annotations]]
path = ["tests/data/favicon-original.ico", "tests/data/touch-comments.png", "tests/data/touch-core-red.png", "tests/data/touch-original-png.png", "tests/data/touch-original.png", "tests/data/touch-testing-red.png"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2016 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "AGPL-3.0-or-later"
[[annotations]]
path = ["fonts/OpenDyslexic-Bold.otf", "fonts/OpenDyslexic-Regular.otf"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2012-2019 Abbie Gonzalez <https://abbiecod.es|support@abbiecod.es>, with Reserved Font Name OpenDyslexic."
SPDX-License-Identifier = "OFL-1.1-RFN"
[[annotations]]
path = ["img/dark-highcontrast.jpg", "img/dark.jpg", "img/default-source.svg", "img/default.jpg", "img/light-highcontrast.jpg", "img/light.jpg", "img/opendyslexic.jpg"]
precedence = "aggregate"
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"]
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"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2024 Nextcloud GmbH"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["img/background/anatoly-mikhaltsov-butterfly-wing-scale.jpg", "img/background/preview/anatoly-mikhaltsov-butterfly-wing-scale.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 Anatoly Mikhaltsov <https://commons.wikimedia.org/wiki/File:%D0%A7%D0%B5%D1%88%D1%83%D0%B9%D0%BA%D0%B8_%D0%BA%D1%80%D1%8B%D0%BB%D0%B0_%D0%B1%D0%B0%D0%B1%D0%BE%D1%87%D0%BA%D0%B8.jpg>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["img/background/bernard-spragg-new-zealand-fern.jpg", "img/background/preview/bernard-spragg-new-zealand-fern.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2013 Bernard Spragg <https://commons.wikimedia.org/wiki/File:NZ_Fern.(Blechnum_chambersii)_(11263534936).jpg>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["img/background/bernie-cetonia-aurata-take-off-composition.jpg", "img/background/preview/bernie-cetonia-aurata-take-off-composition.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "Bernie Kohl <https://commons.wikimedia.org/wiki/File:Cetonia_aurata_take_off_composition_05172009.jpg>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["img/background/dejan-krsmanovic-ribbed-red-metal.jpg", "img/background/preview/dejan-krsmanovic-ribbed-red-metal.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2018 Dejan Krsmanovic <https://www.flickr.com/photos/dejankrsmanovic/42971456774/>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = ["img/background/eduardo-neves-pedra-azul.jpg", "img/background/preview/eduardo-neves-pedra-azul.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2017 Eduardo Menezes dos Santos Neves <https://commons.wikimedia.org/wiki/File:Pedra_Azul_Milky_Way.jpg>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["img/background/european-space-agency-barents-bloom.jpg", "img/background/preview/european-space-agency-barents-bloom.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2016 Contains modified Copernicus Sentinel data (2016), processed by ESA <https://www.esa.int/ESA_Multimedia/Images/2016/08/Barents_bloom>"
SPDX-License-Identifier = "CC-BY-SA-3.0-IGO"
[[annotations]]
path = ["img/background/hannah-maclean-soft-floral.jpg", "img/background/preview/hannah-maclean-soft-floral.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "Hannah MacLean <https://stocksnap.io/photo/soft-floral-XOYWCCW5PA>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["img/background/hannes-fritz-flippity-floppity.jpg", "img/background/preview/hannes-fritz-flippity-floppity.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 Hannes Fritz <http://hannes.photos/flippity-floppity>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["img/background/hannes-fritz-roulette.jpg", "img/background/preview/hannes-fritz-roulette.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 Hannes Fritz <http://hannes.photos/roulette>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["img/background/hannes-fritz-sea-spray.jpg", "img/background/preview/hannes-fritz-sea-spray.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 Hannes Fritz <http://hannes.photos/sea-spray>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
[[annotations]]
path = ["img/background/kamil-porembinski-clouds.jpg", "img/background/preview/kamil-porembinski-clouds.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2013 Kamil Porembiński <https://www.flickr.com/photos/paszczak000>"
SPDX-License-Identifier = "CC-BY-SA-2.0"
[[annotations]]
path = ["img/background/lali-masriera-yellow-bricks.jpg", "img/background/preview/lali-masriera-yellow-bricks.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2009 Lali Masriera <https://www.flickr.com/photos/visualpanic/3982464447>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = ["img/background/nasa-waxing-crescent-moon.jpg", "img/background/preview/nasa-waxing-crescent-moon.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2020 Nasa <https://www.nasa.gov/image-article/waxing-crescent-moon-2/>"
SPDX-License-Identifier = "LicenseRef-Nasa"
[[annotations]]
path = ["img/background/rawpixel-pink-tapioca-bubbles.jpg", "img/background/preview/rawpixel-pink-tapioca-bubbles.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2018 Rawpixel Ltd <https://www.flickr.com/photos/byrawpixel/27665140298/in/photostream/>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = ["img/background/stefanus-martanto-setyo-husodo-underwater-ocean.jpg", "img/background/preview/stefanus-martanto-setyo-husodo-underwater-ocean.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "Stefanus Martanto Setyo Husodo <https://stocksnap.io/photo/underwater-ocean-TJA9LBH4WS>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["img/background/ted-moravec-morning-fog.jpg", "img/background/preview/ted-moravec-morning-fog.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2022 Ted Moravec <https://flickr.com/photos/tmoravec/52392410261>"
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["img/background/tommy-chau-already.jpg", "img/background/preview/tommy-chau-already.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 tommy@chau <https://www.flickr.com/photos/90975693@N05/16910999368>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = ["img/background/tommy-chau-lion-rock-hill.jpg", "img/background/preview/tommy-chau-lion-rock-hill.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2015 tommy@chau <https://www.flickr.com/photos/90975693@N05/17136440246>"
SPDX-License-Identifier = "CC-BY-2.0"
[[annotations]]
path = ["img/background/zoltan-voros-rhythm-and-blues.jpg", "img/background/preview/zoltan-voros-rhythm-and-blues.jpg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2021 Zoltán Vörös <https://flickr.com/photos/v923z/51634409289/>"
SPDX-License-Identifier = "CC-BY-2.0"

2
apps/theming/css/default.css

@ -121,5 +121,5 @@
--gradient-primary-background: linear-gradient(40deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
--color-background-plain: #00679e;
--color-background-plain-text: #ffffff;
--image-background: url('/apps/theming/img/background/jenna-kim-the-globe.webp');
--image-background: url('/apps/theming/img/background/jo-myoung-hee-fluid.webp');
}

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

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

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

After

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

12
apps/theming/lib/Service/BackgroundService.php

@ -46,7 +46,7 @@ class BackgroundService {
*/
public const BACKGROUND_COLOR = 'color';
public const DEFAULT_BACKGROUND_IMAGE = 'jenna-kim-the-globe.webp';
public const DEFAULT_BACKGROUND_IMAGE = 'jo-myoung-hee-fluid.webp';
/**
* 'attribution': Name, artist and license
@ -56,9 +56,17 @@ class BackgroundService {
* 'primary_color': Recommended primary color for this theme / image
*/
public const SHIPPED_BACKGROUNDS = [
'jo-myoung-hee-fluid.webp' => [
'attribution' => 'Fluid (Jo Myoung Hee - Nextcloud GmbH, CC-BY-SA-4.0)',
'description' => 'Abstract background picture of blue and white fluids',
'attribution_url' => 'https://nextcloud.com/trademarks/',
'dark_variant' => 'jo-myoung-hee-fluid-dark.webp',
'background_color' => self::DEFAULT_BACKGROUND_COLOR,
'primary_color' => self::DEFAULT_COLOR,
],
'jenna-kim-the-globe.webp' => [
'attribution' => 'Globe (Jenna Kim - Nextcloud GmbH, CC-BY-SA-4.0)',
'description' => 'Background picture of white clouds on in front of a blue sky',
'description' => 'Background picture of an abstract globe shown from the space',
'attribution_url' => 'https://nextcloud.com/trademarks/',
'dark_variant' => 'jenna-kim-the-globe-dark.webp',
'background_color' => self::DEFAULT_BACKGROUND_COLOR,

Loading…
Cancel
Save