You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is hard to override in themes (which is not a huge deal if variables are used widely, but then overuse of variables has performance implications).
I do not have a strong opinion on mui yet but I suspect there are limits to what it can do.
It would be good to consider some guidelines on what future code should use to minimise confusion and get the best performance (for example #1264 adds more typestyle).
The text was updated successfully, but these errors were encountered:
@Zxun2 if you want to work on this one, I would start by switching components from MaterialUI to the Jupyter toolkit when there is a replacement available (like tab panel, buttons, dialog, input,...). When replacing components, remove the associated CSS-in-JS class(es) and add well defined CSS class name(s) with as few rules as possible (mostly positioning rules as the toolkit should give you well integrated font and color rules).
Some notes on the toolkit:
you will need to use @jupyter/react-components to get the web components provided by the toolkit wrap in React components. The naming is generally straighforward. In the storybook, open the code snippet for a component. The react component name will be the web component name without the prefix jp- and capitalize.
to apply automatically the JupyterLab theme to the Jupyter toolkit, you will need to call the function addJupyterLabThemeChangeListener in this extension
jupyterlab-git uses:
This has performance implications because we get a lot of CSS rules of various quality.
typestyle is really a mixed bag:
I do not have a strong opinion on mui yet but I suspect there are limits to what it can do.
It would be good to consider some guidelines on what future code should use to minimise confusion and get the best performance (for example #1264 adds more typestyle).
The text was updated successfully, but these errors were encountered: