Giter VIP home page Giter VIP logo

Comments (5)

vednoc avatar vednoc commented on May 28, 2024

Hi! Thank you for making this very detailed post with some great suggestions.

I'm mindblown by the capabilities of CSS customization using browser extensions. I've just found out about it and your project fits perfectly with my likes.

Awesome! You might also like my other projects that are hosted on GitLab specifically themes for Discord, HackerNews and GitLab itself. The one for Discord has by far the largest amount of custom CSS and the one for GitLab is my largest project up to date.

I also tried to follow your style of comments and structure (I don't even know if it's a common standard).

Comments are there so we know what obfuscated CSS does. The coding style is very weird but it made sense back when I did a major refactor. I've been thinking about refactoring it with Stylus-lang but I'm not motivated enough to do it since everything just works and it's a nightmare to post updates on userstyles.

Without further ado, here are the suggestions.

They're looking great! If you'd like to, feel free to open separate pull requests and I'll be happy to merge them. Actually, I encourage you to do it! šŸ˜„

Put the imgur link in place of the --image variable in order to use it.

Since I exposed that variable in the configuration menu, simply click on Stylus icon on your toolbar then on the configure (gear icon) button and replace the existing link with a new one.

Editing code locally prevents auto-update and that's not an ideal situation because the only way to get auto-update back is to force update the theme and that'll remove all local changes. If you want to add/change/test styles, a better way is to make a companion style -- just a separate style that applies to the same website.


If you have any questions, do let me know. šŸ˜ƒ

from dark-whatsapp.

tinyCoder32 avatar tinyCoder32 commented on May 28, 2024

Hi, i hope you don't mind sharing the extension link here too, which uses your CSS project as a major function, it has the option to easily change the background image of the chats also, with a customization panel for the night mode colors.

from dark-whatsapp.

KDASthenerd avatar KDASthenerd commented on May 28, 2024

from dark-whatsapp.

tinyCoder32 avatar tinyCoder32 commented on May 28, 2024

Thank you so much for the suggestions and i'm happy you found it useful. I guess you are right, I must keep the last used background image saved when the option is switched off.

I will take your notes into my considerations for the next version in a few days god willing.

from dark-whatsapp.

tinyCoder32 avatar tinyCoder32 commented on May 28, 2024

Two more things, both related to the custom background image URL text box in the extension menu. Is it possible to save the link in case the user switches the ā€œcustom background imageā€ off and on again? I think it would be best if the text box ā€œremembersā€ what was the last image it used. Last thing, when pasting the link, a ā€œSaveā€ button appears. Is it possible to trigger the save option with the Enter key? Itā€™s because Iā€™m a ā€œkeyboard userā€, Iā€™d say, he he. I believe other users like me would like to set an image as background without the need to grab the mouse.

You can update in 60 minutes to Version 2.0.4, the first suggestion was great, now the plugin remembers the last background url you saved. Enter key saving will be in the next update god willing.

from dark-whatsapp.

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.