Skip to content

Commit 5fb7b0f

Browse files
authored
Merge branch 'main' into run_dialog_position
2 parents 6158bed + a64ed1c commit 5fb7b0f

File tree

6 files changed

+55
-7
lines changed

6 files changed

+55
-7
lines changed

src/panel/settings/settings_style.vala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ namespace Budgie {
154154
if (hit) {
155155
combobox_gtk.sensitive = true;
156156
ui_settings.bind("gtk-theme", combobox_gtk, "active-id", SettingsBindFlags.DEFAULT);
157-
combobox_gtk.active_id = ui_settings.get_string("gtk-theme");
158157
}
159158
}
160159
/* Icon themes */ {
@@ -172,7 +171,6 @@ namespace Budgie {
172171
if (hit) {
173172
combobox_icon.sensitive = true;
174173
ui_settings.bind("icon-theme", combobox_icon, "active-id", SettingsBindFlags.DEFAULT);
175-
combobox_icon.active_id = ui_settings.get_string("icon-theme");
176174
}
177175
}
178176

@@ -191,7 +189,6 @@ namespace Budgie {
191189
if (hit) {
192190
combobox_cursor.sensitive = true;
193191
ui_settings.bind("cursor-theme", combobox_cursor, "active-id", SettingsBindFlags.DEFAULT);
194-
combobox_cursor.active_id = ui_settings.get_string("cursor-theme");
195192
}
196193
}
197194
queue_resize();

src/theme/3.20/theme_hc.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
$variant: 'hc';
22

3+
// Used to reset all style properties set by the gtk theme
4+
%reset_style {
5+
background: none;
6+
box-shadow: none;
7+
margin: 0;
8+
text-shadow: none;
9+
-gtk-icon-shadow: none;
10+
-gtk-icon-transform: none;
11+
opacity: 1;
12+
min-width: 0;
13+
min-height: 0;
14+
padding: unset;
15+
font-size: unset;
16+
font-weight: unset;
17+
}
18+
19+
320
@import 'settings';
421
@import '../common/imports';
522
@import 'widgets';

src/theme/common/_colors.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$fg_color: if($variant == "default", white, black);
22

33
$selected_bg_color: if($variant == "default", #6bca81, black);
4-
$selected_fg_color: black;
4+
$selected_fg_color: if($variant == "default", black, white);
55

66
$warning_color: #f27835;
77
$error_color: #fc4138;

src/theme/common/_dialogs.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Base class for dialogs
22
@mixin budgie_dialog() {
3+
color: $fg_color;
34
background-color: transparent;
45
font-weight: normal;
56

src/theme/common/_menu.scss

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
.button:hover { -gtk-#{$image-effect}: none; }
88

99
label, #{$search} {
10-
color: darken(white, 0.1);
10+
color: darken($fg_color, 0.1);
1111

1212
&:disabled {
13-
color: transparentize(white, 0.4);
13+
color: transparentize($fg_color, 0.4);
1414
}
1515
}
1616

@@ -48,6 +48,14 @@
4848
> row {
4949
padding: 0;
5050
margin: 0;
51+
52+
&:focus {
53+
image, label {
54+
color: $selected_fg_color;
55+
}
56+
background-color: $selected_bg_color;
57+
}
58+
5159
}
5260

5361
button.flat {
@@ -87,6 +95,7 @@
8795
.image-button {
8896
@extend %reset_style;
8997

98+
color: $fg_color;
9099
transition-property: background-color;
91100
transition: 170ms ease-out;
92101
padding: 4px;
@@ -96,6 +105,12 @@
96105

97106
&:hover { background-color: transparentize(white, 0.9); }
98107
&:active { background-color: transparentize(white, 0.8); }
108+
&:focus {
109+
image, label {
110+
color: $selected_fg_color;
111+
}
112+
background-color: $selected_bg_color;
113+
}
99114
}
100115

101116
.user-icon-button {
@@ -108,6 +123,12 @@
108123

109124
&:hover { background-color: transparentize(white, 0.9); }
110125
&:active { background-color: transparentize(white, 0.8); }
126+
&:focus {
127+
image, label {
128+
color: $selected_fg_color;
129+
}
130+
background-color: $selected_bg_color;
131+
}
111132
}
112133
}
113134

@@ -119,9 +140,17 @@
119140
margin-bottom: 6px;
120141
padding: 8px;
121142

143+
> row:focus {
144+
image, label {
145+
color: $selected_fg_color;
146+
}
147+
background-color: $selected_bg_color;
148+
}
149+
122150
button {
123151
@extend %reset_style;
124152

153+
color: $fg_color;
125154
transition-property: background-color, color;
126155
transition: 170ms ease-out;
127156
padding: 4px 8px 4px 2px;
@@ -160,7 +189,7 @@
160189
transition: 170ms ease-out;
161190

162191
&:hover { background-color: transparentize(white, 0.9); }
163-
&:active, &:checked {
192+
&:active, &:checked, &:focus {
164193
label {
165194
color: $selected_fg_color;
166195
}

src/theme/common/_raven.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
.raven-notifications-view > .raven-background > .frame > list {
3232
@extend %reset_style;
3333

34+
.dim-label {
35+
color: $fg_color;
36+
}
37+
3438
.raven-notifications-group {
3539
.raven-notifications-group-header {
3640
padding: 0 4px;

0 commit comments

Comments
 (0)