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

Sidebar change color schema doesn't work #279

Closed
vsirghii opened this issue Mar 20, 2022 · 3 comments
Closed

Sidebar change color schema doesn't work #279

vsirghii opened this issue Mar 20, 2022 · 3 comments

Comments

@vsirghii
Copy link

vsirghii commented Mar 20, 2022

I have free-vue-admin current v 4.1.0
Running in VS code on Windows 11 using Chrome v 99.0.4844.74 (Official Build) (64-bit)

From docs, https://coreui.io/vue/docs/components/sidebar.html, I can clearly see Sidebar property "color-scheme" with possible values "dark or light". By default it's "dark" and works fine. But if I add "color-scheme='light'" it doesn't change the scheme color. Moreover it throughs erros in the console: "Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'." "color-scheme='dark'" will through the same error in the console. Only without specifying "color-scheme" at all, property errors won't be seeing and the theme will be dark which I'd like to change to light.

Could somebody clarify what property and what values should I use to get Sidebar working light scheme???

@mrholek
Copy link
Member

mrholek commented Mar 20, 2022

@vsirghii the light version is available only in PRO version

@vsirghii
Copy link
Author

Thanks @mrholek, sometime later, somewhere from your docs pictures I've got a clue that this might be about PRO/FREE versions difference. Just an idea: if you had in the component descriptions something like color-scheme (PRO), it would eliminate further questions

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions

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

No branches or pull requests

2 participants