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

Change css variable names to match Lab #2801

Merged

Conversation

jeffyjefflabs
Copy link
Contributor

This will fix #2062 and jupyterlab/jupyterlab#7861.

Lab renamed the css variable for inverse font colors here, which causes styled buttons (e.g. button_style='danger') in ipywidgets to have the wrong font color (black instead of white) in Lab and Voila. As mentioned in those two issues, documentation and code comments suggest white is the right color.

There are possible downstream effects but most of the search results look like snapshots and forks.

@SylvainCorlay
Copy link
Member

This looks good to me!

@SylvainCorlay
Copy link
Member

SylvainCorlay commented Feb 28, 2020

Thanks! I am really happy about this. This is an appropriate change for ipywidgets 8.0.

@SylvainCorlay SylvainCorlay merged commit be3aecb into jupyter-widgets:master Feb 28, 2020
@jeffyjefflabs jeffyjefflabs deleted the button-font-color branch February 28, 2020 15:24
@jasongrout
Copy link
Member

Should this be backported to the 7.x branch?

@jasongrout
Copy link
Member

I think it should. This change was in JupyterLab from a long time ago, so it doesn't work in jlab 1, so I think it counts as a bugfix.

jasongrout pushed a commit to jasongrout/ipywidgets that referenced this pull request Mar 2, 2020
Change css variable names to match Lab
@jasongrout jasongrout mentioned this pull request Mar 2, 2020
jasongrout added a commit that referenced this pull request Mar 2, 2020
@lock lock bot added the resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label May 20, 2020
@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
@jasongrout jasongrout added this to the 8.0 milestone Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

button font color different in classic notebook and jupyterlab
3 participants