Skip to content

Custom CSS theme remains referenced after being disabled and removed #920

@Xanaxus

Description

@Xanaxus

Search first

  • I searched and no similar issues were found

What Happened?

I installed a custom CSS theme (@phenrique-coder peace-mind) and later attempted to disable it.

The theme could not be reliably toggled on/off, so I uninstalled it entirely and then reloaded the app. But that was in vain, hence closed the app. That was also no use.

So i deleted the app itself and then after reinstalling Logseq, the default theme was displayed correctly and no visual remnants of the custom theme were present.

However, inspecting the Developer Console showed that Logseq was still attempting to load the removed stylesheet:

Image

Observed Behavior

  • Logseq still attempts to load the deleted CSS file
  • Console reports ERR_FILE_NOT_FOUND

Reproduce the Bug

  1. Install a custom CSS theme (e.g. peace-mind)

  2. Enable the theme

  3. Disable or uninstall the theme

  4. Restart Logseq

  5. Open Developer Tools → Console

Expected Behavior

After a custom CSS theme is disabled or removed:

  • No references to the theme should remain
  • Logseq should stop attempting to load the CSS file
  • No missing-file errors should appear in the Developer Console

Screenshots

No response

Files

No response

Browser, Desktop or Mobile Platform Information

OS: Mac
Logseq: 2.0.1-alpha+nightly.20260527 (d921807-dirty)

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions