Follow the desktop accent colour and colour scheme (XDG portal) (#3)
CI / check (push) Successful in 9s
CI / native (push) Successful in 1m14s

This commit was merged in pull request #3.
This commit is contained in:
nandi committed 2026-11-23 01:56:20 +00:00
1 parent 02b08cb471
commit 1746884744
16 files changed
+947 -12

No files matched your search

+13
View File
@@ -24,6 +24,8 @@ pub fn notebook(on_switch? : (Int32) -> Unit) -> Widget
pub fn now_us() -> Int64
pub fn prefers_dark() -> Bool
pub fn quit() -> Unit
pub fn resolve_icon(Array[String]) -> String
@@ -36,6 +38,10 @@ pub fn scrolled(Widget) -> Widget
pub fn separator() -> Widget
pub fn set_accent_css(String) -> Unit
pub fn set_color_scheme(Int32) -> Unit
pub fn timeout(Int32, () -> Unit) -> Unit
pub fn toggle(String, String, (Bool) -> Unit) -> (Widget, Int32)
@@ -46,11 +52,18 @@ pub fn updating(() -> Unit) -> Unit
pub fn vbox(Int32) -> Widget
pub fn watch_appearance((Appearance) -> Unit) -> Bool
pub fn window(String, Int32, Int32, on_close? : () -> Unit) -> Widget
// Errors
// Types and methods
pub(all) struct Appearance {
accent : (Double, Double, Double)
color_scheme : Int32
}
#external
pub type Widget
pub fn Widget::add_css_class(Self, String) -> Unit