-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for server color theming #4237
Conversation
d727ebd
to
8b7efd7
Compare
This fixes #4173 |
That looks great @claucambra! Just a small detail: The border around both the avatar status icon and the folder sync status icon should be the same color as the header background. Currently it's slightly off for the avatar status, seems lighter color, very visible with red theming and the light red border around it. And the folder sync status has a white border. Both should be theming color (Nextcloud blue by default). Otherwise all good! |
Thanks, this has been fixed now: |
d3780f5
to
a678d53
Compare
width: Style.folderStateIndicatorSize + 2 | ||
height: width | ||
anchors.centerIn: parent | ||
color: openLocalFolderButton.hovered ? "white" : "transparent" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use a constant from the existing singleton for the color names
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super @claucambra! :) 👍 on the design
a678d53
to
4b8761b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a small last comment and we can merge !!!
Thanks, addressed it |
@claucambra can you clean up commits history ? |
febf5f6
to
83b950b
Compare
color Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
83b950b
to
f585b8b
Compare
SonarCloud Quality Gate failed. |
AppImage file: Nextcloud-PR-4237-f585b8bd489444eed07fa86535a6835b780f237b-x86_64.AppImage |
This PR adds support for accent colouring pulled from the server's set colour.
Screenshots in light and dark colours: