Skip to content

Commit c52eace

Browse files
committed
Improve cursor shape
1 parent 92eee3f commit c52eace

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/resources/theme.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ std::shared_ptr<Theme> Theme::default_dark() {
3737

3838
{
3939
auto style_box = style_box_normal;
40-
style_box.bg_color = ColorU(32, 32, 32, 150);
40+
style_box.bg_color = ColorU(32, 32, 32, 100);
41+
style_box.border_width = 0;
42+
style_box.corner_radius = 0;
4143
style_box.border_color = ColorU(67, 67, 67, 150);
4244
theme->button.styles["disabled"] = style_box;
4345
}
@@ -214,7 +216,9 @@ std::shared_ptr<Theme> Theme::default_light() {
214216

215217
{
216218
auto style_box = style_box_normal;
217-
style_box.bg_color = ColorU(223, 223, 223, 150);
219+
style_box.bg_color = ColorU(223, 223, 223, 100);
220+
style_box.border_width = 0;
221+
style_box.corner_radius = 0;
218222
style_box.border_color = ColorU(188, 188, 188, 150);
219223
theme->button.styles["disabled"] = style_box;
220224
}

0 commit comments

Comments
 (0)