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

Mobile app Highlight colour not changing #162

Open
prwnr opened this issue Jan 22, 2024 · 1 comment
Open

Mobile app Highlight colour not changing #162

prwnr opened this issue Jan 22, 2024 · 1 comment

Comments

@prwnr
Copy link

prwnr commented Jan 22, 2024

Hello,

I have a problem with the colour change for Highlights on iPad/iPhone, that keeps itself with the default, even tho I changed it to different colour.

Here is the setting:
image

And here the colour in action:
image

Why this is odd to me and I'm reporting this, is that on the MacOS version the colour of highlight is correct:
image

Is there anything I could try to force change the colour on the mobile app? I tried theme reinstall, setting the colours back to originl, uninstalling it, reinstalling it. Tried to set the colour on the iPad/iPhone first and it still all is to vain, as the colour stays yellow.
The same problem is regardless of the "view mode".

@colineckert
Copy link
Owner

hey thanks for creating the issue @prwnr! i've looked into this one and am able to repro. not sure of the exact cause tho. nothing in the css specifies different behavior between mobile and desktop highlighting styles. my hunch is that it has to do with how the css variables are loaded in mobile. will keep looking into tho!

as a short-term fix, you can delete this line here where the dark hightlight color is instantiated and then use the styles settings to set a new value. i've tested and this is a workaround: https://github.com/colineckert/obsidian-things/blob/main/theme.css#L247

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

No branches or pull requests

2 participants