question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: small but effective UI improvements (mostly for dark mode)

See original GitHub issue

I am completely new to grocy and have no experience with UI and design.
But maybe this qualifies me to give some feedback from a user perspective. 😄

recipes

When I first opened grocy I thought: “Other tools like Tandoor Recipes look much better.”

dark mode

Especially the dark mode (which I immediately activated) looks kind of outdated. I think it looks just a little to “washed”.

Here is my quick and dirty try to fix this:

image

I only changed background color, font color and red and green. It is based on https://material.io/design/color/dark-theme.html.

grocy_night_mode.css diff
3,4c3,4
<       color: #c1c1c1;
<       background-color: #333131;
---
>       color: #dddddd;
>       background-color: #121212;
12,13c12,13
<     color: rgba(255, 255, 255, .5);
<     border-color: rgba(255, 255, 255,.1);
---
>       color: rgba(255, 255, 255, .5);
>       border-color: rgba(255, 255, 255,.1);
25c25
<       color: #6c757d;
---
>       color: #246dad;
29c29
<       color: #c1c1c1;
---
>       color: #dddddd;
35c35
<       color: #c1c1c1;
---
>       color: #dddddd;
43c43
<       color: #c1c1c1 !important;
---
>       color: #dddddd !important;
47c47
<       border-color: #c1c1c1;
---
>       border-color: #dddddd;
60c60
<       color: #c1c1c1;
---
>       color: #dddddd;
66c66
<       color: #c1c1c1;
---
>       color: #dddddd;
72,74c72,74
<       color: #c1c1c1;
<       background-color: #6f1b23;
<       border-color: #6f1b23;
---
>       color: #dddddd;
>       background-color: #C62828;
>       border-color: #C62828;
78,80c78,80
<       color: #c1c1c1;
<       background-color: #17642a;
<       border-color: #17642a;
---
>       color: #dddddd;
>       background-color: #2E7D32;
>       border-color: #2E7D32;
87c87
<       color: #c1c1c1;
---
>       color: #dddddd;
94c94
<       background-color: #333131;
---
>       background-color: #121212;
103c103
<       background: #333131;
---
>       background: #121212;
108c108
<       background-color: #333131;
---
>       background-color: #121212;
137c137
<       background-color: #333131;
---
>       background-color: #121212;
143c143
<       background-color: #333131;
---
>       background-color: #121212;
147,149c147,149
<       color: #c1c1c1;
<       background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23c1c1c1' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
<       background-color: #333131;
---
>       color: #dddddd;
>       background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23dddddd' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
>       background-color: #121212;
154,155c154,155
<       background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23c1c1c1' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
<       background-color: #333131;
---
>       background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23dddddd' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
>       background-color: #121212;
161c161
<       background-color: #333131;
---
>       background-color: #121212;
165,166c165,166
<       color: #c1c1c1;
<       background-color: #333131;
---
>       color: #dddddd;
>       background-color: #121212;
170,171c170,171
<       color: #c1c1c1;
<       background-color: #333131;
---
>       color: #dddddd;
>       background-color: #121212;
175c175
<       background-color: #333131;
---
>       background-color: #121212;
188c188
<       background-color: #333131;
---
>       background-color: #121212;
194c194
<       background-color: #333131;
---
>       background-color: #121212;
199c199
<       background-color: #333131;
---
>       background-color: #121212;
205c205
<       background-color: #333131;
---
>       background-color: #121212;
209c209
<       background-color: #333131;
---
>       background-color: #121212;
213c213
<       background-color: #333131 !important;
---
>       background-color: #121212 !important;
220c220
<       background-color: #333131 !important;
---
>       background-color: #121212 !important;
226c226
<       background-color: #333131 !important;
---
>       background-color: #121212 !important;
231c231
<       background-color: #333131;
---
>       background-color: #121212;
245c245
<       color: #c1c1c1 !important;
---
>       color: #dddddd !important;
253c253
<       color: #c1c1c1 !important;
---
>       color: #dddddd !important;
270c270
<       background-color: #333131;
---
>       background-color: #121212;
274,275c274,275
<       color: #c1c1c1;
<       background-color: #333131;
---
>       color: #dddddd;
>       background-color: #121212;
279c279
<       background-color: #333131;
---
>       background-color: #121212;
283c283
<       background-color: #333131;
---
>       background-color: #121212;
288c288
<       background-color: #333131;
---
>       background-color: #121212;
292c292
<       background-color: #333131;
---
>       background-color: #121212;

table alignment

Another think that bothers me and looks not as professional as grocy is: The buttons in the stock table could be aligned better. I guess this is not trivial. But maybe some web developer knows some fancy way to fix this. 😇

too many (white) lines

Especially in the dark mode there are to many while lines/table borders. I think this is part of the reason why the dark mode does not look as clean as the light mode.

image

The same goes for the planer:

image

Maybe the lines just need to be a little thinner?

action buttons

The button on the top do not look nice.
In my opinion it looks “old” that the buttons only have border lines and no fill color.

image

I think this is because the lines work as “shadows” in light mode but in dark mode you need to use a different shade of black to “elevate” the buttons.

image

And it is hard to distinguish between enabled and disabled buttons. (light and dark mode)
A different background color (light grey?) could make these buttons look more “deactivated”.

search bars

In light mode it looks ok:

image

In dark mode it looks like the darker background behind the icon looks smaller in height than the text field.

image image

GitHub fixed this by adding a border around the icon area and making the input field even darker.

image

The lines are also thinner.

inconsistent placement of buttons

Is there a reason, why the buttons for Save and Close are placed at different areas?

I would place them next to each other.
Common practice would be the bottom right, I guess.

This is especially annoying when you have to scroll, just to get to the save button.

image

filter buttons

image

I have a few notes:

  • Do we need the more saturated line on top of the buttons?
    I think this does not fit the over all design. And it looks like some css gone wrong and did not cover the whole button.
  • Should the colors be represented in the table, too?
    image This works for grey, but the blue does not match at all and confused me. I have not checked red and yellow, yet.
  • This is too much text for just four buttons! You do not want to read this every time to find the correct button. (Yes, you will get used to it by time) We might not get rid of the text, but I would suggest to add icons in front of the text. Like in the menu on the left. People can recognize icons much faster, I think.

end

This issue got longer than expected. 😄
But I hope some of these ideas will help to improve this great project.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
OmgImAlexiscommented, Nov 11, 2021

I myself find issues with the contrast. It IS an accessibility issue.

Here’s a quick lighthouse tests which confirms what I’m saying.

image

0reactions
CWempecommented, Nov 13, 2021

I totally understand and agree.

Don’t worry. I will not make any complex changes, if any. 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Feature request] Interface - Dark mode · Issue #7692 - GitHub
Hi I made plugin DarkNpp that allows to use partially dark theme on Notepad++ (titlebar, context menu and some tooltips). It's not perfect,...
Read more >
UISP Dark Mode - Ubiquiti Community
In response to users request in regard to Dark Mode interface Ubiquiti in it's latest release 1.3.7 is proudly bumping up brightness and...
Read more >
Stay Tuned! The new look of Podio is almost here.
We understand that our customers have been longing for more Podio improvements in 3 major domains: performance, UI/UX and new features.
Read more >
We need a true dark mode in Microsoft Office Apps
Feature Request : We need a true dark mode in Microsoft Office Apps. While apps like Word, Excel and Access all have a...
Read more >
Dark mode for SketchUp - Feature Requests
Most requested features won't compete with Dark Mode. ... work on both long standing bugs, requests and UI/UX improvements at the same time....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found