-
Notifications
You must be signed in to change notification settings - Fork 72
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
feat: change var for bg-first #5243
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why change the fallback value?
That is the fallback value for the class I changed it to |
that doesn't mean you need to change the fallback value at all ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it tested on plain pages?
your screenshots only show it on green stuff
Changed back to the original fallback |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fwiw:
- this doesn't affect td, tr, div due to the other definitions of bg-first having higher specificity in their definition
- for td we use
--prize-pool-gold
var
(both of those remarks refer to Prizepooltable.less)
all the other definitions are readable in dark mode afaik, so that's fine. |
What's the status of this PR now since it's been open a while? Ready to review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imo okay
Ready to review |
Summary
The current var for
bg-first
is unreadable in darkmode so this switches to a more readable version. I'm not sure if this is the intended use case forachievement-placement-1
but it looks good IMO. The attached images display the PR's changes via the "First" text. You can see what the current version is here: https://liquipedia.net/commons/Template:BgcolortextHow did you test this change?
inspect tools