WhiteSur firefox theme
2023-10-30
火狐浏览器 Safari 主题
适用于 Firefox 80+ 的 MacOSX Safari 主题
这是一堆 CSS 代码,使 Firefox 看起来更接近 MacOSX Safari 主题。
基于 https://github.com/rafaelmardojai/firefox-gnome-theme
在终端中运行以下命令:
./install.sh
用法: ./install.sh
[选项...]
-m, --monterey
Install 'Monterey' theme for Firefox and connect it to the current Firefox profiles
-a, --alt
Install 'Monterey' theme alt version for Firefox and connect it to the current Firefox profiles
-A, --adaptive
Install Firefox adaptive color version...
-e, --edit
Edit 'WhiteSur' theme for Firefox settings and also connect the theme to the current Firefox profiles
-r, --remove, --revert
Remove themes, do the opposite things of install and connect
-h, --help
Show this help
如果你想编辑样式,那么:
运行./install.sh -e
如果你想使用Monterey
风格那么:
运行./install.sh -m
如果你想使用Monterey
alt
风格那么:
运行./install.sh -a
AdamXweb - WhiteSurFirefoxThemeMacOS:https://github.com/AdamXweb/WhiteSurFirefoxThemeMacOS
about:support
。chrome
文件夹 Firefox config 文件夹。about:config
。toolkit.legacyUserProfileCustomizations.stylesheets
并将其设置为true
。使用文本编辑器打开userChrome.css
,然后按照说明启用额外功能。请记住,此文件在未来版本中可能会发生更改,并且您的配置将会丢失。如果您希望它在更新中保留下来,您可以将要启用的@imports直接复制到您的chrome
目录中名为customChrome
新文件中。请记住,所有 @import 必须位于文件顶部,位于其他语句之前。
请参阅上游错误。
about:config
页面layers.acceleration.force-enabled
首选项并将其设置为 true。about:config
页面mozilla.widget.use-argb-visuals
boolean
并单击添加按钮如果你想搞乱样式并改变一些东西,你可能会发现这些东西很有用。
要使用 Inspector 调试 UI,请在任意页面上打开开发人员工具 (F12),转到选项,选中这两项:
现在您可以关闭这些工具并按 Ctrl+Alt+Shift+I 来检查浏览器 UI。