Изменение цвета выделения в темах Ubuntu 18.10

Я использую тему Ant Dracula для своей Ubuntu. Но цвет выделения является Розовым цветом, который я хочу изменить на другой цвет.

Как я могу измениться?

Ссылка темы является https://www.gnome-look.org/p/1099856/

Pink color on home

и на Firefox.

enter image description here

2
задан 13 March 2019 в 18:08

1 ответ

мы должны отредактировать файл gtk.css

получите доступ к файлу

sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/ изменение /usr/share/themes если Вы хранили свой файл в ~/.themes

найдите цвет #ff79c6 и изменитесь, это к Вашему предпочтительному раскрашивает начальные строки. это имеет главный эффект на темы.

/* GTK NAMED COLORS
   ----------------
   use responsibly! */
/* widget text/foreground color */
@define-color theme_fg_color #f8f8f2;
/* text color for entries, views and content in general */
@define-color theme_text_color #f8f8f2;
/* widget base background color */
@define-color theme_bg_color #1e1f29;
/* text widgets and the like base background color */
@define-color theme_base_color #282a36;
/* base background color of selections */
@define-color theme_selected_bg_color #ff79c6;
/* text/foreground color of selections */
@define-color theme_selected_fg_color #f8f8f2;
/* base background color of disabled widgets */
@define-color insensitive_bg_color #22232e;
/* text foreground color of disabled widgets */
@define-color insensitive_fg_color #8b8c8e;
/* disabled text widgets and the like base background color */
@define-color insensitive_base_color #282a36;
/* widget text/foreground color on backdrop windows */
@define-color theme_unfocused_fg_color #8b8c8e;
/* text color for entries, views and content in general on backdrop windows */
@define-color theme_unfocused_text_color #f8f8f2;
/* widget base background color on backdrop windows */
@define-color theme_unfocused_bg_color #1e1f29;
/* text widgets and the like base background color on backdrop windows */
@define-color theme_unfocused_base_color #2a2c39;
/* base background color of selections on backdrop windows */
@define-color theme_unfocused_selected_bg_color #ff79c6;
/* text/foreground color of selections on backdrop windows */
@define-color theme_unfocused_selected_fg_color #f8f8f2;
/* widgets main borders color */
@define-color borders rgba(25, 26, 34, 0.9);
/* widgets main borders color on backdrop windows */
@define-color unfocused_borders rgba(26, 27, 35, 0.91);
/* these are pretty self explicative */
@define-color warning_color #ff9f39;
@define-color error_color #ff3c3c;
@define-color success_color #4caec3;

существует 67 записей с цветом #ff79c6, я заменил всех их № 456789 в единственном выстреле. если Вы хотите судить каждого человека, необходимо сделать метод проб и ошибок из тех 67 записей.

сохраните файл и Близко. Перезагрузка для наблюдения изменения.

enter image description here

1
ответ дан 2 December 2019 в 04:39

Другие вопросы по тегам:

Похожие вопросы: