logseq-bear-theme icon indicating copy to clipboard operation
logseq-bear-theme copied to clipboard

Theme does not work while offline (online asset loading on every start)

Open gavento opened this issue 2 years ago • 0 comments

Problem: The Bear theme does not load properly when I start LogSeq while not connected to Internet (or on a poor connection).

What I would expect: When I open LogSeq offline, the themes work normally. This would be especially nice for LogSeq, which is otherwise well-suited for offline-first use. The bear.css file dowloaded every time is also 1MB - not too large, but won't load on flaky connections.

Technical: bear.css contains only a singe line, requesting a CSS file from github: @import url('https://rcvd.github.io/logseq-css-system/output/bear.css'); Shipping the actual bear.css with the plugin would likely resolve the issue.

Love the design of the theme, thanks for creating it!

gavento avatar Oct 29 '22 17:10 gavento