Giter Site home page Giter Site logo

Future of Paxmod about paxmod HOT 5 CLOSED

numirias avatar numirias commented on May 25, 2024
Future of Paxmod

from paxmod.

Comments (5)

nt1m avatar nt1m commented on May 25, 2024 1

@numirias The theme_experiment feature should make it easier to maintain your extension in case you haven't seen it:

{
  "manifest_version": 2,
  "name": "Theme experiment",
  "description": "Example of a theme experiment",
  "version": "1.0",
  "theme": {
    "colors": {
      "popup_affordance": [128,128,128]
    },
    "images": {
      "theme_toolbar": "toolbar.jpg"
    }
  },
  "theme_experiment": {
    "stylesheet": "style.css",
    "colors": {
      "popup_affordance": "--arrowpanel-dimmed"
    },
    "images": {
      "theme_toolbar": "--toolbar-bgimage"
    },
    "properties": {
      "toolbar_image_alignment": "--toolbar-bgalignment"
    }
  }
}

The style.css stylesheet can be used to style those properties too:

#nav-bar {
   background-position: var(--toolbar-bgalignment);
}

You can then use the new properties you just defined in extension code too:

browser.theme.update({
  colors: {
    popup_affordance: "green",
  }
});

from paxmod.

nt1m avatar nt1m commented on May 25, 2024 1

Also, note that's there's a bug affecting theme_experiment that causes the experiment to only apply in the initial window it's loaded in, which has been fixed in Firefox 68: https://bugzilla.mozilla.org/show_bug.cgi?id=1482870

from paxmod.

Ladergorn avatar Ladergorn commented on May 25, 2024

Unfortunately Paxmod seems to be broken with 71.0a1 (2019-10-04) (64-bit). I'm not getting multi-row tabs anymore.
Thanks

from paxmod.

numirias avatar numirias commented on May 25, 2024

@Ladergorn I issued an update (v3.2). Just go to about:addons and Paxmod > Check for Updates.

from paxmod.

Ladergorn avatar Ladergorn commented on May 25, 2024

from paxmod.

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.