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

Muted color normalized #1793

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

FranciscoMoretti
Copy link

@FranciscoMoretti FranciscoMoretti commented Jun 20, 2024

I noted that in most places where the muted color was used, it was used as muted/50.

This had unintended consequences related to transparency like this one:

image
Explanation:

  • Window has zoom
  • Chat background is bg-muted/50
  • Input should have the same color as chat background, but if bg-muted/50 is applied, it keeps 50% transparency.
  • Solution: use bg-muted with no transparency for input

Changes:

  • bg-muted/50 replaced by bg-muted
  • Adjusted muted to have the same color as the previous muted/50

Components under components/ui still have the muted/[num] classes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant