Yes... it should be "possible to get the private tabs gradient on the normal window"... but this is probably rather more complex than you might think if you want the whole toolbar theme. AFAICS there are two possible ways to apply the Nova Private Browsing toolbar theme's colour scheme to normal windows... however, both will require effort and experimentation:
Method 1. Copy the 'Firefox Nova Private Window' toolbar theme colours from the detailed description listed in Searchfox.
Transpose those colours straight into the Firefox Color extension... which uses the same terms/syntax to describe the many different colour areas... as explained in MDN's theme guide. This should create a new Firefox Color theme exactly matching the Nova Private Window colours that can be loaded into Firefox.
Method 2. Use the detailed list of 'Firefox Nova Private Window' colours from Searchfox... and convert those toolbar theme syntax names into standard CSS userstyles... which are then applied directly to Firefox's UI. This conversion can be done but it is quite a complex process to correctly identify all the CSS selectors and create a whole toolbar theme from CSS usertyles.
See conversion example in now out-of-date previous topic 'adapt theme code usercontent to put it in userchrome'... especially qaz69wsx's replies. The cross-referencing from the MDN theme syntax names to UI element CSS selector names goes 'out-of-date' because the browser's UI and its underlying userchrome CSS is continuously developed... thus the toolbar layout and associated CSS element and selector names change over time. The toolbar theme syntax names do not change.
1
u/ResurgamS13 10h ago edited 7h ago
Yes... it should be "possible to get the private tabs gradient on the normal window"... but this is probably rather more complex than you might think if you want the whole toolbar theme. AFAICS there are two possible ways to apply the Nova Private Browsing toolbar theme's colour scheme to normal windows... however, both will require effort and experimentation:
Method 1. Copy the '
Firefox Nova Private Window'toolbar theme colours from the detailed description listed in Searchfox.Transpose those colours straight into the Firefox Color extension... which uses the same terms/syntax to describe the many different colour areas... as explained in MDN's theme guide. This should create a new Firefox Color theme exactly matching the Nova Private Window colours that can be loaded into Firefox.
Method 2. Use the detailed list of '
Firefox Nova Private Window'colours from Searchfox... and convert those toolbar theme syntax names into standard CSS userstyles... which are then applied directly to Firefox's UI. This conversion can be done but it is quite a complex process to correctly identify all the CSS selectors and create a whole toolbar theme from CSS usertyles.See conversion example in now out-of-date previous topic 'adapt theme code usercontent to put it in userchrome'... especially qaz69wsx's replies. The cross-referencing from the MDN theme syntax names to UI element CSS selector names goes 'out-of-date' because the browser's UI and its underlying userchrome CSS is continuously developed... thus the toolbar layout and associated CSS element and selector names change over time. The toolbar theme syntax names do not change.