Improve light theme

This commit is contained in:
daleclack 2024-02-06 19:04:06 +08:00
parent cc263c77ed
commit 88e1f962a0
2 changed files with 16 additions and 1 deletions

View File

@ -41,7 +41,16 @@
color: black;
}
.default_style gridview{
.default_style gridview {
background-color: transparent;
color: black;
}
.default_style popover contents {
background-color: alpha(white, 0.5);
}
popover contents {
background-color: alpha(white, 0.5);
color: black;
}

View File

@ -353,6 +353,12 @@ static void my_dock_init(MyDock *self)
gtk_style_context_add_provider_for_display(gtk_widget_get_display(self->apps_view),
GTK_STYLE_PROVIDER(provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
// // The style for context menu
// gtk_widget_add_css_class(self->context_menu, "default_style");
gtk_style_context_add_provider_for_display(gtk_widget_get_display(self->context_menu),
GTK_STYLE_PROVIDER(provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
}
static void my_dock_class_init(MyDockClass *klass)