Add LibreWolf template (userChrome.css / userContent.css) using the Noctalia palette - #83
Open
venus-fire wants to merge 1 commit into
Open
Add LibreWolf template (userChrome.css / userContent.css) using the Noctalia palette#83venus-fire wants to merge 1 commit into
venus-fire wants to merge 1 commit into
Conversation
…talia palette LibreWolf is a Firefox fork with the same native theming mechanism. Same CSS as the firefox template, adapted profile discovery for ~/.librewolf, the XDG ~/.config/librewolf layout (including the doubled librewolf/librewolf path), Flatpak and Snap.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Template
librewolfWhat it themes
LibreWolf is a Firefox fork, so this is the same CSS as the
firefox/template(native
userChrome.css/userContent.css), adapted to LibreWolf's profilelocations:
librewolf-userChrome.css— tab bar, navigation toolbar, URL bar + results,bookmarks bar, sidebar, find bar, menus/panels, context menus, dialogs,
autocomplete popups, download panel, web
selectdropdowns.librewolf-userContent.css—about:newtab/home,about:preferencesandits sub-dialogs,
about:addons,about:logins,about:protections,about:config,about:profiles, etc.Dark and light variants are generated; the browser switches via
prefers-color-scheme. No extension required.Testing
Tested as a user template (Noctalia v5.0.0), applied via
noctalia msg templates-apply.profile under
~/.config/librewolf/librewolf/)Screenshots
Hooks
prefs.js(
~/.librewolf,$XDG_CONFIG_HOME/librewolfincluding the doubledlibrewolf/librewolf/layout, Flatpak, Snap), creates the profilechrome/dir, adds the Noctalia
@importlines touserChrome.css/userContent.css,and enables
toolkit.legacyUserProfileCustomizations.stylesheets,svg.context-properties.content.enabledanddevtools.chrome.enabledthrough the profile's
user.js.Checklist
[catalog.librewolf]id intemplate.toml.categoryis one of:ai,audio,browser,chat,compositor,editor,gaming,launcher,system,terminal,misc.input_pathnames a file that exists in this directory.