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

Light Mode cannot display a matching Fore Color. #4

Closed
Marvinware opened this issue Mar 29, 2023 · 4 comments
Closed

Light Mode cannot display a matching Fore Color. #4

Marvinware opened this issue Mar 29, 2023 · 4 comments
Labels
bug Something isn't working good first issue Good for newcomers invalid This doesn't seem right

Comments

@Marvinware
Copy link

The light mode works very buggy for me. The fore color of objects (labels, picture box and much more) cannot be changed further in light mode. I can't adapt to myself. I am using Visual Basic WinForms Net 4.8

Screenshot 2023-03-29 140410

Screenshot 2023-03-29 140421

`
Imports WinBlur
Imports WinBlur.UI
Public Class Form1

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Me.BackColor = Color.Black
    Me.ForeColor = Color.White
    SetBlurStyle(Me, BlurType.Mica, Mode.DarkMode)
    Me.BackColor = Color.Black
    Me.ForeColor = Color.White
End Sub

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Me.BackColor = Color.White
    SetBlurStyle(Me, BlurType.Mica, Mode.LightMode)
    Me.BackColor = Color.White
    Me.ForeColor = Color.DimGray
End Sub

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
    Me.BackColor = Color.Black
    Me.ForeColor = Color.White
    SetBlurStyle(Me, BlurType.Mica, Mode.DarkMode)
    Me.BackColor = Color.Black
    Me.ForeColor = Color.White
End Sub

End Class
`
Mica Test.zip

@voidZiAD voidZiAD added bug Something isn't working good first issue Good for newcomers invalid This doesn't seem right labels Mar 30, 2023
@voidZiAD
Copy link
Owner

What do you mean by cannot be changed further in light mode? Can you be more clear with your issue?

@voidZiAD
Copy link
Owner

voidZiAD commented Mar 30, 2023

Yeah, I've seen the issue now after testing your source code. I will be trying to fix this, because I also tried manually changing the Forecolor of the buttons but it still didn't work. What I can recommend is using a framework like Guna UI/Bunifu until this gets fixed. But by the way Acrylic Light mode works fine.

Either way, let's be honest, no one likes/uses light mode unless they want to become blind.

Thank you for reporting this issue anyways.

@BugattiV
Copy link

_

Acrylic dark theme.
The form's background color is black.

Can we make the background darker?
https://learn.microsoft.com/en-us/windows/apps/design/style/acrylic
_

@voidZiAD
Copy link
Owner

You could try using RGBA.

...Color = new Color.FromARGB(0, 0, 0);

That should be the maximum level of dark. More than that is not possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants