diff --git a/src/Yoda.php b/src/Yoda.php index e467d9f9..972d9b9b 100644 --- a/src/Yoda.php +++ b/src/Yoda.php @@ -36,4 +36,20 @@ $browser->gtk->connect( } ); +// Init theme +$css = new \GtkCssProvider; + +$css->load_from_file( + __DIR__ . + DIRECTORY_SEPARATOR . 'theme' . + DIRECTORY_SEPARATOR . 'default.css' +); + +$style = new \GtkStyleContext; + +$style->add_provider_for_screen( + $css, + 600 +); + \Gtk::main(); \ No newline at end of file diff --git a/src/theme/default.css b/src/theme/default.css new file mode 100644 index 00000000..e69de29b