Skip to content

Commit

Permalink
Fix code size in headers, add jupyterlab-tour (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrbgt authored Mar 17, 2021
1 parent 09937b7 commit 68f392a
Show file tree
Hide file tree
Showing 7 changed files with 421 additions and 409 deletions.
4 changes: 4 additions & 0 deletions .binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ dependencies:
- jupyter-lsp-python-plugins
- jupyter-videochat
- jupyterlab-lsp
- jupyterlab-tour
- nbgitpuller
- pandas
- robotkernel
- xeus-python
# demo jank
- ipython <7.20
- jedi <0.18
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# CHANGELOG

## [0.2.3]

- fixes `code` font size in headers ([#9])
- handles more third-party extensions
- [jupyterlab-tour]

[0.2.3]: https://pypi.org/project/jupyterlab-gt-coar-theme/0.2.3
[#9]: https://github.com/gt-coar/jupyterlab-gt-coar-theme/issues/9
[jupyterlab-tour]: https://github.com/jupyterlab-contrib/jupyterlab-tour

## [0.2.2]

- improves dark mode contrast on some interactive features ([#7])
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Activate your environment:
conda activate jupyterlab-gt-coar-theme
```

## Use doit
## Use `doit`

[doit](https://pydoit.org) is used to manage everything _inside_ your environment.

Expand Down
28 changes: 18 additions & 10 deletions dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@ def _check():
)


class PU:
@classmethod
def clean(cls, paths):
return [p for p in paths if "checkpoints" not in str(p)]


class P:
"""paths"""

Expand Down Expand Up @@ -270,16 +276,18 @@ class P:
ALL_YAML = [*CI.rglob("*.yml"), *BINDER.glob("*.yml")]
ALL_PRETTIER = [*ALL_MD, *ALL_STYLE, *ALL_JSON, *ALL_YAML]
ALL_SHELL = [BINDER / "postBuild"]
ALL_HEADERS = [
*ALL_PY,
*ALL_CSS,
*ALL_TS_SRC,
*ALL_MD,
*ALL_YAML,
*ALL_SHELL,
LICENSE,
SETUP_CFG,
]
ALL_HEADERS = PU.clean(
[
*ALL_PY,
*ALL_CSS,
*ALL_TS_SRC,
*ALL_MD,
*ALL_YAML,
*ALL_SHELL,
LICENSE,
SETUP_CFG,
]
)

YARN_INTEGRITY = ROOT / "node_modules/.yarn-integrity"
WEBPACK_JS = ROOT / "webpack.config.js"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gt-coar/jupyterlab-theme",
"version": "0.2.2",
"version": "0.2.3",
"description": "an unofficial Georgia Tech theme for JupyterLab",
"dependencies": {
"@fontsource/roboto": "~4.1.0",
Expand Down
15 changes: 14 additions & 1 deletion style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@
[data-jp-theme-name*='GT COAR'] samp,
[data-jp-theme-name*='GT COAR'] pre {
font-family: var(--jp-code-font-family);
font-size: var(--jp-code-font-size);
line-height: var(--jp-code-line-height);
}

[data-jp-theme-name*='GT COAR'] tt,
[data-jp-theme-name*='GT COAR'] code,
[data-jp-theme-name*='GT COAR'] kbd,
[data-jp-theme-name*='GT COAR'] samp,
[data-jp-theme-name*='GT COAR'] pre {
font-family: var(--jp-code-font-family);
line-height: var(--jp-code-line-height);
}

Expand Down Expand Up @@ -399,3 +407,8 @@
--bq-mainheading-font-size: 18px;
--bq-mainheading-font: 18px var(--gt-font-primary);
}

/* tour */
[data-jp-theme-name*='GT COAR'] .react-joyride__tooltip button[data-action='primary'] {
color: var(--jp-layout-color0) !important;
}
Loading

0 comments on commit 68f392a

Please sign in to comment.