Slingshot categories color bug in dark theme
Bug #1520344 reported by
DaneX92
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
elementary Stylesheet |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When Slingshot is opened for the first time, in category view, the categories are white which looks fine.
After that, every other time when Slingshot is opened categories are black which makes them difficult to see.
Changed in egtk: | |
status: | New → Fix Committed |
milestone: | none → loki-alpha1 |
Changed in egtk: | |
importance: | Undecided → Medium |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I played with elementary's css files for a while and actually figured it out. To correct this or similar bugs do the following.
1. Open /usr/share/ themes/ elementary/ gtk-3.0/ gtk-widgets- dark.css
2. Add following code at the end of the file: (feel free to change color values)
/* highlight color (similar to @colorAccent): #3C92FF */
/**** sidebar color customization ****/
/* default font color */
.source-list,
.source-list.view {
color: shade (@text_color, 0.90);
}
/* hover item color */ list.view: hover, list.view: focus:hover, list.category- expander: hover {
.source-
.source-
.source-
color: #FFF;
}
/* selected item color */ list.view: selected, list.view: selected: hover, list.view: focus:selected: hover, list.view: focus:selected {
.source-
.source-
.source-
.source-
color: @colorAccent;
}
/* partition hover color fix */ list.fill- block, list.fill- block:hover, list.fill- block:selected, list.fill- block:selected: hover, list.fill- block:selected: focus, list.fill- block:selected: focus:hover { image: none; color: mix (@colorAccent, @base_color, 0.25);
.source-
.source-
.source-
.source-
.source-
.source-
background-
background-
}
/****** ******* ******* ******* ******* ***/
/**** slingshot color customization ****/
/* default font color */
.popover .sidebar.view,
.popover .sidebar .view {
color: shade (@text_color, 0.90);
}
/* hover item color */ view:hover, view:focus: hover, category- expander: hover {
.popover .sidebar.
.popover .sidebar.
.popover .sidebar.
color: #FFF;
}
/* selected item color */ view:selected, view:selected: hover, view:focus: selected: hover, view:focus: selected {
.popover .sidebar.
.popover .sidebar.
.popover .sidebar.
.popover .sidebar.
color: @colorAccent;
}
/****** ******* ******* ******* ******* ***/
/********** selected items **********/
/* @base_color @text_color */ color: shade (@colorAccent, 0.80);
*:selected {
background-
color: @selected_fg_color;
}
/* @colorAccent @selected_fg_color */ color: alpha (@colorAccent, 0.9);
*:selected:focus {
background-
color: @selected_fg_color;
}
/****** ******* ******* ******* ******* **/