aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
Commit message (Collapse)AuthorAgeFilesLines
* theming: Add OpenAPI specjld31032023-07-105-20/+143
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* feat(ocp): More specific type for ICapabilities::getCapabilitiesChristoph Wurst2023-07-031-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #38900 from tanganellilore/add_theming_doc_urlJohn Molakvoæ2023-06-291-0/+6
|\
| * add getDocBaseUrl that exted defaultLorenzo Tanganelli2023-06-191-0/+6
| | | | | | | | Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
* | feat: add detected mime type to exceptionDaniel Kesselberg2023-06-241-1/+1
|/ | | | | | | The mimetype may not match the file extension. Helps the user to find out why a provided image is not accepted. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* generate user themed favicon and touchiconSimon L2023-06-161-4/+6
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* enh(theming): Info contrastChristopher Ng2023-06-062-3/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(theming): Success contrastChristopher Ng2023-06-062-3/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(theming): Warning contrastChristopher Ng2023-06-062-3/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(theming): Error contrastChristopher Ng2023-06-062-4/+14
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #38631 from nextcloud/theming-set-background-color-via-occDaniel2023-06-061-0/+5
|\ | | | | feat: set background = backgroundColor via occ
| * feat: set background = backgroundColor via occDaniel Kesselberg2023-06-031-0/+5
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Refactors "strpos" calls in /apps/theming to improve code readability.Faraz Samapoor2023-06-024-8/+8
|/ | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* fix loading custom logo imageRobin Appelman2023-05-221-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat(theming): Add border radius rounded css variable so ↵Ferdinand Thiessen2023-05-161-0/+1
| | | | | | `body-container-radius` can be used on mobile devices Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(css): Add css variables for info colors (`--color-info`)Ferdinand Thiessen2023-05-161-0/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* use brighten and darken instead of greySimon L2023-05-101-4/+4
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* fix(theming): Cut of the brightness into both directions if unknownJoas Schilling2023-05-101-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(theming): replace elementColor dark value with better contrast `#8c8c8c`John Molakvoæ2023-05-041-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(theming): remove unnecessary `color-primary-element-default-hover` variableJohn Molakvoæ2023-05-041-4/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(theming): replace `color-primary-text-dark` with ↵John Molakvoæ2023-05-041-4/+4
| | | | | | `color-primary-element-text-dark` Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(theming): ensure image background is not defined if admin disabled itJohn Molakvoæ2023-05-041-10/+11
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(theming): calc primary element from current main backgroundJohn Molakvoæ2023-05-042-6/+19
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add distraction free backgrounds for Nextcloud 26Jan C. Borchardt2023-03-031-0/+22
| | | | Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
* fix(themeing): Add error handling to ImageManagerFerdinand Thiessen2023-02-201-23/+41
| | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* feat(theming): Only convert a background image if it benefits from itFerdinand Thiessen2023-02-201-2/+31
| | | | | | | | | * WebP images are generally quite small, converting to pngs would increase the filesize a lot. * Small JPEG and PNG images do not benefit from any conversion, so skip it. * JPEG images will get quite bigger when converted to PNG so instead convert to progressive JPEG Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* l10n: Fixed grammarrakekniven2023-02-111-1/+1
| | | | | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix(theming): Fix query for configvalue as CLOB on OCIJulius Härtl2023-01-311-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* l10n: Change administrator to administrationValdnet2023-01-301-5/+5
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* l10n: Change admin to administratorValdnet2023-01-301-5/+5
| | | | | Spelling unification. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Use the default color and matching text color for the federation inviteJoas Schilling2023-01-301-0/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(l10n): fix admin images migrationrakekniven2023-01-231-1/+1
| | | | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* fix(theming): fix admin images migrationJohn Molakvoæ (skjnldsv)2023-01-232-76/+101
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Limit key names when uploading theme imagesVincent Petry2023-01-111-1/+14
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix theming migration repair step by passing correct type for argumentCôme Chilliet2023-01-101-6/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Invert header if primary is bright and background disabledJohn Molakvoæ2022-12-082-10/+17
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #35547 from ↵Simon L2022-12-061-7/+0
|\ | | | | | | | | nextcloud/enh/noid/delete-background-size-variable delete the --image-background-size variable
| * delete the --image-background-size variableSimon L2022-12-051-7/+0
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | Lighten default color slightly for increased contrastChristopher Ng2022-12-061-1/+1
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Add new border color variable for increased contrastChristopher Ng2022-12-062-0/+2
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Revert "Fix border color contrast"Christopher Ng2022-12-033-5/+5
| | | | | | This reverts commit a0266d1b1668fb2751c78057ffcfacca6f4b2ae8. Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Faster theming tests, better colours comparison and properly follow admin ↵John Molakvoæ2022-11-304-3/+33
| | | | | | theming changes Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* More theming cypress tests and some fixesJohn Molakvoæ2022-11-296-13/+9
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Extract colour from custom backgroundJohn Molakvoæ2022-11-295-15/+20
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Allow to remove the background and select a custom colourJohn Molakvoæ2022-11-299-64/+111
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix border color contrastChristopher Ng2022-11-223-5/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* rename placeholderArthur Schiwon2022-11-181-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix const visibilityArthur Schiwon2022-11-181-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* use constblizzz2022-11-181-1/+1
| | | | Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
* use constblizzz2022-11-181-1/+1
| | | | Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: blizzz <blizzz@arthur-schiwon.de>