mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
replace features with adw 1.5 (support ubuntu 24.04 lts)
This commit is contained in:
parent
51431ca635
commit
297e54b2c1
5 changed files with 9 additions and 7 deletions
|
|
@ -11,7 +11,6 @@ use widget::Widget;
|
|||
use crate::app::browser::window::{
|
||||
action::Position, tab::item::Action as TabAction, Action as WindowAction,
|
||||
};
|
||||
use adw::StyleManager;
|
||||
use gemtext::line::{
|
||||
code::{Inline, Multiline},
|
||||
header::{Header, Level},
|
||||
|
|
@ -224,7 +223,8 @@ impl Reader {
|
|||
|
||||
// Create new tag for new link
|
||||
let a = TextTag::builder()
|
||||
.foreground_rgba(&StyleManager::default().accent_color_rgba()) // @TODO
|
||||
.foreground("#3584e4")
|
||||
// .foreground_rgba(&adw::StyleManager::default().accent_color_rgba()) @TODO adw 1.6 / ubuntu 24.10+
|
||||
.sentence(true)
|
||||
.wrap_mode(WrapMode::Word)
|
||||
.build();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue