Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

Where are the theme files stored?

  • 4 odpovede
  • 1 má tento problém
  • 1 zobrazenie
  • Posledná odpoveď od cor-el

more options

I am looking to change one of the themes I downloaded for FF 57 but I can't find where the files are located.

I am looking to change one of the themes I downloaded for FF 57 but I can't find where the files are located.

Vybrané riešenie

Do you want to edit the image files? In your profile folder, these are the most recent:

  • lightweighttheme-header
  • lightweighttheme-footer

(I don't know what happens to the previously used theme image files.)

These do not have .png file extensions, but I'm pretty sure they are PNG files. You could rename them if necessary to get your image editing software to open them, then rename them back so Firefox can find them.

If you wanted to modify the text or accent colors of the theme, they are stored in the prefs.js file and can be viewed/modified in about:config as follows.

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste theme and pause while the list is filtered

(3) Right-click > Copy Value on the lightweightThemes.usedThemes preference and you can paste it somewhere more convenient to view such parameters as the

  • "textcolor":"#ffffff"
  • "accentcolor":"#1a2446"

In theory you could modify those values and paste the whole string of data back in, but I haven't tried it myself.

Čítať túto odpoveď v kontexte 👍 1

Všetky odpovede (4)

more options

Type about:addons<enter> in the address bar to open your Add-ons Manager. Hot key; <Control> (Mac=<Command>) <Shift> A

On the left side of the page, select Themes.

more options

Sorry, should have been more specific, I meant where the actual files are kept, like the directory not in firefox.

more options

Vybrané riešenie

Do you want to edit the image files? In your profile folder, these are the most recent:

  • lightweighttheme-header
  • lightweighttheme-footer

(I don't know what happens to the previously used theme image files.)

These do not have .png file extensions, but I'm pretty sure they are PNG files. You could rename them if necessary to get your image editing software to open them, then rename them back so Firefox can find them.

If you wanted to modify the text or accent colors of the theme, they are stored in the prefs.js file and can be viewed/modified in about:config as follows.

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste theme and pause while the list is filtered

(3) Right-click > Copy Value on the lightweightThemes.usedThemes preference and you can paste it somewhere more convenient to view such parameters as the

  • "textcolor":"#ffffff"
  • "accentcolor":"#1a2446"

In theory you could modify those values and paste the whole string of data back in, but I haven't tried it myself.

more options

Note that you may have to delete the lwthemes folder because this folder stores the actual images in the required dimensions that Firefox uses.

Note that Firefox uses lightweightThemes.selectedThemeID to specify which of the available themes is used.