-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
Add ability to suppress warnings if Theme is intentionally all the same color #430
Labels
Comments
Hello! Sure, that is a nice addition. If you like, you can create a custom
kwarg option, like ``verbose`` or something. I don't know which is the best
approach. Maybe ``theme.disable_warnings()`` 🤔
El vie., 9 dic. 2022 23:59, Edward Forgacs ***@***.***>
escribió:
… Hello - I'm wondering if it might be possible to maybe add an optional
keyword argument to suppress the theme warnings if the title font color
being equal to the title background color is intentional. Right now my menu
is black on black, which is an intentional design choice, but I still get
the warning:
UserWarning: title font color (0, 0, 0) is equal to the title background
color (0, 0, 0, 255), consider editing your Theme
Of course, my code still runs and everything works fine, but I'd like to
have the option to disable that warning if possible. Thanks!
—
Reply to this email directly, view it on GitHub
<#430>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCTSSDZCGB5U26TOR3K7GTWMPWW7ANCNFSM6AAAAAASZ65UFY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Okay, sounds good. I'll give it a try and send out a pull request when it's ready. |
Here it is: #431 |
Merged! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello - I'm wondering if it might be possible to maybe add an optional keyword argument to suppress the theme warnings if the title font color being equal to the title background color is intentional. Right now my menu is black on black, which is an intentional design choice, but I still get the warning:
UserWarning: title font color (0, 0, 0) is equal to the title background color (0, 0, 0, 255), consider editing your Theme
Of course, my code still runs and everything works fine, but I'd like to have the option to disable that warning if possible. Thanks!
The text was updated successfully, but these errors were encountered: