Commit graph

489 commits

Author SHA1 Message Date
Richard Steinmetz
9533863c6e fix(theming): make cache buster depend on the app version
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-07 08:26:09 +00:00
Ferdinand Thiessen
75efbfda94
fix(styles): Make sure footer with legal links is shown correctly
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 13:03:08 +02:00
John Molakvoæ
4ec3ccd6aa
Merge pull request #46522 from nextcloud/backport/46504/stable29 2024-07-25 12:50:16 +02:00
Joas Schilling
ee6d74eb63 fix(mail): Fix big logos in mail templates for Outlook
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 08:11:54 +00:00
skjnldsv
86ccba3714 fix(theming): enforce theme should still provide dark as fallback
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-16 08:25:50 +02:00
Ferdinand Thiessen
1672d79c08
Merge pull request #46258 from nextcloud/backport/45395/stable29
[stable29] fix(theming): Conitionally disable blur filter for performance
2024-07-11 09:17:55 +02:00
Ferdinand Thiessen
78114c6630 feat(theming): Add checkbox for force enable / disable blurry background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-11 08:22:47 +02:00
Ferdinand Thiessen
eb282a6cee fix(theming): Conitionally disable blur filter for performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-11 08:22:47 +02:00
Marcel Müller
276adecf10 fix(theming): Don't reset the cachebuster value when we reset theming
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-07-11 05:27:49 +00:00
Ferdinand Thiessen
83c5b9297a
fix(theming): Also provide default image as background by absolut URL
There was a regression that for the default theme the image was not set as the background.
Also the background was not always an absolut URL, only for custom images it was absolut,
for default images / shipped images it was relative.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-01 11:30:20 +02:00
skjnldsv
df1026f6fc fix(theming): also apply enforced theme for guests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-17 07:22:41 +00:00
Ferdinand Thiessen
7dcc2e541c
fix(theming): When selected a background image make header color independent of primary color
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-28 16:49:02 +02:00
Côme Chilliet
0b332ceac2 fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 11:45:22 +02:00
Simon L
03d19f14a6 fix(theming): fix incorrectly inverted favicons
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-03-11 11:01:39 +01:00
Ferdinand Thiessen
4b8868a7f1
feat(theming): Provide CSS variable for favorite color and adjust for dark mode
Co-authored-by: Simon L <szaimen@e.mail.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-06 22:28:16 +01:00
Julius Härtl
acda6b841e
chore: Remove old theming migration steps as they are only needed once
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-14 11:13:06 +01:00
John Molakvoæ
6364e53e5a
Merge pull request #32231 from nextcloud/feat/theming-scheme-meta 2024-02-08 18:26:48 +01:00
Louis Chemineau
898df41de9
Revert "Merge branch 'master' of github.com:nextcloud/server"
This reverts commit d9d60238c7, reversing
changes made to ba3fdb0cdc.
2024-02-08 15:31:19 +01:00
John Molakvoæ
775974fb7d
Support theme meta w3c standard
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-07 17:34:57 +01:00
Ferdinand Thiessen
0f2b9b09ec
fix(theming): The background is the primary color and must not be double inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-03 14:28:34 +01:00
Côme Chilliet
220296b216 fix: Fix template parameter for some listeners
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +01:00
Côme Chilliet
8bcc2d352e chore: Fix missing template parameter for IEventListener
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +01:00
Ferdinand Thiessen
8de89b2103
fix(theming): Apply same logic on capabilities for primary color like on themes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 01:01:42 +01:00
Ferdinand Thiessen
18b91ba2e1 fix(theming): Make sure color-border-maxcontrast fulfills 3:1 contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-17 15:30:39 +01:00
Joas Schilling
2fccd090b3
fix(manifest): Check if app exists instead of accessing null as an array
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-17 09:25:44 +01:00
Côme Chilliet
d1f2add10c Migrate PHP imagick module check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 11:28:59 +01:00
Ferdinand Thiessen
a782d6f797 fix(theming): Adjust high contrast theme to fulfill WCAG AAA text contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-22 14:05:42 -06:00
Ferdinand Thiessen
3d8e2ec9b0
fix(theming): Invert filter should be based on primary-element
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-22 01:37:01 +01:00
Ferdinand Thiessen
acfb8ef551 fix(theming): Adjust color-error and color-success to work for input border colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 10:20:33 -06:00
Ferdinand Thiessen
74f6995bdb fix(theming): Adjust dark high contrast to fulfill WCAG 2.1 AAA contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 10:20:33 -06:00
Ferdinand Thiessen
ae12a73c85 fix(theming): Make dark theme accessible and add unit test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-18 10:25:10 -06:00
Ferdinand Thiessen
2e5d435df7 fix(theming): Adjust status colors to be also accessible on blurry background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-18 10:25:10 -06:00
Ferdinand Thiessen
84123b3910
fix(theming): Adjust primary text color calculation to also work with high contrast themes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-15 21:09:39 +01:00
Ferdinand Thiessen
61f401da57
fix(theming): Adjust hover color to be accessible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-15 21:09:14 +01:00
Ferdinand Thiessen
141d1e9026
enh(theming): Adjust color utils to work as specified by WCAG (color contrast and luma calculation)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-15 21:09:14 +01:00
Ferdinand Thiessen
da346aa80e
fix(theming): Adjust dark theme to be accessible adjust cypress tests
Also fix warning text color for bright / default theme on blurry background

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 00:58:30 +01:00
Joas Schilling
9c0ba1bab9
fix(theming): Fix color inverted icons based on theming and dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 16:38:41 +01:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Ferdinand Thiessen
fa2c834aab
fix(theming): Adjust config listener to validate apporder config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-21 12:29:26 +01:00
Côme Chilliet
54a3012a11
Fix apporder when an application has several menu items
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-14 20:04:48 +01:00
Kate
738faf4135
Merge pull request #41059 from nextcloud/fix/theming/capabilities
fix(theming): Correctly expose user and admin theming
2023-11-06 09:20:13 +01:00
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
jld3103
e69e201af8
fix(theming): Correctly expose user and admin theming
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-03 09:36:08 +01: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