1
0
mirror of https://github.com/YGGverse/Yoda.git synced 2025-03-13 06:01:21 +00:00

enable css features

This commit is contained in:
yggverse 2024-04-14 08:57:39 +03:00
parent 2b1b2d8b1a
commit 86837d0fe2
2 changed files with 17 additions and 3 deletions
src

@ -17,6 +17,22 @@ class App
// Init config
$this->config = \Yggverse\Yoda\Model\File::getConfig()->app; // @TODO
// Init theme
$css = new \GtkCssProvider();
$css->load_from_data(
\Yggverse\Yoda\Model\File::getTheme(
$this->config->theme
)
);
$style = new \GtkStyleContext();
$style->add_provider_for_screen(
$css,
600
);
// Init window
$this->window = new \GtkWindow;

@ -1,3 +1 @@
#boxMenu {}
#boxNavigation {}
#boxTab {}
/* Custom CSS */