Changing Selection color in ubuntu[18.10] themes
up vote
2
down vote
favorite
I use Ant Dracula theme for my ubuntu. But selection color is pink color, which I want to change to different color. How can I change?
Theme Link is https://www.gnome-look.org/p/1099856/
and on firefox.
gnome themes customization
add a comment |
up vote
2
down vote
favorite
I use Ant Dracula theme for my ubuntu. But selection color is pink color, which I want to change to different color. How can I change?
Theme Link is https://www.gnome-look.org/p/1099856/
and on firefox.
gnome themes customization
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I use Ant Dracula theme for my ubuntu. But selection color is pink color, which I want to change to different color. How can I change?
Theme Link is https://www.gnome-look.org/p/1099856/
and on firefox.
gnome themes customization
I use Ant Dracula theme for my ubuntu. But selection color is pink color, which I want to change to different color. How can I change?
Theme Link is https://www.gnome-look.org/p/1099856/
and on firefox.
gnome themes customization
gnome themes customization
edited Nov 25 at 13:24
asked Nov 25 at 13:14
user23
354
354
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
we need to edit the file gtk.css
access the file by
sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
change /usr/share/themes
if you stored your file in ~/.themes
find the color #ff79c6
and change it to your preferred color in the initial lines.
it has major effect on themes.
/* 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;
there are 67 entries with the color #ff79c6, i have replaced all of them with #456789 in single shot. if you want to try each individual, you have to make trial and error of those 67 entries.
save the file & Close. Reboot to see the change.
I had thought of similar solution. But I was not able to find the exact color. How did you find it was this#ff79c6
color.
– user23
Nov 25 at 13:45
its generally bg_color some thing related to background.
– PRATAP
Nov 25 at 13:52
Please relook at "sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/".gtk.css
is a file not a folder.
– DK Bose
Nov 25 at 14:23
@DKBose yes, when you runsudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
it will get selected and ready to open when you press enter.
– PRATAP
Nov 25 at 14:24
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
we need to edit the file gtk.css
access the file by
sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
change /usr/share/themes
if you stored your file in ~/.themes
find the color #ff79c6
and change it to your preferred color in the initial lines.
it has major effect on themes.
/* 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;
there are 67 entries with the color #ff79c6, i have replaced all of them with #456789 in single shot. if you want to try each individual, you have to make trial and error of those 67 entries.
save the file & Close. Reboot to see the change.
I had thought of similar solution. But I was not able to find the exact color. How did you find it was this#ff79c6
color.
– user23
Nov 25 at 13:45
its generally bg_color some thing related to background.
– PRATAP
Nov 25 at 13:52
Please relook at "sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/".gtk.css
is a file not a folder.
– DK Bose
Nov 25 at 14:23
@DKBose yes, when you runsudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
it will get selected and ready to open when you press enter.
– PRATAP
Nov 25 at 14:24
add a comment |
up vote
1
down vote
accepted
we need to edit the file gtk.css
access the file by
sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
change /usr/share/themes
if you stored your file in ~/.themes
find the color #ff79c6
and change it to your preferred color in the initial lines.
it has major effect on themes.
/* 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;
there are 67 entries with the color #ff79c6, i have replaced all of them with #456789 in single shot. if you want to try each individual, you have to make trial and error of those 67 entries.
save the file & Close. Reboot to see the change.
I had thought of similar solution. But I was not able to find the exact color. How did you find it was this#ff79c6
color.
– user23
Nov 25 at 13:45
its generally bg_color some thing related to background.
– PRATAP
Nov 25 at 13:52
Please relook at "sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/".gtk.css
is a file not a folder.
– DK Bose
Nov 25 at 14:23
@DKBose yes, when you runsudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
it will get selected and ready to open when you press enter.
– PRATAP
Nov 25 at 14:24
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
we need to edit the file gtk.css
access the file by
sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
change /usr/share/themes
if you stored your file in ~/.themes
find the color #ff79c6
and change it to your preferred color in the initial lines.
it has major effect on themes.
/* 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;
there are 67 entries with the color #ff79c6, i have replaced all of them with #456789 in single shot. if you want to try each individual, you have to make trial and error of those 67 entries.
save the file & Close. Reboot to see the change.
we need to edit the file gtk.css
access the file by
sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
change /usr/share/themes
if you stored your file in ~/.themes
find the color #ff79c6
and change it to your preferred color in the initial lines.
it has major effect on themes.
/* 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;
there are 67 entries with the color #ff79c6, i have replaced all of them with #456789 in single shot. if you want to try each individual, you have to make trial and error of those 67 entries.
save the file & Close. Reboot to see the change.
edited Nov 25 at 14:13
answered Nov 25 at 13:34
PRATAP
1,7271523
1,7271523
I had thought of similar solution. But I was not able to find the exact color. How did you find it was this#ff79c6
color.
– user23
Nov 25 at 13:45
its generally bg_color some thing related to background.
– PRATAP
Nov 25 at 13:52
Please relook at "sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/".gtk.css
is a file not a folder.
– DK Bose
Nov 25 at 14:23
@DKBose yes, when you runsudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
it will get selected and ready to open when you press enter.
– PRATAP
Nov 25 at 14:24
add a comment |
I had thought of similar solution. But I was not able to find the exact color. How did you find it was this#ff79c6
color.
– user23
Nov 25 at 13:45
its generally bg_color some thing related to background.
– PRATAP
Nov 25 at 13:52
Please relook at "sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/".gtk.css
is a file not a folder.
– DK Bose
Nov 25 at 14:23
@DKBose yes, when you runsudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
it will get selected and ready to open when you press enter.
– PRATAP
Nov 25 at 14:24
I had thought of similar solution. But I was not able to find the exact color. How did you find it was this
#ff79c6
color.– user23
Nov 25 at 13:45
I had thought of similar solution. But I was not able to find the exact color. How did you find it was this
#ff79c6
color.– user23
Nov 25 at 13:45
its generally bg_color some thing related to background.
– PRATAP
Nov 25 at 13:52
its generally bg_color some thing related to background.
– PRATAP
Nov 25 at 13:52
Please relook at "sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/".
gtk.css
is a file not a folder.– DK Bose
Nov 25 at 14:23
Please relook at "sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/".
gtk.css
is a file not a folder.– DK Bose
Nov 25 at 14:23
@DKBose yes, when you run
sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
it will get selected and ready to open when you press enter.– PRATAP
Nov 25 at 14:24
@DKBose yes, when you run
sudo -H nautilus /usr/share/themes/Ant-Dracula/gtk-3.20/gtk.css/
it will get selected and ready to open when you press enter.– PRATAP
Nov 25 at 14:24
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095904%2fchanging-selection-color-in-ubuntu18-10-themes%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown