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: use correct color for shadows #70

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

lampsitter
Copy link
Contributor

Fixes #22

Using the base color is incorrect as it needs to have an alpha value.

This uses the same alpha value as egui's light and dark themes. The values are explicity set instead of using the old theme's values, as otherwise when you go from egui default dark theme to Latte it would end up with a shadow intended for dark mode.

Uses the same alpha value as egui's light and dark themes.
The values are explicity set instead of using the old theme's values, as
otherwise when you go from egui default dark theme to Latte it would
end up with a shadow intended for dark mode.
@lampsitter lampsitter marked this pull request as ready for review October 25, 2024 15:29
@Stonks3141
Copy link
Member

Thanks, LGTM!

@Stonks3141 Stonks3141 merged commit 38af073 into catppuccin:main Nov 9, 2024
2 checks passed
@lampsitter lampsitter deleted the fix-shadows branch November 9, 2024 13:54
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.

Egui windows have large shadows when using Catppuccin themes
2 participants