mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-05 16:04:15 +00:00
draft css provider
This commit is contained in:
parent
a372dd80bd
commit
5e88040bf0
@ -28,6 +28,18 @@ Reader::Reader(
|
||||
)
|
||||
);
|
||||
|
||||
// Connect CSS
|
||||
auto css = Gtk::CssProvider::create();
|
||||
|
||||
css->load_from_path(
|
||||
"src/app/browser/main/tab/page/content/text/gemini/reader.css" // @TODO
|
||||
);
|
||||
|
||||
get_style_context()->add_provider(
|
||||
css,
|
||||
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION
|
||||
);
|
||||
|
||||
// Connect signals
|
||||
signal_activate_link().connect(
|
||||
[this](const Glib::ustring & URI) -> bool
|
||||
|
@ -0,0 +1,4 @@
|
||||
label
|
||||
{
|
||||
caret-color: transparent;
|
||||
}
|
@ -5,6 +5,7 @@
|
||||
#include <glibmm/markup.h>
|
||||
#include <glibmm/regex.h>
|
||||
#include <glibmm/ustring.h>
|
||||
#include <gtkmm/cssprovider.h>
|
||||
#include <gtkmm/enums.h>
|
||||
#include <gtkmm/label.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user