My white theme has lost all of its color, how to get default white theme back?

My white theme has lots its color and everything is white. Here are some images for example.


As you can see the color of Code Block and TODO and DOING are all black. While caution notes are still the same color.

The same is happening with black theme.

However, logseq demo opened in browser is working fine.

Here is image of my settings.

What caused the issue?
I replicated what happened to me on browser.
Basically, if we change the theme to dark/light and then change the accent, then remove accent, we end up losing all color in black or light theme.

What Have I Tried?

  1. Already tried to change accent to teal color, still code block is black but TODO are normal.
  2. Tried adding custom css file, didnt work
  3. Uninstalled and reinstalled the app (with backup) didnt work.

I use code blocks a lot and them being in yellow color solves huge pain point while writing code and coming revisiting these codes.

Is there a way I can revert back to the default white theme where TODO were in blue and more Importantly Code Block is in default yellow color?

  • It looks like a bug.
  • For forcing to code blocks the solarized look (yellowish background and respective font color), try adding the following CSS rule in file custom.css :
    .cm-s-lsradix.cm-s-light, .dark .cm-s-lsradix.cm-s-dark {
        background-color: #fdf6e3;
        color: #657b83;
    }
    

Thanks, That worked! You are a lifesaver!

While this fixes the yellow color, the other default colors of white is gone. Like for tags and pages, it is showing color less.

Have you tried this accent color? Because that’s the original color (I agree it’s a bit confusing with the first option there that seems to indicate that’s the original color scheme):

That creates these color code blocks:

As you can see, the code block does not have a yellow background in the original color. The reason is that the UI has been tweaked over the past few releases and you probably had an old version of demo.logseq.com in your cache (I had that as well and the code block showed yellow until I cleared my cache and opened the demo graph again, and it shows exactly as in the screenshots I’ve just shared).

Anyway, selecting the second option from the accent color should bring you back to the original color scheme. You can then use mentaloid’s CSS snippet to solarize just the code blocks.

Thanks, I didnt know that the design had been tweaked.

Using the css custom snippet helped me get the desired solarize color.

1 Like