{"id":21145602,"url":"https://github.com/eliverlara/firefox-sweet-theme","last_synced_at":"2025-05-15T08:05:52.104Z","repository":{"id":68518830,"uuid":"197866997","full_name":"EliverLara/firefox-sweet-theme","owner":"EliverLara","description":":candy: A dark and modern theme for firefox with vibrant colors","archived":false,"fork":false,"pushed_at":"2025-03-02T00:54:18.000Z","size":487,"stargazers_count":769,"open_issues_count":37,"forks_count":37,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-14T18:05:24.921Z","etag":null,"topics":["dark","firefox","neon","theme","vibrant"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EliverLara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"EliverLara","custom":"https://www.paypal.me/EliverLara/"}},"created_at":"2019-07-20T02:05:27.000Z","updated_at":"2025-04-13T02:44:59.000Z","dependencies_parsed_at":"2024-01-13T18:17:49.998Z","dependency_job_id":"1f16560c-9a7c-4c84-b6f8-f1d7b62362d4","html_url":"https://github.com/EliverLara/firefox-sweet-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliverLara%2Ffirefox-sweet-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliverLara%2Ffirefox-sweet-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliverLara%2Ffirefox-sweet-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EliverLara%2Ffirefox-sweet-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EliverLara","download_url":"https://codeload.github.com/EliverLara/firefox-sweet-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248933340,"owners_count":21185460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dark","firefox","neon","theme","vibrant"],"created_at":"2024-11-20T08:42:25.330Z","updated_at":"2025-04-14T18:05:44.915Z","avatar_url":"https://github.com/EliverLara.png","language":"CSS","funding_links":["https://github.com/sponsors/EliverLara","https://www.paypal.me/EliverLara/"],"categories":[],"sub_categories":[],"readme":"![Screenshot of the theme](images/preview.png)\n\n## Description\n\nA dark and modern theme for firefox\n\nThis theme is supposed to work with current supported Firefox releases:\n\n- Firefox 68.0\n- Firefox 68 ESR\n- Firefox 60 ESR\n- Firefox 69.0 Beta\n- Firefox 70.0 Nightly\n\n***Firefox 60 ESR issues:***\n\n*(Dark theme variant is broken in Firefox \u003c 67).*\n\n*https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme#Browser_compatibility*\n\n## Installation\n\n### Installation script\n```sh\ngit clone https://github.com/EliverLara/firefox-sweet-theme \u0026\u0026 cd firefox-sweet-theme\n./scripts/install.sh\n```\n\n#### Script options\n- -f `\u003cfirefox_folder\u003e` *optional*\n\t- Set custom Firefox folder path, for example `~/.mozilla/icecat/`.\n\t- Default: `~/.mozilla/firefox/`\n\n- -p `\u003cprofile_folder\u003e` *optional*\n\t- Set custom profile folder name, for example `e0j6yb0p.default-nightly`\n\t- Default: `*.default` (standard default profile)\n\n- -g *optional*\n\t- Auto enable GNOMISH extra features `hide-single-tab.css` \u0026 `matching-autocomplete-width.css`\n\n\n### Manual installation\n1. Go to `about:support` in Firefox.\n\n2. Application Basics \u003e Profile Directory \u003e Open Directory.\n\n3. Open directory in a terminal.\n\n4. Create a `chrome` directory if it doesn't exist.\n\n\t```sh\n\tmkdir -p chrome\n\tcd chrome\n\t```\n\n5. Clone this repo to a subdirectory:\n\n\t```sh\n\tgit clone https://github.com/EliverLara/firefox-sweet-theme.git\n\t```\n\n6. Create single-line user CSS files if non-existent or empty (at least one line is needed for `sed`):\n\n\t```sh\n\t[[ -s userChrome.css ]] || echo \u003e\u003e userChrome.css\n\t```\n\n7. Import this theme at the beginning of the CSS files (all `@import`s must come before any existing `@namespace` declarations):\n\n\t```sh\n\tsed -i '1s/^/@import \"firefox-sweet-theme\\/userChrome.css\";\\n/' userChrome.css\n\t```\n\n8. Symlink preferences file:\n\n\t```sh\n\tln -s chrome/firefox-sweet-theme/configuration/user.js ../user.js\n\t```\n\n9. Restart Firefox.\n\n10. Open Firefox customization panel and move the new tab button to headerbar.\n\n11. Be happy with your new vibrant Firefox.\n\n\n## Uninstalling\n\n1. Go to your firefox profile folder. (Go to about:support in Firefox \u003e Application Basics \u003e Profile Directory \u003e Open Directory)\n\n2. Remove the `chrome` folder.\n\n\n## Enabling optional features\nOpen `chrome/firefox-sweet-theme/userChrome.css` with a text editor and follow instructions to enable extra features. Keep in mind this file might change in future versions and your configuration will be lost. You can copy the @imports you want to enable to a new file named `customChrome.css` directly in your `chrome/firefox-sweet-theme` directory if you want it to survive updates. Remember all @imports must be at the top of the file, before other statements.\n\nAlternatively you can run installation script with `-g` flag to auto install GNOMISH features.\n\n```sh\n./scripts/install.sh -g\n```\n\n*Those features are not included by default, because can introduce bugs or Firefox functionalities lost.*\n\n- **hide-single-tab.css** *GNOMISH*\n\n\tHide the tab bar when only one tab is open.\n\n\tYou should move the new tab button somewhere else for this to work, because by default it is on the tab bar too.\n\n- **matching-autocomplete-width.css** *GNOMISH*\n\n\tLimit the URL bar's autocompletion popup's width to the URL bar's width.\n\n- **system-icons.css**\n\n\tUse system theme icons instead of Adwaita icons included by theme.\n\n- **symbolic-tab-icons.css**\n\n\tMake all tab icons look kinda like symbolic icons.\n\n## Known bugs\n\n### CSD have sharp corners\nSee upstream [bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1408360).\n\n### Icons color broken with system-icons.css\nIcons might appear black where they should be white on some systems. I have no idea why, but you can adjust them directly in the `system-icons.css` file, look for `--gnome-icons-hack-filter` \u0026 `--gnome-window-icons-hack-filter` vars and play with css filters.\n\n## Development\n\nIf you wanna mess around the styles and change something, you might find these\nthings useful.\n\nTo use the Inspector to debug the UI, open the developer tools (F12) on any\npage, go to options, check both of those:\n\n- Enable browser chrome and add-on debugging toolboxes\n- Enable remote debugging\n\nNow you can close those tools and press Ctrl+Alt+Shift+I to Inspect the browser\nUI.\n\nAlso you can inspect any GTK3 application, for example type this into a terminal\nand it will run Epiphany with the GTK Inspector, so you can check the CSS styles\nof its elements too.\n\n```sh\nGTK_DEBUG=interactive epiphany\n```\n\nFeel free to use any parts of my code to develop your own themes, I don't force\nany specific license on your code.\n\n## Credits\nBased on the awesome [gnome theme](https://github.com/rafaelmardojai/firefox-gnome-theme) by **[Rafael Mardojai CM](https://github.com/rafaelmardojai)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliverlara%2Ffirefox-sweet-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliverlara%2Ffirefox-sweet-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliverlara%2Ffirefox-sweet-theme/lists"}