Coder Social home page Coder Social logo

zapscoolphotontheme's Introduction

Zap's Cool Photon Theme

A Firefox userChrome theme designed to be as faithful to Firefox Photon (specifically Firefox 87) as possible.

it's cool

(showcase)

Compatibility

Includes forks of Firefox (Waterfox, Floorp, etc.).

Windows Linux (GNOME) macOS Notes
115esr ✔️ ✔️ ✔️ No longer updated.
128esr ✔️ ✔️ ✔️
129 ✔️ ✔️ ✔️
131 nightly ✔️ ✔️ ?

See Forks for information about Firefox forks.

Installation

There are 3 ways of installing this theme.


Manually 🛠

Can be installed on all editions of Firefox. Configuration is handled in about:config. There is no auto-updating.

Open about:config and set:

Pref Value Description
toolkit.legacyUserProfileCustomizations.stylesheets true Enables userChrome customization.
svg.context-properties.content.enabled true Required for proper icon coloring.
browser.newtabpage.activity-stream.logowordmark.alwaysVisible false Reverts the new tab Firefox logo behavior to what it was in Photon.
For Firefox 121 and below
Pref Value Description
layout.css.has-selector.enabled true Only for Firefox 121 and below.
Required for some functionality to work.
layout.css.nesting.enabled true Only for Firefox 117 and below.
Required for theming and some other stuff to work.

Optionally, you can set:

Pref Value Description
security.secure_connection_icon_color_gray true Makes the connection icon gray instead of green.
Default behavior in later versions of Photon.

Too lazy to set all these prefs? You can visit https://zapsnh.github.io/zcpt-configurator/, enable Include preferences for theme installation, and click Export Options to generate a user.js file that you can put in your profile folder.

Make sure to delete the user.js file after you start Firefox so that it doesn't override any changes you make in about:config.


Download the release for your version:

🪨 Static Release (stability) 🛞 Rolling Release (features and bugfixes)
Firefox 129 (recommended) Firefox 129
Firefox 128esr (download the ESR version) Firefox 128esr
Firefox 115esr (download the ESR version) Firefox Beta/Nightly
Older Versions

Extract the zip and move zapsCoolPhotonTheme-* to your profile folder which you can find by going to about:support and opening your profile folder/directory.

Rename the zapsCoolPhotonTheme-* folder to chrome

Make sure the directory is like this:

  • Profiles > XXXXXXXX.profile_name_here > chrome > userChrome.css and others

and not like this:

  • Profiles > XXXXXXXX.profile_name_here > chrome > zapsCoolPhotonTheme-* > userChrome.css and others

Restart Firefox.

You're done! 🎉


As an Extension 🧩

Can only be installed on Firefox Developer Edition, Firefox Nightly, and Firefox ESR (and forks based on ESR) since you need to disable extension signing (which may be insecure).

Has auto-updating and a built-in configurator. This version is based on Paxmod.

Open about:config and set:

Pref Value Description
extensions.experiments.enabled true Enables extensions experiments which allows CSS theming in extensions.
xpinstall.signatures.required false Disables extension signing which may be insecure. See this for the reason.

All other preferences required to run the theme (see the table above) will be set automatically.

Download the latest version at: https://github.com/zapSNH/zcpt-webextension/releases

More info at: https://github.com/zapSNH/zcpt-webextension/blob/main/README.md

You're done! 🎉


Using Git :octocat:

Recommended for tech-savvy people.

Can be installed on all editions of Firefox. Configuration is handled in about:config. There is no auto-updating (unless you make a script for that) but you can quickly update using git pull in your terminal.

Open about:config and set the same prefs in the Manual installation.

Download and install Git if you haven't already.

Open your profile folder which you can find by going to about:support and opening your profile folder/directory.

If you're in a file manager with a GUI (Explorer, Finder, etc.), open a terminal in the profile folder, usually by right clicking and clicking Open in Terminal (or similar). (example)

Copy (or type) this command into the terminal git clone https://github.com/zapSNH/zapsCoolPhotonTheme.git chrome and press enter. Make sure the terminal is in the profile folder (like Profiles > XXXXXXXX.profile_name_here) and not in any of its subfolders.

If you're using a version of Firefox that isn't the latest stable version then copy (or type) these commands into the terminal.

cd chrome
git checkout BRANCH_NAME

where BRANCH_NAME is your Firefox version (i.e. 115esr or nightly). (don't use the ones prefixed by webextension)

You're done! 🎉

Forks

If you're using a Firefox fork (e.g. Waterfox, Floorp, etc.), you can set these prefs in about:config for theme fixes and adjustments for your browser.

Pref Value Browser
uc.waterfox true Waterfox
uc.floorp true Floorp
uc.librewolf true LibreWolf
uc.tor true Tor Browser

Configuration

Config options are available at the Wiki.

An interactive configurator is available at https://zapsnh.github.io/zcpt-configurator/. To apply the settings, place the exported user.js file in your profile folder/directory (Profiles > XXXXXXXX.profile), launch Firefox, and then delete the user.js file afterwards.

For the WebExtension version, the configurator is can be found in the extension's option page (about:addons > zap's cool photon theme > Preferences/Options). The settings apply after you click Apply.

Miscellaneous

Firefox Photon icons were taken from the omni.ja file from Firefox 87. Other icons that were not in Firefox 87 were made by me.

Special thanks to:

zapscoolphotontheme's People

Contributors

zapsnh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

zapscoolphotontheme's Issues

Sidebar color defaults to either white or gray

Prerequisites

  • I have followed the installation guide.

Describe the Bug

No matter which theme I use, the sidebar color is either gray or white.

Expected Behavior

The sidebar color matches the rest of the theme.

Steps to Reproduce

  1. Open Firefox
  2. Press Ctrl+B or Ctrl+H

Screenshots

Screenshot (78)

OS

Windows 10

Browser Version

Firefox 125.0.3

Theme Version

v125

Additional Context

Have tried using the Firefox Color extension as well as several other themes from the Add-ons store to make sure it wasn't just mine. Also I installed manually.

Missing X button on tabs

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

I have been trying to figure out how to get the X button on all the tabs like it used to be before when you had many open tabs, but can't figure it out.

Screenshots

image

Additional Context

No response

Others

  • I am able to help with the feature request.

all navbar buttons are black on all themes

Prerequisites

  • I have followed the installation guide.

Describe the Bug

for some reason after firefox got updated i installed the latest version of the theme and now all of the icons are black..

Expected Behavior

the icons should be white in dark mode and not black

Steps to Reproduce

install the theme.

Screenshots

image

OS

Windows 10 22h2 x64

Browser Version

Mozilla Firefox 128.0.3

Theme Version

Release 128

Additional Context

No response

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.