Côme Chilliet
7ed583cb8e
chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_App
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 year ago
Andy Scherzinger
cc1686dba9
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 year ago
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>
2 years ago
John Molakvoæ
998b3a2581
feat(f2v): migrate Files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Robin Appelman
51984dc273
fix loading custom logo image
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years ago
Simon L
4a89b7ea22
adjust tests
Signed-off-by: Simon L <szaimen@e.mail.de>
3 years ago
John Molakvoæ
4c71d8f8a4
fix(theming): replace elementColor dark value with better contrast `#8c8c8c`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
3 years ago
John Molakvoæ
e6b7fa6cae
Fix logo invert
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
3 years ago
John Molakvoæ
3c75a99267
Phpunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
4 years ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years ago
Julius Härtl
a0c0918ce2
Optimize chek if background is themed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years ago
Joas Schilling
be5176076e
Precalculate the primary element color for dark mode too
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
74936c49ea
Remove unused imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Roeland Jago Douma
c007ca624f
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Julius Härtl
798b2e87b9
Fix light primary button styling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
7 years ago
Michael Weimann
044ab0cbec
Adapts the theming util to the new core logo image path
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
7 years ago
Michael Weimann
065e0c0e49
Fixes the logo test
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
7 years ago
Julius Härtl
5bae5bf3eb
Make the default element color for bright theming colors lighter
Signed-off-by: Julius Härtl <jus@bitgrid.net>
7 years ago
Julius Härtl
d4e106f2b3
More detailed theming capabilities
This will allow clients to easily check if a custom background is used
Signed-off-by: Julius Härtl <jus@bitgrid.net>
8 years ago
Julius Härtl
9bb0299c98
Add colors to tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
8 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Julius Härtl
ce5ad7e7f4
Prefer custom theme over theming app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
9 years ago
Julius Härtl
d3865b6096
Use appdata logo when generating icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
9 years ago
Julius Haertl
2ab4d1e0a3
Use IAppManager instead of OC_App
Signed-off-by: Julius Haertl <jus@bitgrid.net>
9 years ago
Julius Haertl
78de213b85
Sanitize input and small fixes
Signed-off-by: Julius Haertl <jus@bitgrid.net>
9 years ago
Julius Haertl
9e28a3ba12
Theming: Code cleanup and cache buster for mime icons
Signed-off-by: Julius Haertl <jus@bitgrid.net>
9 years ago
Julius Haertl
b466628bfd
Improve unit tests for image generation
Signed-off-by: Julius Haertl <jus@bitgrid.net>
9 years ago
Joas Schilling
5306b4feba
Fix tests
9 years ago
Joas Schilling
7efadf7b6b
Move classes to PSR-4
9 years ago
Julius Haertl
cc457cd665
Theming: Generate colorized radio buttons dynamically
9 years ago
Julius Haertl
7ff19e342e
Theming: Colorize radio buttons and append new styles on preview
9 years ago
Julius Haertl
d07f04e4f7
Theming: Colorize checkboxes depending on luminance
9 years ago
Joas Schilling
813f0a0f40
Fix apps/
9 years ago
Julius Haertl
639be661c4
Theming: Add tests for inverted colors
9 years ago