pkrasicki

joined 1 year ago
[–] pkrasicki@lemmy.world 1 points 1 year ago

Sure, I added support for it now :).

[–] pkrasicki@lemmy.world 3 points 1 year ago

Looks great!

Would you consider adding my Lemmy theme as well? https://github.com/pkrasicki/lemmy-modern-ui-theme-addon

[–] pkrasicki@lemmy.world 1 points 1 year ago

It seems that they need a UI expert.

[–] pkrasicki@lemmy.world 1 points 1 year ago (1 children)

I already made a proposal to improve the default theme, but my issue was closed without any response from the developers. The required changes were small on purpose and should be easy to implement for anyone already familiar with the code. So it seems that UI is not a priority to Lemmy developers. That's why I had to develop my addon, which I then also turned into a theme. I hope that one day Lemmy instances will start using some kind of modern theme (doesn't have to be mine), so that my addon is no longer needed.

My theme is just a small amount of styles applied on top of the default litely and darkly themes, which should make maintenance easier. Unlike an addon, a theme doesn't need to support multiple versions of Lemmy at the same time, so we could simplify it even more. Lemmy 0.18 uses CSS variables now, so that also makes things easier.

Something needs to be done about Lemmy's outdated UI and I'm not sure if the current approach of developing multiple userscripts and addons is efficient. I understand if you think this might cause too much work for you though.

[–] pkrasicki@lemmy.world 0 points 1 year ago (1 children)

Here are some screenshots from 0.18 default:

spoilerscreenshot 1

screenshot 2

screenshot 3

screenshot 4

12
submitted 1 year ago* (last edited 1 year ago) by pkrasicki@lemmy.world to c/plugins@sh.itjust.works
 

I made a Firefox addon that replaces the styles on Lemmy instances with something more modern. It works with Lemmy 0.17 and 0.18. It supports both light and dark theme.

Addon: https://addons.mozilla.org/firefox/addon/lemmy-modern-ui-theme

Repository: https://github.com/pkrasicki/lemmy-modern-ui-theme-addon

Screenshots

screenshot 1

screenshot 2

screenshot 3

I also released the CSS files - they can be used as a theme on a Lemmy instance. Tell your instance admin to give it a try: https://github.com/pkrasicki/lemmy-modern-ui-theme-addon/releases

[–] pkrasicki@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (3 children)

Thank you for your service. Would you be interested in testing my modern UI theme for Lemmy on your instance? It works with Lemmy 0.17 and 0.18.0. You can get the CSS files from the releases page.

[–] pkrasicki@lemmy.world 0 points 1 year ago
[–] pkrasicki@lemmy.world 0 points 1 year ago (1 children)

Thanks :). Do you know where to find those older themes? It would be interesting to see how they were implemented.

[–] pkrasicki@lemmy.world 3 points 1 year ago (3 children)

Instructions unclear, I wrote a Firefox addon instead :D https://addons.mozilla.org/firefox/addon/lemmy-modern-ui-theme

But you should be able to take the script and easily turn it into a userscript: https://github.com/pkrasicki/lemmy-modern-ui-theme-addon

It works with both light and dark theme, but sometimes the detection fails for me and applies wrong styles. I hope those hacks will last for some time though so that we could have a modern UI. I would change more stuff, but some things are not possible.

[–] pkrasicki@lemmy.world 2 points 1 year ago (5 children)

That sounds interesting! I wanted to be able to use it myself in case devs weren't interested in changing the UI. Can you tell me how it works and how to do that?

[–] pkrasicki@lemmy.world 2 points 1 year ago

That sounds interesting! I wanted to be able to use it myself in case devs weren't interested in changing the UI. Can you tell me how it works and how to do that?

[–] pkrasicki@lemmy.world 4 points 1 year ago (8 children)

Thanks! I'm a front-end developer :)

 

Since people talk a lot about Invidious lately, I would like to share this great desktop app for those who don't know it yet. It uses Invidious and lets you watch YouTube without ads. It even has SponsorBlock (you might need to enable it in settings though). You can add videos to favourites and see the history - all stored locally. It's Free Software.

view more: next ›