feat(client): redesign native UI, themes, settings and avatars
Separate conversation drafts and voice view state, add native settings and restricted CSS themes, implement validated avatar cropping, and refresh dependencies with documented desktop compatibility backports.
This commit is contained in:
parent
44d284a568
commit
8e5ab56611
276 changed files with 53546 additions and 3399 deletions
68
patches/changes/sctk-adwaita.patch
Normal file
68
patches/changes/sctk-adwaita.patch
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
--- a/sctk-adwaita/Cargo.toml
|
||||
+++ b/sctk-adwaita/Cargo.toml
|
||||
@@ -26,7 +26,7 @@
|
||||
optional = true
|
||||
|
||||
[dependencies.crossfont]
|
||||
-version = "0.8.0"
|
||||
+version = "0.9"
|
||||
optional = true
|
||||
|
||||
[dependencies.log]
|
||||
--- a/sctk-adwaita/src/parts.rs
|
||||
+++ b/sctk-adwaita/src/parts.rs
|
||||
@@ -128,7 +128,7 @@
|
||||
Self { parts }
|
||||
}
|
||||
|
||||
- pub fn parts(&self) -> std::iter::Enumerate<std::slice::Iter<Part>> {
|
||||
+ pub fn parts(&self) -> std::iter::Enumerate<std::slice::Iter<'_, Part>> {
|
||||
self.parts.iter().enumerate()
|
||||
}
|
||||
|
||||
--- a/sctk-adwaita/src/theme.rs
|
||||
+++ b/sctk-adwaita/src/theme.rs
|
||||
@@ -99,7 +99,7 @@
|
||||
}
|
||||
|
||||
impl ColorMap {
|
||||
- pub(crate) fn headerbar_paint(&self) -> Paint {
|
||||
+ pub(crate) fn headerbar_paint(&self) -> Paint<'_> {
|
||||
Paint {
|
||||
shader: Shader::SolidColor(self.headerbar),
|
||||
anti_alias: true,
|
||||
@@ -107,7 +107,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- pub(crate) fn button_idle_paint(&self) -> Paint {
|
||||
+ pub(crate) fn button_idle_paint(&self) -> Paint<'_> {
|
||||
Paint {
|
||||
shader: Shader::SolidColor(self.button_idle),
|
||||
anti_alias: true,
|
||||
@@ -115,7 +115,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- pub(crate) fn button_hover_paint(&self) -> Paint {
|
||||
+ pub(crate) fn button_hover_paint(&self) -> Paint<'_> {
|
||||
Paint {
|
||||
shader: Shader::SolidColor(self.button_hover),
|
||||
anti_alias: true,
|
||||
@@ -123,14 +123,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
- pub(crate) fn button_icon_paint(&self) -> Paint {
|
||||
+ pub(crate) fn button_icon_paint(&self) -> Paint<'_> {
|
||||
Paint {
|
||||
shader: Shader::SolidColor(self.button_icon),
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
- pub(crate) fn border_paint(&self) -> Paint {
|
||||
+ pub(crate) fn border_paint(&self) -> Paint<'_> {
|
||||
Paint {
|
||||
shader: Shader::SolidColor(self.border_color),
|
||||
..Default::default()
|
||||
Loading…
Add table
Add a link
Reference in a new issue