Giter Club home page Giter Club logo

Comments (5)

wenbinf avatar wenbinf commented on May 18, 2024 1

Right now, you have the option to build a Tailwind CSS bundle and place it in R2, thereby replacing the Tailwind CDN referenced in the screenshot below:
image

However, this doesn't offer an optimal developer experience :( Consider implementing a GitHub Action to automate this process for improved efficiency.

Re: this issue & future PR -

Let's keep this issue open to encourage further community input.
Contributions via PR are highly welcome :)

from microfeed.

wenbinf avatar wenbinf commented on May 18, 2024

You can put tailwind cdn at /admin/settings/code-editor/?type=shared#webHeader
And customize tailwind.config there.

For example, this microfeed instance is using tailwind:
https://brand-assets.listennotes.com/

Screenshot 2023-08-25 at 1 13 15 PM

Does this work for you?

from microfeed.

CanopusFalling avatar CanopusFalling commented on May 18, 2024

That does work, and is a good patch solution while there is nothing else but it's explicitly not a production solution.

The Play CDN is designed for development purposes only, and is not the best choice for production.

from microfeed.

wenbinf avatar wenbinf commented on May 18, 2024

I agree that the current approach may not be well-suited for high-traffic production websites requiring fast rendering. However, it is important to consider the typical use-cases for microfeed at this stage:

  • Simple websites with minimal traffic.
  • Scenarios where the primary user interface is through RSS/JSON feeds rather than the web UI (akin to a headless CMS).

Looking ahead, we could make it easy to integrate custom themes into existing microfeed instances. This will enable proper implementation of pre-built themes, including those based on Tailwind CSS or other frameworks.

from microfeed.

CanopusFalling avatar CanopusFalling commented on May 18, 2024

Incredibly valid if it's low on the priority list, are you happy to just leave the issue here and give it a low priority tag or similar? Or would you rather close it for now and open an issue with a more fleshed out idea of a styling system later on? I'd quite like the feature personally just as a quality of life improvement so when I have the time I might submit a pull request for it.

from microfeed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.