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

Console warning for initialColorMode #5

Open
RyanPWalker opened this issue Jul 28, 2020 · 3 comments
Open

Console warning for initialColorMode #5

RyanPWalker opened this issue Jul 28, 2020 · 3 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@RyanPWalker
Copy link

Running docz locally, there is always this warning in the console: The 'initialColorMode' value should be a unique name and cannot reference a key in 'theme.colors.modes'. It logs again on every page. I think the issue might be this line.

Not urgent, just gets in the way of real console errors.

@nejcm
Copy link
Owner

nejcm commented Jul 29, 2020

Done in the last release.

@nejcm nejcm closed this as completed Jul 29, 2020
@nejcm nejcm reopened this Jul 29, 2020
@nejcm
Copy link
Owner

nejcm commented Jul 29, 2020

Closed the issue a bit too soon :) . So removing the option makes no difference because it is set also in the docz base theme. Renaming the option to something else causes an error when building the theme.

I will keep the issue open until the solution is found but currently a bit short on time to investigate it further.

@nejcm nejcm added good first issue Good for newcomers help wanted Extra attention is needed labels Jul 29, 2020
@nejcm nejcm self-assigned this Jul 29, 2020
@L-van-der-merwe
Copy link

It is a year later, any solution as of yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants