-
Notifications
You must be signed in to change notification settings - Fork 57
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
Logseq 0.10.5 breaks the theme #23
Comments
I think it is broken by Logseq 0.10.4. |
I'm seeing this too and had to switch to the default dark theme. The menu for the graphs turns transparent. I'm seeing the issue on 0.10.5 for macOS, iOS, Windows and Linux. So it seems to be a fundamental change/issue. I can also confirm it does NOT happen on 0.10.3, so it's a recent change. |
Facing the same issue after upgrading to 0.10.5. Had to roll back to 0.9.20 for it to work again. Theme used : logseq-monokai : https://github.com/tzcl/logseq-monokai |
It appears that theme is having the same issue. |
Looks like there's a Logseq issue for this as well. |
@k7hpn - Great link to the Logseq Issue... there is a comment there that recommends forcing an "accent" color and that helped fix the Dracula theme for me.... |
me too. |
Does anyone know if this is being looked at? I see there was an update to the README.md talking about it but not sure if anyone is actively working on it. I'm not trying to push for something as I'm guessing this is all volunteer, I just wanted to understand if it is worth trying to look at this over the weekend or if someone with much more knowledge and history with this project is about to fix this with 2 hrs of effort. |
I just tried the workaround forcing an "accent" color from logseq/logseq#10873 (comment) and it seems to mostly fix/work for Logseq 0.10.6, although some of the colors still seem off. |
This seems to be working today in Logseq 0.10.8 |
I confirm that with the theme installed post-upgrade from Logseq 0.10.7 to 0.10.8 the theme was working. However, after I removed and reinstall it, it stopped to working. @k7hpn, if you have a moment, could you please try removing and reinstalling the theme to see if the issue persists on your end? |
Ahh, @PixelTux I think I had inadvertently selected an accent color which fixed it. When I deselect the accent color it is still broken. Sorry about that, that's on me. |
I merged this fix #24 which is supposed to fix the issue, can you guys confirm that it is fixed? |
@SlyBouhafs I tested both on 0.10.7 and 0.10.8, it works for me! But I had to manually copy this repos |
It works with 0.10.8! Great! |
Hi @AristarhSamos , you're seeing cyan instead of pink because it's actually defined in the code. .external-link {
color: var(--pink);
}
.external-link:hover {
color: var(--pink-hover);
} Remember to remove it if you change themes, as it will default back to white since the |
I am having the same issue with the theme installed from the Marketplace. I got it running by following the old instructions but I am also having the same dropdown issue as @alexbraga |
@alexbraga @dev0T this bug originates from the upstream main build when an accent color is not selected and the dark theme is used. I'll look into it when I have some time. |
After some testing this seems to be caused by how the variables are set when This can be fixed by changing how variables are defined from html.dark,
html[data-theme=dark] {
... It seems the data-theme will be applied anyway and other styles are applied on top. So we need to set these variables at least at that level. Can someone help confirm? I'll submit a PR shortly for review. |
It's also worth pointing out that recent versions of logseq that introduce accent colors are not fully compatible with this theme. They introduce additional variables (like At this point we could only recommend using it WITHOUT any accent colors. 😕 |
…rwritten Issue #23: Apply root variables at html level
I received a notification that the upstream (LogSeq) bug regarding this is set to be closed due to inactivity so I revisited the situation. Uninstalling and reinstalling the Dracula theme today in LogSeq v0.10.9 (c67b8b5) still results in black-on-dark-grey text for me if I do not have an accent color selected. |
Upgrading to Logseq 0.10.5 (changelog) seems to break the theme. Text is now black on the Dracula background color.
The text was updated successfully, but these errors were encountered: