-
Notifications
You must be signed in to change notification settings - Fork 47
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
css = true
behaviour is confusing
#48
Comments
Hmm, that's a good idea, make a pr if you can, otherwise i will try in some time. |
I have gone with a different approach to solve this. Now you can pass individual settings inside If If { AARRGGBB = true, css = {names = false}, mode = "foreground" } Here, If Same applicable for By this, all the existing configuration will also not break. |
What would occur in the case of
where it's unclear to a new user that I think priority should be narrowest to broadest |
In css, names are valid property. red, black, white are valid keywords in css, no ? |
I think you are misinterpreting the original issue I raised. The behaviour where My faulty assumption as a new user was that I am suggesting that setting any narrow, individual property such as |
Yeah, i understood that, also it's unclear because there is no documentation on it. But i am in favor of the change, makes more sense, i will try to implement it. I am trying to find a way so existing configs doesn't break. |
I had a look at the code, I think this would require 3 possible values for the The Here would be a truth table of the outcomes of various configs:
|
Yes, sounds good except i am not changing the default values of of names, rgb and RRGGBB which is by default true. Will break user config. Also, it's a low priority for me now, so bear with me. |
See #48 css is true, names is true: Show names css is true, names is unset: Show names css is true, names is false: Don't show names
Check and report |
See #48 css is true, names is true: Show names css is true, names is unset: Show names css is true, names is false: Don't show names
See #48 css is true, names is true: Show names css is true, names is unset: Show names css is true, names is false: Don't show names
See #48 css is true, names is true: Show names css is true, names is unset: Show names css is true, names is false: Don't show names
See #48 css is true, names is true: Show names css is true, names is unset: Show names css is true, names is false: Don't show names
See #48 css is true, names is true: Show names css is true, names is unset: Show names css is true, names is false: Don't show names
If you configure with the following:
Then
names
gets set totrue
. This took me a long time to figure out, as I wanted to disable just names and nothing else. I figured that none of my options were being applied.Having one property overwrite another is unintuitive behaviour.
This has caused confusion before
Would it be better to have individual properties like
names
override group properties likecss
?The text was updated successfully, but these errors were encountered: