fix(activityItemContent): make text color light on activityItem activeFocus #8676
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR by @mike0609king and me proposes a fix for issue #8221.
Previously: When an activityitem is in focus its color changes to the classical nextcloud-blue. In light-mode this makes the contenttext harder to read due to its black color.
Change: When the activityitem is in focus its contenttext color adapts to a lighter one.
Here are images from windows 10 and windows 11 to demonstrate the changes. Thanks for the review!
Windows 10 before:

Windows 10 now:

Windows 11 before:

Windows 11 now:

(For some reason there is this black frame around the activity here, when it is in focus. This appears to be unrelated to the code changes, as it is also present on this machine while executing the current desktop client version. The before image is taken from the issue's original post.)
Remark: We are aware that on windows10 the fileDetailsButton (the three-dots button) still looks a bit odd. We tried making it adapt its color to a lighter one when the activityitem is in focus. However, the only way this seemed achievable was by setting the fileDetailsButton-item's background. But this would alter the appearence for other styles such as that for windows11 significantly, causing the button to look unnatural within the style. For this reason we decided to keep it as it is.
If there are any good suggestions on how this can be achieved without interfering with the other styles, we'd appreciate it a lot.