aaFn / Bookmark-search-plus-2

Displays and filters bookmarks on search string, show parent folders. This is a Web Extension add-on version of the old "Bookmark search plus" XUL extension published by Alice0775, not working anymore in latest Firefox, and which was very useful.
117 stars 11 forks source link

Low priority Feature req.: Apply FF theme (dark) to "Bookmark History.." popup #311

Closed peter-lyons-kehl closed 2 months ago

peter-lyons-kehl commented 3 months ago

Even with Options > "Match active FF theme colors", sidebar/history.html is mostly black-on-white. If easy, please apply FF theme here, too. (I did not try override for this.)

Workaround in the meantime:

  1. toolbar > right click > "Open BSP2 in a Tab" > change "sidebar/panel.html" in the URL to "sidebar/history.html"
  2. create/locate userContent.css for your Firefox profile (steps for this are out of scope here). Add:
    /** Some of the following may be unnecessary. */
    @-moz-document url-prefix("moz-extension://long-uuid-for-your-firefox_profile/sidebar/history.html") {
    html *,
    body *,
    table#ndtable
    * {
    color: white !important;
    background-color: black !important;
    }
    }
  3. Restart Firefox.
aaFn commented 3 months ago

Hello @peter-lyons-kehl , as you can see, the #ndtable part is on purpose a different color than the "sidebar" (ok, it is a fake sidebar which I am emulating, but this is the intent 😁 ). The "sidebar" part obviously follows the theme color properties sidebar and sidebar_text.

Looking at https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/theme#colors, can you indicate to me which color properties (background and text) you would prefer the #ndtable part to follow , and different from sidebar and sidebar_text of course .. ? Maybe the ntp_ ones ?

aaFn commented 2 months ago

I went on and used the "ntp_" attributes of the theme, plus a few others. This is in 2.0.130, let me know if any problem.