Skip to content
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

fix: Shopping List Label Text Color #4302

Conversation

michael-genson
Copy link
Collaborator

What type of PR is this?

(REQUIRED)

  • bug

What this PR does / why we need it:

(REQUIRED)

Fixes the shopping list label text color to be black or white depending on the background color. We were already doing this on the MultiPurposeLabel component, so I just extracted that logic.

Before:
image

After (notice the "Alcohol" label is still white):
image

I tweaked a few other style things as well.

Which issue(s) this PR fixes:

(REQUIRED)

N/A

@github-actions github-actions bot added the bugfix label Oct 1, 2024
@Kuchenpirat Kuchenpirat merged commit 3d1b087 into mealie-recipes:mealie-next Oct 1, 2024
13 checks passed
@michael-genson michael-genson deleted the fix/shopping-list-label-text-color branch October 1, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants