Commit graph

43 commits

Author SHA1 Message Date
Marco Ambrosini
4ef13dd8f7 fix(ui): Update assistant text gradient
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
2025-09-25 12:00:57 +02:00
Ferdinand Thiessen
9eb4c96d3b fix(theming): adjust assistant icon color on dark theme
* resolves https://github.com/nextcloud/server/issues/54782

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-02 11:03:34 +02:00
Ferdinand Thiessen
7a367b6451
feat(theming): provide Nextcloud Assistant theming colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-27 13:19:05 +02:00
Ferdinand Thiessen
03332a1d13
fix(theming): provide proper element color variables for status colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-26 18:35:55 +02:00
Ferdinand Thiessen
55f968aa4b
fix(theming): add missing color-text-success variable
This was planned to be added and already documented.
The use case is some rare occurences where we use success like text.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-25 14:48:06 +02:00
Ferdinand Thiessen
d79e18ab18
feat: add CSS variables for status border and text
The variables like `--color-error` now are based on our secondary
theming, thus they are less "aggressive" colors. But there are two
usecases for primary based status colors:
- borders
- error text messages (e.g. validation errors in forms)

To simplify app changes due to the secondary color theme change this
introduces 3 new variables:
- `--color-text-error` this shall be used if text should have error
  status theming and is displayed on normal background (while
  `--color-error-text` is only for text shown on `--color-error` similar
  as primary and secondary colors)
- `--color-border-error` and `--color-border-success` those should be
  used for element borders if there is one of those statuses to be
  reported (we use this for validation errors as well as for indicating a
  value was saved)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-18 18:17:59 +02:00
Ferdinand Thiessen
64db537b76
feat: use secondary-like status colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-18 18:15:55 +02:00
protoclown
d1f82e7fc7 fix(css): re-use old --color-scrollbar variable
Signed-off-by: protoclown <ornano@felinn.org>
2024-09-02 17:04:37 +02:00
Ferdinand Thiessen
d5dc6b2476
feat(theming): Allow shipped backgrounds to have a dark variant
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-12 13:00:07 +02:00
Andy Scherzinger
cc1686dba9
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-31 10:38:47 +02: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
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
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
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
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
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
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
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
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
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
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
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
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
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æ
48f324fcb1
Fixing dark primary element variables
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-09-23 14:58:40 +02: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
Joas Schilling
05d034a6da
Allow to invert when on bright
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-08 12:56:31 +02:00
Julius Härtl
3f63724c2d
Properly set --color-primary-light-hover on dark themes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-16 09:47:22 +02:00
John Molakvoæ
d64a63abc6
Properly calculate primary element based on background luminance
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-20 08:42:32 +02:00
John Molakvoæ
4e7989a83e
Fix dark theme description
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-01 10:23:02 +02:00
John Molakvoæ
4dc96dd165
Fix mix factor
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-26 09:22:43 +02:00
John Molakvoæ
d9b77bc2eb
Fix dark theme primary mix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-26 09:00:11 +02:00
John Molakvoæ
1dee36c761
Remove accessibility
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:28 +02:00
John Molakvoæ
9ea72b1010
Migrating themes to Theming app
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 09:31:07 +02:00
Joas Schilling
b3cf312edc
Start theming providers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-21 09:29:33 +02:00