-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Change search background #703
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
Conversation
|
Is this the same as #404? |
|
Yes but a different approach. |
|
Assuming there won't be many of these style overrides, I like this approach more than the one in #404. Two things I'm not certain on:
|
Signed-off-by: Gergely Csatari <[email protected]>
|
Also making it to modify the background css property instead of background-color Signed-off-by: Gergely Csatari <[email protected]>
6a0cecf to
476dec4
Compare
|
Code looks OK, just needs some documentation here: https://github.com/rtfd/sphinx_rtd_theme/blob/master/docs/configuring.rst#html-theme-options |
|
@jessetan documentation is added. |
|
LGTM |
|
What else is needed to merge this? |
|
@ericholscher , @agjohnson can you please take a look please? |
|
This feels oddly specific. Is there a reason we'd only support this one setting for a background color? It feels like having the theme be more overridable in general is a good goal, but this is a half measure. The comments on #404 touch on this, but having a full set of colors that can be overridden feels like the proper solution. |
|
On second thought, this is a good approach for now, but we should do a larger rethink in #404. |
|
Thanks @ericholscher . We can remove this approach once #404 is merged and use a more generic one. |
This pr adds the possibility to change the background
of the search area.
Signed-off-by: Gergely Csatari [email protected]