-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Local graph becomes black after changing mode (dark/light) #133
Comments
+1 on this Setup Information
|
Mine has the right colours at launch, then after a few seconds it switches to all black regardless of dark/light mode. (I usually have mode set to 'adapt to system', but it behaves the same at any mode setting.) |
I keep wondering about the colors of the local graph (or lack thereof), and then I remember this issue. Would love to see this fixed, as it's one of the few drawbacks of the Prism theme. |
I think I've finally identified the issue. Still have a few things to resolve but there will at least be a partial fix for this that prevents the colours from disappearing in the next update 🥳 |
Hi all, The current problem is that if you switch between Light / Dark theme the graph colours will use the shades from Swan / Raven colour schemes since the partial fix was to make those the default colours which other colour schemes replace. Strangely if you change any setting in Style Settings it triggers a reload of some kind that will load the correct colour scheme colours. Not sure how I will resolve this yet so for now it's something we'll have to deal with. I can only assume these issues are due either how Obsidian loads graph colours, how Style Settings injects the CSS or a combination of both. Since the issue outlined has been addressed I'll close this issue but will continue to look for a solution to the above. |
Describe the bug
After changing theme mode from dark to light or from light to dark colors of any part of local graph becomes black. If go to Style Setting tab -> Prism Theme -> Appearance -> Graph Color Customisation -> Graph lines color and press Restore default button, then bug disappears.
To Reproduce
Screenshots
Before:
![image](https://private-user-images.githubusercontent.com/48362210/256595069-581229fa-26cc-480e-9b5d-760919f8f9db.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA5MjI3MTMsIm5iZiI6MTcyMDkyMjQxMywicGF0aCI6Ii80ODM2MjIxMC8yNTY1OTUwNjktNTgxMjI5ZmEtMjZjYy00ODBlLTliNWQtNzYwOTE5ZjhmOWRiLnBuZz9YLUFtei1BbGdvcml0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lYjAxOWU1NjljY2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RNxzNTx_JU73XZzwvt8Mn8fW9domg3wkti6rdf_OfAg)
![image](https://private-user-images.githubusercontent.com/48362210/256595194-115b5222-27e2-4922-8df2-edc93ca761b9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA5MjI3MTMsIm5iZiI6MTcyMDkyMjQxMywicGF0aCI6Ii80ODM2MjIxMC8yNTY1OTUxOTQtMTE1YjUyMjItMjdlMi00OTIyLThkZjItZWRjOTNjYTc2MWI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE0VDAyMDAxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ2YmQyNGQxYjQyOTIzNTgzOTRlMmQ5OTFkY2UxMzJjM2IzODEwY2FjN2IxZTQ3MDY4MjZiMWZkN2IxNGY3MjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RACISQzMo9OpmKr-n3fO8WY8AypuSHsl6HLuf2crMTI)
Setup Information
Additional context
I tested this bug in empty new vault without any other plugin accept Style Setting, and bug still exists.
The text was updated successfully, but these errors were encountered: