catppuccin / logseq

🦫 Soothing pastel theme for Logseq
MIT License
154 stars 3 forks source link

Preserving Built CSS Files #6

Closed shaonianche closed 1 year ago

shaonianche commented 1 year ago

The Logseq project supports importing online CSS files, is it possible to preserve the built CSS files for future imports?

https://github.com/logseq/logseq/blob/master/templates/config.edn#L72

griimick commented 1 year ago

Yes, it should be possible. I will include the built CSS files in the next release assets. Also, heads up the theme is now available in the Logseq marketplace.

ghost commented 1 year ago

On the home page you have :

Should the () be removed ?

griimick commented 1 year ago

On the home page you have :

  • Logseq Plugin Marketplace (Soon TBD)

Should the () be removed ?

Updated README. Thanks for pointing that out.

griimick commented 1 year ago

@shaonianche Just made a new release and now all built stylesheets are served by GitHub pages. You can add one of the following in your config in case you prefer that way over downloading the theme from Logseq Marketplace.

:custom-css-url "@import url('https://logseq.catppuccin.com/ctp-latte.css');"
:custom-css-url "@import url('https://logseq.catppuccin.com/ctp-frappe.css');"
:custom-css-url "@import url('https://logseq.catppuccin.com/ctp-macchiato.css');"
:custom-css-url "@import url('https://logseq.catppuccin.com/ctp-mocha.css');"

Closing the issue for now.

vuongtrunghieu commented 1 year ago

@shaonianche Just made a new release and now all built stylesheets are served by GitHub pages. You can add one of the following in your config in case you prefer that way over downloading the theme from Logseq Marketplace.

:custom-css-url "@import url('https://logseq.catppuccin.com/ctp-latte.css');"
:custom-css-url "@import url('https://logseq.catppuccin.com/ctp-frappe.css');"
:custom-css-url "@import url('https://logseq.catppuccin.com/ctp-macchiato.css');"
:custom-css-url "@import url('https://logseq.catppuccin.com/ctp-mocha.css');"

Closing the issue for now.

I tried to set theme on mobile, but these resource URLs are not accessible.

griimick commented 1 year ago

@vuongtrunghieu Thanks for mentioning this. I broke it with my workflow. I should be working now.