Need to reload theme every time I'm entering this domain

Hi all,

I have an issue with a theme I've written for monday.com.
This is the first and only case where I need to disable and activate the theme in order to get it to work properly. The first "half dark mode" image is from the initial loading, and the second image is after I've turned off and then on the theme within the chrome extension.

Any suggestions?

https://www.notion.so/ronkim/Dark-mode-68489b83375b4ac6b815c430a0b8396d

Comments

  • If you want anyone to tell you, for sure, what's wrong with your code, we'd actually need to look at it.

    Sounds like a specificity issue. If you're using Stylish, maybe try switching to Stylus. Its style injection is designed to win specificity contests when selectors are the same, whereas Stylish doesn't even really try.

    In some cases, the site might be using a selector with higher specificity, or !important declarations. In those cases, you'd need to make sure your selector is more specific. You can avoid most conflicts by using !important yourself.
Sign In or Register to comment.