There are! When adding things like colors and fonts, you should use the 
pre-defined variables. That way when someone changes between light theme 
and dark theme, your extension changes too. Here are how the variables are 
assigned for light theme:
 
https://github.com/jupyterlab/jupyterlab/blob/master/packages/theme-light-extension/style/variables.css
 
<https://github.com/jupyterlab/jupyterlab/blob/master/packages/theme-light-extension/style/variables.css>

One important note is that while there are greens listed in these 
variables, JupyterLab is taking out green as a way to make sure colorblind 
users can still use the software.

On Sunday, October 21, 2018 at 7:50:33 PM UTC-7, 徐蕊鑫 wrote:
>
> We are building Jupyter extensions and would like to check is there any 
> guideline for the colors used in Jupyter extension? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/e84340bf-c6d8-4de5-a6eb-e3f287b6abc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to