Ferdinand Thiessen
74c63997a3
fix(theming): Make sure color-border-maxcontrast fulfills 3:1 contrast
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-17 18:30:23 +01:00
Ferdinand Thiessen
45d4cae756
fix(theming): Adjust color-error and color-success to work for input border colors
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-27 10:22:19 -06:00
Ferdinand Thiessen
2f25f2feed
fix(theming): Adjust status colors to be also accessible on blurry background
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 17:07:02 +01:00
Ferdinand Thiessen
c7ea556bfb
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-06 20:34:36 +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
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
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
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
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
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 +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
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
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æ
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
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
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æ
a8e90a03fc
Properly use user background cachebuster
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-14 16:18:40 +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)
4b46c5a5a0
Use default system primary
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-13 12:13:39 +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
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
Christopher Ng
295d03869e
Fix various theming bugs
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-28 17:12:56 +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
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
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
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
John Molakvoæ
5f3229ed67
Automatically enable plain background if primary colour is set
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-16 09:39:00 +02:00
John Molakvoæ
0ea23cad0e
Revert "Fix unit tests for the theming app"
...
This reverts commit 13ca01ee12 .
2022-08-16 08:51:43 +02:00
John Molakvoæ
4c6be330ef
Revert "First first run wizzard"
...
This reverts commit ba3f5337f3 .
2022-08-16 08:30:08 +02:00