-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Support for Franz/Ferdi #50
Comments
It's possible to do but I'd rather not do it now for two reasons:
|
Hi Thanks for the reply. |
Let me know if you decide to do it and want others to use it as well! 😃
I'm happy to hear that. Enjoy. 🎉 |
If anyone is interested, I've been maintaining a CSS file for me to use with Franz. As of today it's broken due to #54 but I guess that should be fixed soon. |
Fixed now. Would you like me to add your repo to readme, so people using Franz can find it more easily? |
Sure, I guess it could help some people. |
Now that 2.0 has been released. Is support for Franz/Ferdi planned? :-) |
Yes! The support for USo as well as Franz/Ferdi is planned for v2.1 release coming very soon. I want to get a shell script working so that you can Later on, it's likely that I'll further improve the script to convert |
This is only meant to be used with extensions that don't have a support for stylus-lang and/or external projects. As such, its purpose is to provide you with the core functionality of Dark-WhatsApp without the need to compile it on your own. Compiling manually is something to work on for future updates. At this moment, you can only convert the `wa.user.css` to `darkmode.css` for use in Ferdi/Franz. More info will be in installation section of the wiki. Partial support for #50.
How do we compile the CSS you put out into the Franz/Ferdi? I am using dcferreira's repo, but I'm a little bit of a learning-nerd (not versed in this stuff) and i'm trying to learn how we get from your code to dcferreira's compiled code |
I'm glad you asked! You need to have Node.js and NPM (or Yarn) installed in order to get the stylus-lang package. After that is done, you need clone this repository and replace the entire Show code/* ==UserStyle==
@name Dark-WhatsApp Lite
@description Non-customizable version of Dark-WhatsApp.
@namespace github.com/vednoc/dark-whatsapp
@homepageURL https://github.com/vednoc/dark-whatsapp
@supportURL https://github.com/vednoc/dark-whatsapp/issues
@updateURL https://raw.githubusercontent.com/vednoc/dark-whatsapp/master/wa.user.css
@author vednoc <[email protected]> (https://github.com/vednoc)
@version 2.3.3
@license MIT
==/UserStyle== */
ui_font = 'custom font'
radius-g = 4px
radius-i = 4px
radius-a = 50%
app_width = 1396px
fullscreen = 0
app_c_m = 1
app_c_m_w = 720px
app_c_m_h = 0.6s
app_c_m_d = 1.2s
chat_b_c = 0
chat_b_img = 0
alerts = show
chat_m_t = default
chat_left = start
chat_b_l = 0
b_l_bg = #3c434f
chat_right = end
chat_b_r = 0
b_r_bg = #333a47
emoji_t = 1
emoji_o = 0.8
app_image = bg-high
image_url = url('https://images.unsplash.com/photo-1434569117012-ce134ee1a088?fit=crop&w=1280&h=720&q=80')
bg_opacity = 0.4
bg_blur = 0px
bg_hue = 320deg
bg_invert = 0
chat_bg = 1
chat_image = url('https://web.whatsapp.com/img/bg-chat-tile_9e8a2898faedb7db9bf5638405cf81ae.png')
chat_bg_o = 0.1
chat_bg_i = 0.6
ff_scroll = 1
c_g_c = 1
theme = old
dark = #1f232a
darken = #252A33
darker = #333943
light = #e9e9e9
lighter = #a1a1a1
accent = #7289da
yellow = #e5c512
orange = #df4b16
red = #dc322f
magenta = #f33682
violet = #6c71c4
blue = #268bd2
cyan = #2aa198
green = #859900
white = #ffffff
sh = #00000025
sh-h = #00000035 This converts UserCSS settings to stylus-lang variables. After that is done, you have to navigate to $ pwd
/path/to/dark-whatsapp
$ stylus wa.user.styl -o wa.user.css
compiled wa.user.css
# The next two lines convert `wa.user.css` to `darkmode.css`.
$ chmod +x whatsapp.sh
$ ./whatsapp.sh And that's it! This way you can customize the stylus-lang vars and produce a customized build of Dark-WhatsApp. If you don't want to install Node.js, you can skip to the last two lines to just convert the Let me know if you have any further questions, I'm happy to help. 😃 |
I'm finally coming back to this. I just dumped your wa.user.css (3.0.0r1) into Ferdi minus the |
Yep, that's all you have to do! |
Hi
I used to use this theme on my custom Franz WhatsApp service (dark WhatsApp) by adding the compiled CSS to it.
Is it possible to have a compiled version of the CSS ready to paste without using the stylus variables (using the default values)?
thanks
The text was updated successfully, but these errors were encountered: