Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: theme initialisation with Voilà lab template #196

Merged
merged 4 commits into from
Aug 24, 2023

Conversation

guimillet
Copy link
Contributor

The class names of the document's body's are checked whether they
contain 'theme-light' or 'theme-dark', which indicates the theme loaded
by Voilà for the lab template.

The patch also adds 'dark_jlab' attribute to know the inherited theme in JLab.

Resolves: #135

reintroduced changes of the previous commit, which was discarded upon updating the branch to master due to merging conlicts
reintroduced changes of the previous commit (6 Dec 2021), which was discarded upon updating the branch to master due to merging conflicts
double-quote format
@guimillet
Copy link
Contributor Author

I messed up the push by merging the branch after having discarded the initial commit in the branch for updating the branch to current master...

@guimillet guimillet reopened this Aug 5, 2023
@guimillet
Copy link
Contributor Author

guimillet commented Aug 5, 2023

The test build failed with this error: UserWarning: ValueError: Extensions require a devDependency on @jupyterlab/builder@^4.0.4, you have a dependency on 3.0.0. The test workflow requires jupyterlab<4 as in commit 1095abecd4cc18977067013a18a8ad0b7adcf35d.

@mariobuikhuizen
Copy link
Collaborator

The build issue on master is now fixed, if you update it will build.

@mariobuikhuizen mariobuikhuizen merged commit 566fb39 into widgetti:master Aug 24, 2023
10 checks passed
@mariobuikhuizen
Copy link
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Theme initialisation according to JupyterLab or Voilà (lab)
2 participants