Commit Graph

140 Commits (78e75bffaeeec5fefb2ff1ead249cc02f2e6a793)

Author SHA1 Message Date
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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Simon L d891a0a83a fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-21 11:25:16 +07: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 +07: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
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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 064fa10ecf
Extract colour from custom background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:23:05 +07: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 +07:00
Christopher Ng a0266d1b16 Fix border color contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-22 18:42:56 +07:00
Christopher Ng 9ec32a739c Purge unused legacy code and drop 3rdparty jscolor dependency
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-28 00:18:47 +07:00
Christopher Ng 4a2bbc7af9 Rewrite admin theming in Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-28 00:18:47 +07: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 +07:00
John Molakvoæ 746710ad5b
Fix tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:57:35 +07:00
John Molakvoæ ef760e0337
Add admin user customization kill switch
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 12:57:35 +07: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 +07: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 +07: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 +07: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 +07:00
szaimen da48143de7 fix test
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-30 19:01:51 +07: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 +07:00
Carl Schwan 91042226c6
Change default login background to cloud image
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 16:23:54 +07:00
Julius Härtl 3147585344
Fix fallback css variables
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:43 +07: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 +07:00
John Molakvoæ 5e550829c5
Fix theming tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-19 14:35:00 +07:00
John Molakvoæ 0ea23cad0e
Revert "Fix unit tests for the theming app"
This reverts commit 13ca01ee12.
2022-08-16 08:51:43 +07:00
Carl Schwan 13ca01ee12
Fix unit tests for the theming app
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-11 18:02:23 +07:00
Joas Schilling 05d034a6da
Allow to invert when on bright
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-08 12:56:31 +07:00
Carl Schwan 4e0574e184 Port encryption admin settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-13 14:58:55 +07:00
John Molakvoæ 73918b8af9
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:00 +07:00
John Molakvoæ 5e8a3eb66c
Fix header apps icons
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-28 18:12:29 +07:00
John Molakvoæ 4dc96dd165
Fix mix factor
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-26 09:22:43 +07:00
John Molakvoæ 850d8ac1cd
Add default theming disabled fallback
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-22 11:24:25 +07:00
John Molakvoæ (skjnldsv) a1aaaaa0c8
Update and fix theming images
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-04-21 09:31:06 +07:00
Joas Schilling b3cf312edc
Start theming providers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-21 09:29:33 +07:00
Joas Schilling 4032f0b2c8
Fix alternative login buttons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-09 11:43:17 +07:00
Christopher Ng 3be9d3ca8f Profile frontend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19 04:59:36 +07:00
marco f6e62b19d1 Add new variables for buttons
Signed-off-by: marco <marcoambrosini@pm.me>
2021-09-30 09:41:43 +07:00