-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add installation instruction in the README #7
Comments
Well the installation is just like the installation of the Dark-WhatsApp style (or any user style really) you can follow it with ease. I'm not really familiar with Ferdi, it'll require an investigation from my end. So to get it fast we'll need someone already knowing this.. |
Added an installation section as suggested in Issue #7
Hi, thanks for your response. In order to import any theme to Franz/Ferdi , you need a single CSS file. I can't find any easy and automatic way to precompile UserStyle to plain Stylus/CSS, I only found this which seems like the original Stylus precompiled code |
OK I did tried something.. Which compiled successfully. Edit: |
I actually just replace the UserCSS metadata from Another way to do it would be to customize options you want via Stylus configuration menu, open the DevTools and find the injected stylesheet then copy that and paste it into I was kinda playing around with shell scripting to automate the process a lot more, but I'm quite new/bad at it and time is a limiting factor. When you make the initial template for UserCSS options, it takes like 5 minutes to compile it manually and tweaks things if necessary. |
Btw @Barina, you'll have to remove |
I did, it works! Thanks a lot!
I just needed to do that I also suggest to add this instructions in the README so that new people can immediately know how to do it. It would be great if Franz/Ferdi had some sort of plugin that directly integrates with that UserCss format... |
I think I like the option to "steal" the Stylus injected file I think it'll make it easier to make changes to the style and it'll be a lot less tense on us.. our time is valuable too 😉
I think a script will handle compilation and modification for that :) maybe Python or something..
Oh nice! glad to hear
Maybe they don't have to if it'll already be done 😉 |
I written a new python script to remove those two lines but it is very specific so I think it'll produce problems in the future.. 😝 |
@andreasomaini can you specify the steps you've taken to get it to work with Franz\Ferdi? |
Yes:
|
Cool thanks! |
I made a new commit (4187cac) and added new compile.py script to make my life a bit easier 🙂 For new comers that wants to make changes to the style before generating a darkmode.css it is now easy as changing the values in the user.style file (or user.css it doesn't matter) save and run the script like |
Since I was mentioned above, and actually I'm also using Telegram (up to today without a dark theme), I stole your darkmode.css and added it to my repo. I'd rather have my repo somehow just link to darkmode.css here, but couldn't think of a simple way to do it. So as it is now I'll just update it every time you change. I hope this is fine with you @Barina , let me know if you'd like me to change anything at all :) |
Yes absolutely fine 😊 |
@Barina I guess you could link @dcferreira 's repo in the README, then we can close this issue |
I guess you're right I'll link it in the README and add this issue to the WIKI project as a new "to do" item. |
It would be great to have a few installation instructions
EDIT: I am also trying to install it on Ferdi but I can't figure it out how to install it
The text was updated successfully, but these errors were encountered: