Skip to content

Instantly share code, notes, and snippets.

@bollwyvl
Created July 14, 2020 16:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bollwyvl/8213489b5cacbcf20031c5351f08d7cb to your computer and use it in GitHub Desktop.
Save bollwyvl/8213489b5cacbcf20031c5351f08d7cb to your computer and use it in GitHub Desktop.
THWG

jupyterlab-theme-gt

A JupyterLab theme that mostly abides by the Georgia Tech Brand Guidelines.

Try it

  • install @deathbeds/jupyterlab-fonts

    jupyter labextension install @deathbeds/jupyterlab-fonts
    • or check out the demo: Binder
  • paste gt-lab-theme.json into the Fonts section of JupyterLab's Advanced Settings ctrl+,

{
"styles": {
":root": {
"--gt-blue": "#003057",
"--gt-blue-80": "#335161",
"--gt-blue-link": "#004F9F",
"--gt-blue-link-hover": "#1879DB",
"--gt-grey-light": "#E5E5E5",
"--gt-gold-buzz": "#EAAA00",
"--gt-gold-buzz-60": "#F5D580",
"--gt-tertiary-gray-matter": "#54585a",
"--gt-tertiary-atlanta-fog": "#002233",
"--gt-tertiary-mortar": "#8e8b76",
"--gt-tertiary-pi mile": "#d6dbd4",
"--gt-tertiary-diploma": "#f9f6e5",
"--gt-tertiary-tower-patina": "#4b8b9b",
"--gt-tertiary-bobby-jones": "#377117",
"--gt-tertiary-burger-bowl": "#b7c42f",
"--gt-tertiary-the-whistle": "#740053",
"--gt-tertiary-georgia-clay": "#ad4025",
"--gt-tertiary-horizon": "#f95e10",
"--jp-brand-color1": "var(--gt-blue)",
"--jp-layout-color3": "var(--gt-grey-light)",
"--jp-ui-font-family": "Roboto",
"--jp-content-line-height": "2",
"--jp-content-font-family": "Roboto",
"--jp-inverse-layout-color3": "var(--gt-tertiary-mortar)",
"--jp-warn-color0": "var(--gt-tertiary-horizon)",
"--jp-icon-contrast-color0": "var(--gt-tertiary-the-whistle)"
},
"h1, h2, h3, h4, h5, h6": {
"font-family": "'Roboto Slab'",
"font-weight": "700"
},
"button.jp-mod-styled.jp-mod-accept": {
"background-color": "var(--gt-blue-link)",
"color": "var(--gt-gold-buzz-60)",
"&:hover, &:active": {
"background-color": "var(--gt-blue-link-hover)",
"color": "var(--gt-gold-buzz)"
}
},
"[data-icon='ui-components:jupyter']": {
"background-image": "url(https://upload.wikimedia.org/wikipedia/commons/b/bf/Georgia_Tech_Yellow_Jackets_logo.svg)",
"background-size": "contain",
"background-repeat": "no-repeat",
"background-position": "center",
"& g": {
"visibility": "hidden"
}
},
"@import": [
"url(https://tools-static.wmflabs.org/fontcdn/css?family=Roboto+Slab:400,700&subset=latin,latin-ext)",
"url(https://tools-static.wmflabs.org/fontcdn/css?family=Roboto:400,400italic,700,700italic&subset=latin,latin-ext)"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment