-
Notifications
You must be signed in to change notification settings - Fork 91
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
Adjust loading icon style, replace fillColor
prop
#2875
Conversation
322fb21
to
66e791e
Compare
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
66e791e
to
e036e2a
Compare
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
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.
🐘
just a heads up |
Thanks a lot @raimund-schluessler! Good on using the existing style – not only for consistency reasons with apps which didnt adopt it yet, but also cause that loading icon without full circle is not core Material Design, but a community icon from materialdesignicons.com vs being from https://material.io/icons How you now fixed it (and how it looked like) looks very nice, and is also used by lots of other platforms like e.g. Twitter or Twitch. :) |
This PR adjusts the style of the vue loading icon to the old style of the loading icon:
It also replaces the
fillColor
with anappearance
prop. This prevents the usage of arbitrary colors, and allows to select whether the icon adjusts its color to the Nextcloud color scheme, or always shows aslight
ordark
, independent of the color scheme.At the moment, the colors for the
light
anddark
mode are hard-coded, since I didn't find any color variables that don't change with the color scheme. Any hints here are welcome.Follow-up to #2727.