# Ξ JupyterLab Theme for Christmas
> Design by [Isabela Presedo-Floyd](https://github.com/isabela-pf), coded with the help of Jovyans at [Quansight](https://github.com/quansight)
![](./christmas.png)
## Use
```bash
conda create -y -n jupyter-theme-christmas python=3.8 && \
conda activate jupyter-theme-christmas && \
pip install --pre jupyterlab==3.0.0rc10 jupyter_theme_christmas --upgrade --force-reinstall
# How to launch jupyter lab with a defined theme?
mkdir -p ~/.jupyter/lab/user-settings/\@jupyterlab/apputils-extension && \
CONF="{ \"theme\": \"JupyterLab Christmas\" }" && \
cat > ~/.jupyter/lab/user-settings/\@jupyterlab/apputils-extension/themes.jupyterlab-settings <<EOF
${CONF}
EOF
jupyter lab
```
> TODO
- Update the Launcher page with something like e.g. https://github.com/fcollonval/jlab-enhanced-launcher
- Strip down the variables.css to only the needed css?
- Bring more fancy ui like in https://github.com/timkpaine/jupyterlab_miami_nights: Search tool + neon billboard + Collapser + neon light + Scrollbar + FM-84's "Atlas" (compatible with webKit browsers) + A surprise in the presentation mode (Top menu --> View --> Presention mode)
## Develop
```bash
# Build the extension and link for dev in shell 1.
jupyter labextension develop --overwrite
```
```bash
# List extensions.
jupyter labextension list
pip list | grep jupyter-theme-christmas
```
```bash
# Run and watch jupyterlab in shell 1.
jlpm watch
```
```bash
# Run and watch jupyterlab in shell 2.
# Look at the remote entry javascript, a webpack5 feature.
mkdir ~/notebooks && \
jupyter lab \
--dev-mode \
--watch \
--notebook-dir=~/notebooks \
--ServerApp.token= \
--extensions-in-dev-mode
```
## Build
```bash
# Generate sourcemaps.
jupyter labextension build --development True .
jupyter lab build --minimize=False
```
```bash
# Do not generate sourcemaps.
jupyter labextension build .
jupyter lab build
```
## Publish
```bash
pip install jupyter_packaging twine && \
python setup.py sdist bdist_wheel && \
twine upload dist/*
```
```bash
jlpm build:lib && \
npm publish --access public
```
Raw data
{
"_id": null,
"home_page": "https://github.com/datalayer/jupyter-theme-christmas",
"name": "jupyter-theme-christmas",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Jupyter,JupyterLab,JupyterLab3",
"author": "Eric Charles; Isabela Presedo-Floyd",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/2b/f0/be4a51cbecabafec1d3e754079d4f41040cdb20d3083816489b3bc4f487e/jupyter_theme_christmas-0.0.1.tar.gz",
"platform": "Linux",
"description": "# \u039e JupyterLab Theme for Christmas\n\n> Design by [Isabela Presedo-Floyd](https://github.com/isabela-pf), coded with the help of Jovyans at [Quansight](https://github.com/quansight)\n\n![](./christmas.png)\n\n## Use\n\n```bash\nconda create -y -n jupyter-theme-christmas python=3.8 && \\\n conda activate jupyter-theme-christmas && \\\n pip install --pre jupyterlab==3.0.0rc10 jupyter_theme_christmas --upgrade --force-reinstall\n\n# How to launch jupyter lab with a defined theme?\nmkdir -p ~/.jupyter/lab/user-settings/\\@jupyterlab/apputils-extension && \\\n CONF=\"{ \\\"theme\\\": \\\"JupyterLab Christmas\\\" }\" && \\\n cat > ~/.jupyter/lab/user-settings/\\@jupyterlab/apputils-extension/themes.jupyterlab-settings <<EOF\n${CONF}\nEOF\njupyter lab\n```\n\n> TODO\n\n- Update the Launcher page with something like e.g. https://github.com/fcollonval/jlab-enhanced-launcher\n- Strip down the variables.css to only the needed css?\n- Bring more fancy ui like in https://github.com/timkpaine/jupyterlab_miami_nights: Search tool + neon billboard + Collapser + neon light + Scrollbar + FM-84's \"Atlas\" (compatible with webKit browsers) + A surprise in the presentation mode (Top menu --> View --> Presention mode)\n\n## Develop\n\n```bash\n# Build the extension and link for dev in shell 1.\njupyter labextension develop --overwrite\n```\n\n```bash\n# List extensions.\njupyter labextension list\npip list | grep jupyter-theme-christmas\n```\n\n```bash\n# Run and watch jupyterlab in shell 1.\njlpm watch\n```\n\n```bash\n# Run and watch jupyterlab in shell 2.\n# Look at the remote entry javascript, a webpack5 feature.\nmkdir ~/notebooks && \\\n jupyter lab \\\n --dev-mode \\\n --watch \\\n --notebook-dir=~/notebooks \\\n --ServerApp.token= \\\n --extensions-in-dev-mode\n```\n\n## Build\n\n```bash\n# Generate sourcemaps.\njupyter labextension build --development True .\njupyter lab build --minimize=False\n```\n\n```bash\n# Do not generate sourcemaps.\njupyter labextension build .\njupyter lab build\n```\n\n## Publish\n\n```bash\npip install jupyter_packaging twine && \\\n python setup.py sdist bdist_wheel && \\\n twine upload dist/*\n```\n\n```bash\njlpm build:lib && \\\n npm publish --access public\n```\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "JupyterLab Theme Christmas, Designed by Isabela Presedo-Floyd",
"version": "0.0.1",
"split_keywords": [
"jupyter",
"jupyterlab",
"jupyterlab3"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "550e01592aa36a875141c16dcb39831e",
"sha256": "fb688764f6dd085af5c54b007a916dcf656efdb740a91e367e37d5c2dc1f54a0"
},
"downloads": -1,
"filename": "jupyter_theme_christmas-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "550e01592aa36a875141c16dcb39831e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 72245,
"upload_time": "2022-12-15T14:37:43",
"upload_time_iso_8601": "2022-12-15T14:37:43.453667Z",
"url": "https://files.pythonhosted.org/packages/72/40/eee76328555b5a49e11e062086bae5738213c39f627e8fc7490930ea2903/jupyter_theme_christmas-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "d72fef130cf84a7792d39eb2177a2d40",
"sha256": "f0985b669173b2aa2958a4d62753c77ce52e39649407753b893f7eb3088ff3d2"
},
"downloads": -1,
"filename": "jupyter_theme_christmas-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "d72fef130cf84a7792d39eb2177a2d40",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 26411,
"upload_time": "2022-12-15T14:37:45",
"upload_time_iso_8601": "2022-12-15T14:37:45.232499Z",
"url": "https://files.pythonhosted.org/packages/2b/f0/be4a51cbecabafec1d3e754079d4f41040cdb20d3083816489b3bc4f487e/jupyter_theme_christmas-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-15 14:37:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "datalayer",
"github_project": "jupyter-theme-christmas",
"lcname": "jupyter-theme-christmas"
}