-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
Refactor icons: harmonize contextually, use filled status icons #4584
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
59fc1e9
to
f76b94b
Compare
f76b94b
to
e4bbceb
Compare
This is another all or nothing discussion:
To me, there is no need to use ALL outlined icons whenever possible. But this time I'll leave the decision to someone else 😃 Personally, I don't like the octagon icons. |
@pat-s what do you think about |
Fine with me. Overall I am wondering if there should be different icons for error and warning. |
If we stick with different colors, I don't think it's necessary. Do you have an idea for different icons? |
Maybe |
@xoxys In addition to the points discussed in chat I opted for |
Wasnt the idea to harmonize the icons? Why mixing outlined and regular ones again? |
Sure some were outlined before nevertheless we wanted to harmonize it. IMO trash-can looks good and not too bulky, if we want to avoid individual preferences (as much as possible) this looks a bit random to me and could cause discussions in the future again. |
Alright lets keep it this way. |
8d16033
to
93d8657
Compare
circle-outline
icons consistently@@ -15,7 +15,7 @@ | |||
<SvgIcon v-else-if="name === 'settings'" :path="mdiCog" size="1.3rem" /> | |||
<SvgIcon v-else-if="name === 'settings-outline'" :path="mdiCogOutline" size="1.3rem" /> | |||
<SvgIcon v-else-if="name === 'trash'" :path="mdiTrashCanOutline" size="1.3rem" /> | |||
<SvgIcon v-else-if="name === 'status-blocked'" :path="mdiPlayCircle" size="1.3rem" /> | |||
<SvgIcon v-else-if="name === 'status-blocked'" :path="mdiPlayOutline" size="1.3rem" /> |
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.
This change is wrong. Status icons should now all be the filled circle.
For consistency I would suggest to stick to a 4-point / 8-point UI system. Those spacing issues often result from other parts having a wrong margin, padding or border not being aligned to it. |
So you mean reduce the line-height from 1.3rem to something like 1.2? This would then likely match with h-8. |
That would be probably the easiest here, right? |
To match with h-8, yes. But I am not sure 1.2 is maybe a bit to narrow. Need to check. |
But how exactly does 1.2rem (14.4pt) fit into an 8 point grid system that suggests using multiples of 8 and 4? Then we can stick to 1.3rem (15.6pt) as well, no? |
Yeah it doesn't fit so well. I think my thought was wrong. So now, h-8 w-8 paired with 1.3rem. Is that good for everyone? |
While it might make sense to use w-8 h-8 instead of -9 how is this related to the default size of the icons? Changing them to 1.2rem will not make them fit with the default line height of 24px. Would just like to understand how to use the 8-point grid correctly. |
Can we outsource this into a discussion/chat? |
Follow-up to #4414 which started to use the outline icon-set for the pipeline status icons.
duration
andsettings
iconalert
andattention
icons toalert-circle-outline
Other changes