Has anyone made custom themes for PieFed? Is it even possible in the first place?

  • wjs018@piefed.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 months ago

    Has anyone made custom themes for PieFed?

    I realized I didn’t really answer this portion of your question. The answer is yes. In my memory, both the amethyst theme as well as the hlt-fruits theme were developed by other users/admins and were then later incorporated into the codebase. rimu would know better if the other themes in piefed were made in this way.

  • wjs018@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    To create a fully-featured theme that is selectable in the dropdown, you would need to open a pull request and get it incorporated into the codebase. Or, if you are on an instance other than piefed.social, convince your local admin to incorporate your theme into their code.

    However, most of the themes you see in piefed are pretty much just a css file that overwrites the default (here is the one for the amethyst theme as an example). AFAIK, only the dillo theme really uses a lot of alternate template files, but that is due to a lot of limitations present in the dillo browser which that theme was designed for.

    So, you could pretty much define a new theme using your custom css in the user settings. The only issue might be that some css selectors don’t work in the custom css field. Specifically, using the > css selection operator doesn’t work (there are probably others too). So, you might run into some roadblocks if you try to get too fancy.

    • XiELEd@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      I see, thanks for the info. I was thinking of inserting a custom theme into the user setting custom css for personal use. I’m not confident enough to have others use it as well too lol

  • perishthethought@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    I am just now realizing there are themes available with piefed. :)

    From what I see in my Settings screen, there are about ten themes to choose from now, but the list doesn’t seem to be expandable. Maybe you can get someone who actually knows how piefed works to answer you though.