Giter Club home page Giter Club logo

Comments (3)

dxnnie avatar dxnnie commented on September 24, 2024 1

Apologies for late response, I'm having some issues with all of my notifications being read all the time.

Since more and more websites are using CSS custom properties, I could add @-moz-document domains used by my userstyles. It might not be the perfect solution, in which case you would have to manually exclude current domain/URL from Stylus' "Action menu" in the popup.

Thanks for the response and please, feel no need to apologize. As a workaround, whenever Dark Switcher interfere with some page, I merely exclude that domain. My first thought would be limiting the scope of action only to the websites you're developing, but I wouldn't know where to start.

Thanks for the good work!

from dark-switcher.

vednoc avatar vednoc commented on September 24, 2024

Apologies for late response, I'm having some issues with all of my notifications being read all the time.

Since more and more websites are using CSS custom properties, I could add @-moz-document domains used by my userstyles. It might not be the perfect solution, in which case you would have to manually exclude current domain/URL from Stylus' "Action menu" in the popup.

from dark-switcher.

vednoc avatar vednoc commented on September 24, 2024

This userstyle would've been deprecated if I wasn't quite busy with UserStyles.world project. In order for that to happen, all userstyles need to be refactored to use v3 of my color generator. Most of them are stuck on v1 or v2, and v3 is only implemented in GitHub and GitLab. In v3, all color-schemes are built-in, but ATM syntax colors are not implemented yet, but I have them mostly figured out; upcoming Dark-GitHub release will be the first one to have them.

I wouldn't know where to start

It would consist of removing this line and adding all @-moz-document rules from my userstyles. Ideally, it would be a checkbox option for different userstyles, but that's one of the limitations of Stylus-lang's compiler and thus it's not possible to work around it. I've tried many things before and not a single one worked without causing bad side-effects (most of them made the userstyles apply globally).

from dark-switcher.

Related Issues (1)

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.