问题描述:
- 使用的是gtk-dusk的深色主题,桌面为xfce4
- 环境变量GTK2_RC_FILES文件的内容设置为了
include "/usr/share/themes/Xfce-dawn/gtk-2.0/gtkrc"
- 火狐浏览网页时很多区域为深色背景,黑色字体,导致阅读困难
解决:
- 进入preference->contents->colors,background选择白色,去除勾选use system colors
- 创建文件.mozilla/firefox/3sb1iqq8.default/chrome/userContent.css,输入以下内容:
input {
border: 2px inset white;
background-color: white;
color: black;
-moz-appearance: none !important;
}
textarea {
border: 2px inset white;
background-color: white;
color: black;
-moz-appearance: none !important;
}