Michael Aaron Murphy
dbd6c978ba
chore(deps): update iced
2023-10-24 19:45:21 +02:00
Ashley Wulber
33412998c7
refactor(applet): add padded control
2023-10-24 16:52:18 +02:00
Michael Aaron Murphy
390de9a6cf
fix(headerbar): center-align center region of header bar
2023-10-24 16:46:46 +02:00
Ashley Wulber
a2bda49152
refactor: add applet button variants and a menu_button helper
2023-10-19 15:10:32 -04:00
Jeremy Soller
f3eb41c1d2
Update iced
2023-10-19 10:19:12 -06:00
Ashley Wulber
589b661752
fix(applet): applet popups should have a 1px border
2023-10-19 10:21:38 -04:00
Ashley Wulber
7cc791a3f5
feat: add support for dark / light mode switching ( #178 )
...
* feat: add support for dark / light mode switching and simultaneouscustom light / dark mode themes
* refactor(color-picker): optional initial color and fallback color
* refactor: used FixedPortion for layout of the settings item
This makes sure that the control always has at least the specified portion of the available space
* refactor: make all members of the ThemeBuilder public
* refactor: add and update palette colors
* fix(theme): typo and derive PartialEq for ThemeBuilder
* fix: update color picker usage
* feat: add more variables to the theme
* fix: radius on headerbar
* fix: Theme CosmicConfigEntry impl
* chore: specify rev of taffy
* fix: theme CosmicConfigEntry missing variables
* fix: apply theme type when theme mode changes
* wip: add plus icon to empty color picker button
* chore: fix rev and imports
* refactor(color-picker): allow custom size for the icon
* refactor(color_picker): make color_button public
* update iced
2023-10-16 16:19:04 -04:00
Michael Aaron Murphy
a91deacff5
chore(examples): update design-demo
2023-10-12 17:10:56 +02:00
Michael Aaron Murphy
ca3870ed13
fix(theme): header button icon color
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
395a90891d
refactor!(app): rename set_title to set_window_title
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
32eafb0c48
chore(config): apply rustfmt
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
a04c74f240
feat(app): set_context_title and set_header_title methods for ApplicationExt and Core
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
d620531e7e
feat(app): integrate ContextDrawer with context_drawer method
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
3127de3296
feat(widget): add ContextDrawer widget
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
8c86dae449
feat(rectangle_tracker): functions for widget and subscription
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
436a5825d7
chore(navigation): remove unused imports
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
2c680c8ae0
chore(color_picker): specify imports
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
21cc4124f0
chore(grid): remove unused Item struct
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
7ee1f545e1
chore(iced): enable advanced feature
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
48bffcbe0f
fix(button): text and icon color not set on icon buttons
2023-10-12 16:37:38 +02:00
Ian Douglas Scott
2c55285ad4
fix(grid): missing generic argument of Taffy
2023-10-11 22:01:34 +02:00
Ashley Wulber
aa76a1c820
chore: add exit_on_close to settings
2023-10-11 22:00:22 +02:00
Ashley Wulber
14f29631ad
update iced
2023-10-11 22:00:22 +02:00
Jeremy Soller
f0005165f3
cosmic-config: Add new_state constructor for storing state
2023-10-09 09:27:03 -06:00
Ashley Wulber
50cc1d2975
update iced
...
should fix handling of widget actions for applications with multiple surfaces
2023-10-09 10:08:21 -04:00
Michael Aaron Murphy
971a1fa89c
fix(grid): width set to Length::Fill causes 0-width layout
2023-10-04 16:08:37 +02:00
Michael Aaron Murphy
369cede7da
fix(grid): span of widgets across columns and rows
2023-10-04 16:08:37 +02:00
Michael Aaron Murphy
c937332322
fix(grid): enable configurable column and row alignment
2023-10-04 16:08:37 +02:00
Ashley Wulber
6448b75e76
refactor(color-picker): add method for getting the applied color
2023-10-03 00:40:33 +02:00
Victoria Brekenfeld
f91287dec2
chore: Update calloop ( #173 )
...
* chore: Update calloop
* chore: Allow compiling without windowing system
* CI: Add test without any features
2023-10-02 17:51:33 +02:00
Michael Aaron Murphy
e1d1b0bad5
feat(widget): initial implementation of Grid widget
2023-10-02 17:32:39 +02:00
Ashley Wulber
9ddadd330f
fix: applet button styles
2023-10-02 10:59:27 -04:00
Ashley Wulber
ebcaf242e9
fix(color-picker): tooltip
2023-10-02 10:24:43 -04:00
Ashley Wulber
7e286d0953
update iced
2023-10-02 10:24:43 -04:00
Ashley Wulber
70077ca985
feat: color picker
2023-10-02 10:24:43 -04:00
Ashley Wulber
449771bb22
update iced
2023-09-26 10:59:57 -04:00
Ashley Wulber
647f249490
chore: update iced
...
should fix DnD issues
2023-09-25 11:29:15 -04:00
Ashley Wulber
3829178c88
refactor: allow text input on_clear for more than just search_input
2023-09-21 15:25:13 -04:00
Victoria Brekenfeld
a40cf289bb
chore: Update freedesktop-icons
2023-09-21 14:17:35 +02:00
Ashley Wulber
1a1614b329
chore: update iced
2023-09-20 11:06:47 -04:00
Michael Aaron Murphy
d973dafba7
feat(widget): Reimplement FlexRow as iced::Widget
2023-09-20 16:43:52 +02:00
Michael Aaron Murphy
aa2dfe0ea5
fix(widget): unset max width for settings::view_column
2023-09-19 17:22:20 +02:00
Michael Aaron Murphy
8f9fde7fe8
fix(widget): set SegmentedButton icon color to be same as text
2023-09-19 17:22:20 +02:00
Michael Aaron Murphy
96549d1b84
fix(widget): default ListColumn spacing to 12
2023-09-19 17:22:20 +02:00
Michael Aaron Murphy
78647db0ea
chore(widget): set Button width and height with impl Into
2023-09-19 17:22:20 +02:00
Michael Aaron Murphy
9ceda6d704
feat(widget): add navigation with page_list_item and sub_page_header
2023-09-19 17:22:20 +02:00
Michael Aaron Murphy
586a5debe7
feat(theme): add Button::Transparent style
2023-09-19 17:22:20 +02:00
Ashley Wulber
5454a01461
fix(applet): use text button style
2023-09-18 19:48:27 +02:00
Michael Aaron Murphy
314e45e8ab
feat(widget): make public more button builder properties
2023-09-18 16:47:38 +02:00
Eduardo Flores
453cc6588e
fix(applet): styling improvements
2023-09-18 10:37:57 +02:00