Commit graph

1068 commits

Author SHA1 Message Date
Michael Aaron Murphy
31ea71deef
refactor(menu): remove redundant entity argument on MenuActions 2024-05-20 00:50:17 +02:00
Michael Aaron Murphy
b3bce0740e
refactor(menu): add menu::bar as shorthand for MenuBar::new 2024-05-20 00:45:26 +02:00
Michael Aaron Murphy
709ab268a0
refactor(app): iced::Command -> Command 2024-05-20 00:45:19 +02:00
Ashley Wulber
2af549f5b1 feat(button): on_press_down 2024-05-18 03:07:42 +02:00
Ashley Wulber
1ae9dae4cb fix(text_input): the trailing icon should always receive input 2024-05-17 22:28:57 +02:00
Ashley Wulber
107eeb5f1f fix: shrink applet text 2024-05-17 20:58:56 +02:00
Michael Aaron Murphy
69bf95765d fix(core): set default window focus to window::Id::MAIN 2024-05-17 20:58:38 +02:00
Michael Aaron Murphy
9292ea647b feat: inactive window header icon/text colors 2024-05-17 20:58:38 +02:00
Michael Aaron Murphy
1355588723 improv(button): specialize button for cosmic, and apply alpha to header buttons 2024-05-17 20:58:38 +02:00
Michael Aaron Murphy
c7dc5ab1ed fix(button): icon buttons should inherit text and icon color from container 2024-05-17 20:58:38 +02:00
Ashley Wulber
11a73354ca fix(text-input): avoid jumping to start of text as cursor blinks, and clipping text inside the input 2024-05-17 01:23:06 +02:00
Ashley Wulber
78a137214d chore: update zbus 2024-05-17 00:00:24 +02:00
Ashley Wulber
54eb5487b4 fix(applet): remove text color style 2024-05-15 16:19:32 -04:00
Ashley Wulber
be329403c1 cleanup(applet): replace todo for text size 2024-05-15 16:19:32 -04:00
Ashley Wulber
4bbb6c3cab fix: cosmic example 2024-05-15 16:19:32 -04:00
Ashley Wulber
1b63c9e38b chore: update libcosmic 2024-05-15 16:19:32 -04:00
Ashley Wulber
9677b74b89 feat(applet): scale text based on panel setting 2024-05-15 16:19:32 -04:00
Jeremy Soller
a2e2711061
fix(settings): set iced window exit_on_close_request 2024-05-14 08:04:09 -06:00
Ashley Wulber
9292004642 feat: allow preference for dark or light system theme
also converts applet to use preferred system theme
2024-05-14 07:36:08 -04:00
Ashley Wulber
84d77281cb fix: context-drawer border & radius 2024-05-13 20:00:34 +02:00
Jeremy Soller
ac95b571ec feat: allow on_app_exit to override closing the application 2024-05-13 17:39:21 +02:00
Ashley Wulber
cac3d0b5df chore(theme): set window.autoDetectColorScheme 2024-05-13 11:26:15 -04:00
Ashley Wulber
0ffe3f3a3e cargo fmt 2024-05-13 11:26:15 -04:00
Ashley Wulber
c1cfa024d6 feat: basic vscode theme export support 2024-05-13 11:26:15 -04:00
Ashley Wulber
05a9e7639f feat: update the headerbar to match figma
i don't think the alpha is actually working for the icon, but the color should match
2024-05-13 11:22:59 -04:00
Ashley Wulber
6a97435263 fix(cosmic-config): attempt to reconnect to the settings daemon 2024-05-12 21:27:22 +02:00
Michael Aaron Murphy
3cfc5c16a3 fix: avoid setting WGPU_POWER_PREF=low if system is desktop 2024-05-07 05:00:27 +02:00
Ashley Wulber
23f6fc8358 fix(applet): set the svg style to default if the icon is not symbolic 2024-05-06 19:07:22 -04:00
Ryan Brue
fec71fdda4 feat(applet): impl ToString for PanelType 2024-05-06 15:29:35 -06:00
Ryan Brue
e9aa969e61 feat(applet): add panel type attribute to applet context
This will allow applets to know whether they are on a Panel, Dock, or other named panel.
2024-05-06 17:02:32 -04:00
Ashley Wulber
3927a553fb chore: update window clipboard 2024-05-01 13:11:15 -06:00
Ashley Wulber
7a964772c2 cargo fmt 2024-05-01 11:52:07 -06:00
Ashley Wulber
ef635acb2b chore: update iced
fixes dnd surface cleanup for multi-window apps
2024-05-01 11:52:07 -06:00
Ian Douglas Scott
2ebf7e8e0a Update text_input widget for iced_sctk drag-and-drop change 2024-04-30 16:17:07 -07:00
Jeremy Soller
8cbf6ad563
Update iced 2024-04-30 12:18:15 -06:00
Ashley Wulber
9797df2b50 fix: update iced
fixes damage in tiny_skia & improves scrollbar handling of events.
2024-04-26 13:08:22 -06:00
Jeremy Soller
42cfdbf585
fix(app): restore on_context_drawer functionality that was removed in 59a913c 2024-04-26 10:22:51 -06:00
Michael Aaron Murphy
e556148942 fix(context-drawer): close button should use link button style 2024-04-26 17:00:24 +02:00
Michael Aaron Murphy
c091988af4 fix(button): icon styles should inherit text and icon colors from container 2024-04-26 17:00:24 +02:00
Michael Aaron Murphy
fe3f9464f7 fix(headerbar): container style should use accent color for icons 2024-04-26 17:00:24 +02:00
Michael Aaron Murphy
8c8dbd1420 fix(text_input): inherit text and icon colors from container 2024-04-26 17:00:24 +02:00
Eleven
084ce30478
feat(theme): GNOME sessions get dark theme preference from gsettings 2024-04-26 16:38:32 +02:00
Jeremy Soller
d138c86a11 nav_bar: allow setting close_icon and on_close 2024-04-25 20:18:56 -06:00
Ian Douglas Scott
a0ed887b7d
Update iced (#410) 2024-04-24 12:39:46 -07:00
Michael Aaron Murphy
14bd633356 improv(theme): theme generation improvements 2024-04-24 18:23:56 +02:00
Michael Aaron Murphy
950a1a54f5
fix(theme): increase dark theme lightness threshold to 91 so that the default theme matches designs 2024-04-23 10:56:19 +02:00
Michael Aaron Murphy
1adeadacf6
fix(theme): dark theme generation affected by previous commit 2024-04-22 23:52:29 +02:00
Michael Aaron Murphy
68becf32c2 fix(theme): light theme surface lightness is inverted
In Figma, themes with background lightness above 88 have their surfaces
darkened; whereas below 88 have their surfaces lightened. This fixes custom
light theme surfaces being unusually dark against a darker background.
2024-04-22 21:04:20 +02:00
Michael Aaron Murphy
9ffb87d21f feat(context_menu): add a context menu widget as menu tree alternative to the popover widget 2024-04-22 17:25:05 +02:00
Michael Aaron Murphy
c0b653f506
fix(segmented-button): crash when context menu is unassigned 2024-04-19 11:20:20 +02:00