Simon L
bb6c241760
add descriptions for background pictures
...
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-03 14:23:39 +00:00
Ferdinand Thiessen
32ac5e7af8
fix(theming): Make sure the footer is hidden if not content is rendered
...
Previously the footer was empty, but the backdrop was still shown.
This hides the footer if no text content was defined.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-02 14:55:34 +01:00
Ferdinand Thiessen
3378a73e99
fix(theming): Make changes on primary color less invasiv
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen
3676295f7b
fix(theming): Ensure all text colors have enough contrast for accessibility
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen
be129a7d1f
fix(theming): Make it clearer that color-text-light and -lighter are deprecated
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen
1c4787af84
fix(theming): Ensure that maxcontrast text has always a contrast of 4.5:1 even on hover
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:54:14 +02:00
Ferdinand Thiessen
615a6846da
feat(theming): Allow to reset the user defined app order to the default value
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:25 +02:00
Ferdinand Thiessen
e9d4036389
feat(theming): Allow to configure default apps and app order in frontend settings
...
* Also add API for setting the value using ajax.
* Add cypress tests for app order and defaul apps
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 00:24:17 +02:00
John Molakvoæ
4f4074452d
Fix background removal not applying to user default theming
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 12:01:29 +02:00
John Molakvoæ
a024ee1cfe
Fix background removal check
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 11:54:09 +02:00
jld3103
c2d45cb172
Add single status code descriptions for OpenAPI
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +02:00
Côme Chilliet
0a9371f99f
Migrate applications away from deprecated ILogger
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-21 11:57:21 +02:00
julia.kirschenheuter
d6fb961a94
Change color of error and success
...
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-21 10:49:58 +02:00
Robin Appelman
ccf57e0715
add separate event for rendering login page template
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +02:00
John Molakvoæ
0a046844f6
feat(theming): add mime accept in Theming image file picker
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-03 11:49:45 +02:00
julia.kirschenheuter
ddb808e136
Change color for primary element on hover
...
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-24 15:56:30 +02:00
Simon L
d0957ffd97
Merge pull request #39008 from nextcloud/enh/noid/reorder-fonts
...
switch to bootstrap font-stack
2023-07-21 14:06:04 +02:00
Simon L
d891a0a83a
fix tests
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-21 11:25:16 +02:00
Simon L
8ed35de5f4
add missing places and address review.
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-20 15:30:05 +02:00
Simon L
c4893e9641
address review
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 20:09:14 +02:00
Simon L
9352869f52
switch to bootstrap font-stack
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 19:50:19 +02:00
jld3103
b58ef2c0b1
theming: Add OpenAPI spec
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 17:25:58 +02:00
Christoph Wurst
95145ee0c9
feat(ocp): More specific type for ICapabilities::getCapabilities
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-03 10:03:45 +02:00
John Molakvoæ
5b7f81b1b5
Merge pull request #38900 from tanganellilore/add_theming_doc_url
2023-06-29 16:58:10 +02:00
Daniel Kesselberg
f21cbfff64
feat: add detected mime type to exception
...
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>
2023-06-24 22:38:57 +02:00
Lorenzo Tanganelli
cc239f5059
add getDocBaseUrl that exted default
...
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
2023-06-19 20:18:10 +00:00
Simon L
734b8c26db
generate user themed favicon and touchicon
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 00:24:27 +02:00
Christopher Ng
27f9154594
enh(theming): Info contrast
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:57 -07:00
Christopher Ng
187ff83584
enh(theming): Success contrast
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:57 -07:00
Christopher Ng
fe098ff6fb
enh(theming): Warning contrast
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:56 -07:00
Christopher Ng
27ebaea10c
enh(theming): Error contrast
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:56 -07:00
Daniel
fd7d0e2fd2
Merge pull request #38631 from nextcloud/theming-set-background-color-via-occ
...
feat: set background = backgroundColor via occ
2023-06-06 15:55:31 +02:00
Daniel Kesselberg
8759e307f2
feat: set background = backgroundColor via occ
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-03 16:07:36 +02:00
Faraz Samapoor
437631a334
Refactors "strpos" calls in /apps/theming to improve code readability.
...
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 15:43:47 +03:30
Robin Appelman
51984dc273
fix loading custom logo image
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-22 15:10:54 +02:00
Ferdinand Thiessen
b30bfb57f3
feat(theming): Add border radius rounded css variable so body-container-radius can be used on mobile devices
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 19:47:10 +02:00
Ferdinand Thiessen
4f9472a323
feat(css): Add css variables for info colors (--color-info)
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 09:31:33 +00:00
Simon L
eb8770584e
use brighten and darken instead of grey
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-10 16:35:11 +02:00
Joas Schilling
b70b1f66c9
fix(theming): Cut of the brightness into both directions if unknown
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-10 15:41:32 +02:00
John Molakvoæ
4c71d8f8a4
fix(theming): replace elementColor dark value with better contrast #8c8c8c
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 14:41:19 +02:00
John Molakvoæ
9ab7a19b09
fix(theming): remove unnecessary color-primary-element-default-hover variable
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:04:15 +02:00
John Molakvoæ
4d3b49b09a
fix(theming): replace color-primary-text-dark with color-primary-element-text-dark
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:02:53 +02:00
John Molakvoæ
74461a9479
fix(theming): ensure image background is not defined if admin disabled it
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:02:49 +02:00
John Molakvoæ
c6ebb0d786
fix(theming): calc primary element from current main background
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:02:49 +02:00
Jan C. Borchardt
8c9a9195b9
Add distraction free backgrounds for Nextcloud 26
...
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2023-03-03 17:55:19 +09:00
Ferdinand Thiessen
2ca1153ff6
fix(themeing): Add error handling to ImageManager
...
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 14:57:50 +01:00
Ferdinand Thiessen
7e1152603f
feat(theming): Only convert a background image if it benefits from it
...
* 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>
2023-02-20 13:11:19 +01:00
rakekniven
9d10607551
l10n: Fixed grammar
...
Reported at Transifex.
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-02-11 21:54:06 +01:00
Julius Härtl
ecccff8bd2
fix(theming): Fix query for configvalue as CLOB on OCI
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-31 11:57:54 +01:00
Valdnet
928f62610b
l10n: Change administrator to administration
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-01-30 18:40:29 +01:00