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
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
Valdnet
927821e363
l10n: Change admin to administrator
...
Spelling unification.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-01-30 18:21:33 +01:00
Joas Schilling
a192641808
Use the default color and matching text color for the federation invite
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30 09:12:49 +01:00
rakekniven
34824e2f8d
fix(l10n): fix admin images migration
...
Reported at Transifex.
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-01-23 09:09:46 +00:00
John Molakvoæ (skjnldsv)
e5977a19ab
fix(theming): fix admin images migration
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-01-23 09:09:46 +00:00
Vincent Petry
6e75931412
Limit key names when uploading theme images
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-11 16:16:44 +01:00
Côme Chilliet
09099cfaec
Fix theming migration repair step by passing correct type for argument
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-10 14:59:43 +01:00
John Molakvoæ
1acd42e10c
Invert header if primary is bright and background disabled
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-12-08 17:52:50 +01:00
Simon L
8124f683ba
Merge pull request #35547 from nextcloud/enh/noid/delete-background-size-variable
...
delete the --image-background-size variable
2022-12-06 14:04:30 +01:00
Christopher Ng
1c753c2b15
Lighten default color slightly for increased contrast
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-06 01:13:55 +00:00
Christopher Ng
24ffe32845
Add new border color variable for increased contrast
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-06 01:13:44 +00:00
Simon L
9597036b72
delete the --image-background-size variable
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-05 11:44:19 +00:00
Christopher Ng
3db3d75bb9
Revert "Fix border color contrast"
...
This reverts commit a0266d1b16 .
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-03 00:48:49 +00:00
John Molakvoæ
f26ee9c69d
Faster theming tests, better colours comparison and properly follow admin theming changes
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-30 18:39:57 +01:00
John Molakvoæ
a869259e41
More theming cypress tests and some fixes
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:26:27 +01:00
John Molakvoæ
064fa10ecf
Extract colour from custom background
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:23:05 +01:00
John Molakvoæ
cedae7c6d7
Allow to remove the background and select a custom colour
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:22:13 +01:00
Christopher Ng
a0266d1b16
Fix border color contrast
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-22 18:42:56 +00:00
Arthur Schiwon
9892bdc3c3
rename placeholder
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-18 22:30:03 +01:00
Arthur Schiwon
0297a03698
fix const visibility
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
blizzz
df8ed46cce
use const
...
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
blizzz
9bdf4c2254
use const
...
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
blizzz
a2bce2c6fc
use .json extentions
...
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: blizzz <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
Arthur Schiwon
dbd573e1b0
do not store state in appconfig
...
- and use count over isset for better understanding
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
Arthur Schiwon
a7ffdcd3dd
remove dashboard check, as fallback did not consider it either
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-18 22:24:59 +01:00
Arthur Schiwon
b725c777aa
optimize background image migration job
...
- separate in two stages: to prepare, and to actually migrate
- in step one, prepare a list of users to be migrated, and store it
compressed as app config
- gzcompress can be used, because we already require zlib
- upon the next calls (step two), slice off the first 5000 users
and migrate them. Re-add job if necessary to repeat.
- downside is that an app config value will in the beginning use the
RAM with any request, until it thins out. Examples: 2m UUIDs (75 MiB)
result in ~40 MiB compressed data, while 0.2Mib for 10 000 UUIDs,
0.4MiB for 20 000 and 4.1 MiB for 200 000. Acceptable.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-11-18 22:24:58 +01:00
Simon L
04b236e320
generate user themed icons
...
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2022-11-18 15:03:41 +01:00
John Molakvoæ
e6b7fa6cae
Fix logo invert
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-16 09:46:20 +01:00
Christopher Ng
4a2bbc7af9
Rewrite admin theming in Vue
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-28 00:18:47 +00:00
Christopher Ng
58abed2059
Invert header icons on bright preset backgrounds
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-19 19:12:56 +00:00
John Molakvoæ
d89da9b898
Simplify variable names
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:59:16 +02:00
John Molakvoæ
ef760e0337
Add admin user customization kill switch
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:57:35 +02:00
Christopher Ng
3ead19d997
Add a repair step to cleanup old theming cache
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-18 01:19:47 +00:00
Vincent Petry
19f35f42bc
Improve cache buster for user backgrounds
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-10-14 16:18:41 +02:00
John Molakvoæ
ac21c631a6
Fix migration
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 16:18:40 +02:00
John Molakvoæ
a8e90a03fc
Properly use user background cachebuster
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 16:18:40 +02:00
John Molakvoæ
e4ff84d468
Scope the appdata theming storage for global and users
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 16:18:37 +02:00
Vincent Petry
c0c0387b8e
Merge pull request #34461 from nextcloud/fix/migrate-background
...
Fix missing background on upgrade
2022-10-13 20:10:57 +02:00
Simon L
b28757fddc
Merge pull request #34437 from nextcloud/feat/theming-default-system-value
...
Use default system primary
2022-10-13 19:57:28 +02:00
Arthur Schiwon
59e07102ed
graceful background image handling
...
- fallback to background image from old location
- migrate background images to new location as insensitive job
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-13 17:51:30 +02:00
John Molakvoæ
2f8601a27e
Adjust testing
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-10-13 14:31:20 +00:00
John Molakvoæ
9d0f529f1b
Merge pull request #34546 from nextcloud/improve-hight-contrast
...
Add seperator in high contrast mode
2022-10-13 12:17:54 +02:00
John Molakvoæ
9a92fe9b29
Fix primary and debounce to avoid infinite loop
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-13 12:13:39 +02:00
John Molakvoæ (skjnldsv)
db831359d3
Allow to pick custom colour
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-13 12:13:39 +02:00
John Molakvoæ (skjnldsv)
4b46c5a5a0
Use default system primary
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-13 12:13:39 +02:00
Simon L
cbe228ae3a
Merge pull request #34545 from nextcloud/fix/theming-highcontrast-translucency-off
...
Disable translucency on high contrast themes
2022-10-13 00:56:57 +02:00
szaimen
f1b38426e2
fix color-main-background-rgb
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-12 11:59:16 +02:00
Christopher Ng
8c4de8f3bc
Add color variables for text on blurred background
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-12 01:43:37 +00:00
Carl Schwan
8a8f150ffb
Add seperator in high contrast mode
...
Between navigation and content and between entry in breadcrump
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-11 23:44:35 +02:00
Carl Schwan
0a5d459c99
Disable translucency on high contrast themes
...
Fix #34514
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-11 23:15:33 +02:00
Christopher Ng
46ee620150
Fix excessive increase of cachebuster value
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-11 16:25:42 +00:00
Christopher Ng
7044191eb6
Use brand color for background only and keep accessible color as color primary
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-05 06:19:08 +00:00
Christopher Ng
e962d3fba4
Use color preset of shipped background as primary color
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-05 06:19:08 +00:00
szaimen
9d4d95a94c
fix the tertiary button text
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-30 17:50:48 +02:00
Simon L
fafc1ee807
Merge pull request #34287 from nextcloud/enh/33836/fix-theme
...
fix highcontrast theme
2022-09-28 20:35:07 +02:00
Christopher Ng
295d03869e
Fix various theming bugs
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-28 17:12:56 +00:00
szaimen
c9a372034f
fix highcontrast theme icons
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-27 13:52:49 +02:00
Christopher Ng
67742884b7
Add preset primary colors for shipped backgrounds
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-27 00:56:58 +00:00
John Molakvoæ
b8912153db
Merge pull request #34210 from nextcloud/fix/theming
...
Fixing missing theming variables
2022-09-24 07:35:34 +02:00
John Molakvoæ
7a43559197
Refactor primary computation and fix a few missing theme parity variables
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-09-23 15:48:45 +02:00
John Molakvoæ
0b23ad9256
Disable background blur on highcontrast
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-09-23 15:01:38 +02:00
John Molakvoæ
48f324fcb1
Fixing dark primary element variables
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-09-23 14:58:40 +02:00
Vincent Petry
b8dbbb177d
Fix loading custom background
...
Fix the route for loading the custom background.
Because the controller is UserThemeController, so the route path is
not "theming" but "userTheme".
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-23 11:19:38 +02:00
szaimen
310ccfa14e
update theming icon in personal settings
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-21 11:26:08 +00:00
Joas Schilling
7672152579
Add a global setting to disable keyboard shortcuts
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 10:52:55 +02:00
greta
02cc42d40a
Move background settings from dashboard app to Appearance and accessibility settings
...
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-14 20:17:01 +00:00
Simon L
2a2cb01696
Merge pull request #33952 from nextcloud/enh/33850/scrollbar-visibility
...
fix scrollbar visiblity
2022-09-08 10:18:58 +02:00
szaimen
4636524b7e
fix scrollbar visiblity
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-07 23:21:35 +02:00
greta
7e5d973e7e
Remove non existing lighter colour
...
Signed-off-by: greta <gretadoci@gmail.com>
2022-09-07 16:01:41 +02:00
szaimen
d9b463c20a
fix dark-contrast-theme
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-06 18:03:35 +00:00
szaimen
7dd7d4d63d
fix background shadow
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-05 17:47:07 +02:00
Julius Härtl
b6a6802857
Some more fixes
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +02:00
Julius Härtl
ac134f5f47
Restore dashboard layout
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:40 +02:00
Julius Härtl
e4113b1779
Adapt layout to new base css variables
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:39 +02:00
Julius Härtl
cc21ea6419
Fix gradient using the wrong target value
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-26 14:48:38 +02:00
Julius Härtl
9fc52ed491
Properly align element variables to the regular ones
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-26 13:31:26 +02:00
Julius Härtl
57233fd99a
Expose core background image
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19 11:55:10 +02:00
Julius Härtl
4be6280aa9
Add css variables for blurred background
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19 11:55:04 +02:00