css - 如何将主题应用到jupyter lab

标签 css jupyter-notebook jupyter-lab

我尝试通过将 *.css 文件放入 ~/.jupyter/custom/目录(如 here )来应用深色主题。这会更改普通 jupyter notebook 的主题。但对 jupyter lab 外观没有影响。我还尝试使用 jupyter-theme 安装主题,但是,jupyter lab 外观没有任何变化。

谁能告诉我操作指南?

最佳答案

更新 2018 年 2 月 3 日 现在这个选项已经内置在设置菜单中!

enter image description here

最近这个问题在 GitHub 上被关闭了,终于可以编辑 jupyter lab 的设置了。欢呼!

此过程在 pull request 中有所描述.

只需更新您的 jupyter-lab(现在是 0.27.0 版)并转到"file"-“设置”,然后选择“主题”选项卡。并在用户覆盖中键入您的主题名称,然后按字符串右侧的复选标记。我尝试了几种,但只有“主题”:“JupyterLab Dark”似乎有效。对我来说足够了。

Apply dark theme to jupyter lab

enter image description here

我非常感谢 jupyter 团队所做的工作。谢谢大家!

关于css - 如何将主题应用到jupyter lab,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40518614/

相关文章:

html - 如何响应地更改 Bootstrap 中 .input-group 的宽度?

python - 将代码从 sublime 复制到 jupyter notebook 时缩进转换为奇怪的箭头

jupyter - 当 Jupyter 从 Ubuntu WSL 运行时,如何访问存储在 Windows 中的 Jupyter notebook?

jupyter-notebook - 如何检测是在 Jupyter Notebook 还是 Lab

javascript - 如何为文本区域中的特定字符着色

css - 如何为 materialize.css 使用的字体添加图标?

javascript - 如何使用 jquery 创建一个全选函数

python - 如何在 Google Colab 中编辑和保存文本文件 (.py)?

python - 尝试打开 Pandas 时出现历史保存线程错误

pandas - JupyterLab 无花果不显示。它显示空白结果(但在 jupyternotebook 上工作正常)