Appearance jammy (#78)
* chore(appearance): add interface i18n phrases * wip: appearance page skeleton * wip: more work on the skeletop * wip: appearance * wip: add icons and more widgets to appearance page * wip: set the theme on entering and leaving the appearance panel * cleanup & layout improvements * wip(appearance): accent buttons * fixes fix default schemas, install methods, and appearance page * use git deps * clippy and cleanup * update libcosmic & fix illustration names * feat: cosmic-comp theme variables * use git deps * fix: add dep to control * fix: install libwayland-dev * udpate libcosmic * wip: reset to default button * refactor: color button improvements * feat: import / export themes * refactor: defaults for most color pickers and toggle for window hint * refactor: use a context drawer for the container background color * cleanup(appearance): box ThemeBuilder in Message * cleanup(appearance): clippy * fix(appearance): window hint toggle handling * chore: more entries for the default schema * fix: typo
This commit is contained in:
parent
7c3f77c5d4
commit
0b74b0e586
109 changed files with 2443 additions and 327 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,6 @@
|
|||
use button::StyleSheet as ButtonStyleSheet;
|
||||
use cosmic::iced_style::container::StyleSheet;
|
||||
use cosmic::iced_widget::text_input::{Icon, Side};
|
||||
|
||||
use cosmic::widget::{
|
||||
button, column, container, header_bar, icon, list_column, row, scrollable, text, text_input,
|
||||
Column,
|
||||
|
|
@ -312,7 +312,7 @@ impl Page {
|
|||
scrollable(
|
||||
column::with_children(vec![
|
||||
text(fl!("add-applet")).size(24).width(Length::Fill).into(),
|
||||
text_input::search_input(&fl!("search-applets"), &self.search, None)
|
||||
text_input::search_input(&fl!("search-applets"), &self.search)
|
||||
.on_input(move |s| {
|
||||
app::Message::PageMessage(msg_map(Message::Search(s)))
|
||||
})
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@ pub(crate) fn add_panel<
|
|||
fl!("panel-missing", "desc"),
|
||||
fl!("panel-missing", "fix"),
|
||||
])
|
||||
.view::<P>(move |_binder, page, section| {
|
||||
.view::<P>(move |_binder, _page, section| {
|
||||
// _descriptions = §ion.descriptions;
|
||||
settings::view_section(§ion.title)
|
||||
.apply(Element::from)
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ pub enum Message {
|
|||
DesktopWallpaper(desktop::wallpaper::Message),
|
||||
PanelApplet(desktop::panel::applets_inner::Message),
|
||||
DockApplet(desktop::dock::applets::Message),
|
||||
Appearance(desktop::appearance::Message),
|
||||
Input(input::Message),
|
||||
External { id: String, message: Vec<u8> },
|
||||
Page(Entity),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue