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:
parent
2b1b2d8b1a
commit
86837d0fe2
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 */
|
Loading…
x
Reference in New Issue
Block a user