Rename some themes

This commit is contained in:
daleclack 2023-11-09 10:56:39 +08:00
parent bad0e48b10
commit 90fe34c940
3 changed files with 3 additions and 4 deletions

View File

@ -7,8 +7,8 @@
/* @import url("resource://org/gtk/daleclack/reset.css"); */
.finder_box box{
background-color:alpha(white,0.55);
.finder_style box{
background-color:alpha(white,0.5);
}
.dock_style grid{

View File

@ -149,7 +149,6 @@ static void my_dock_init(MyDock *self)
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
// Pack widgets
// Dock position and mode, will be changable soon
gtk_widget_set_vexpand(self->icons_sw, TRUE);
gtk_widget_set_valign(self->icons_sw, GTK_ALIGN_FILL);

View File

@ -137,7 +137,7 @@ void my_finder_add_style(MyFinder *finder, GtkCssProvider *provider)
{
// Main finder style
GtkWidget *parent = gtk_widget_get_parent(GTK_WIDGET(finder));
gtk_widget_add_css_class(parent, "finder_box");
gtk_widget_add_css_class(parent, "finder_style");
gtk_style_context_add_provider_for_display(gtk_widget_get_display(parent),
GTK_STYLE_PROVIDER(provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);