Commit graph

191 commits

Author SHA1 Message Date
Hojjat
fd20f09729 feat(context_menu): report open/close and reset on compositor dismissal 2026-09-10 17:32:27 +02:00
Hojjat
834cd366ee feat: add context menu support to selectable Text widget 2026-08-07 20:20:54 +02:00
Aadil
1f6dc991ea
fix(slider): adjust handle bounds and size for iced widget slider update 2026-07-27 14:16:25 +02:00
Ashley Wulber
63568a8d9c improv: feature gate for xdg_portal 2026-07-15 16:54:18 -04:00
Ashley Wulber
8e6aea650a fix: feature gates 2026-07-15 16:54:18 -04:00
Ashley Wulber
ee5d965983 fix: disabled menu buttons don't need to be transparent 2026-07-02 20:21:17 +02:00
Ashley Wulber
94d2c18a23 chore: dialog default to overlay 2026-07-01 15:10:28 -04:00
Ashley Wulber
f5fc392ba4 fix: opaque menu for overlay 2026-07-01 15:10:28 -04:00
Ashley Wulber
7d62b193f4 feat: improve handling of list items using data in theme 2026-07-01 15:10:28 -04:00
Ashley Wulber
2d7f66d528 refactor: remove extra opacity where it was added 2026-07-01 15:10:28 -04:00
Ashley Wulber
19142fd38e refactor opaque fallback 2026-07-01 15:10:28 -04:00
Ashley Wulber
d0b164d216 feat(blur): better align with designs and remove transparency from theme when not on wayland 2026-07-01 15:10:28 -04:00
Ashley Wulber
439109db04 wip: blurred transparency 2026-07-01 15:10:28 -04:00
Hojjat
147306d581 chore: update iced 2026-05-20 07:25:00 -04:00
Vukašin Vojinović
9c2a86a8f4 chore: add rustfmt config 2026-05-04 11:55:17 -04:00
Vukašin Vojinović
564ef834ce improv(theme): list_button style
This adds a new `list_button` field to theme, which makes ListItem buttons stay transparent when pressed. It's essentially a mix of `text_button` and `background.component`, without hover highlights (as per designs).
2026-04-28 13:59:25 +02:00
Vukašin Vojinović
8768bce2e2 fix(menu_bar): menu border radius 2026-04-27 15:28:03 +02:00
Rakshat
51be7dc42d
fix(menu_bar): use corner radius from theme for menu border 2026-04-27 15:00:52 +02:00
Vukašin Vojinović
9b465a8b5c feat(list_column): button list items 2026-04-16 17:19:36 +02:00
Hojjat
6caccaba33 fix: icon color when window is maximized 2026-04-09 12:54:32 -04:00
Ashley Wulber
413e63f62a chore: update features and feature gates 2026-03-30 22:25:27 -04:00
Ashley Wulber
e10459fb37 wip rebase updates 2026-03-04 12:04:32 -05:00
Vukašin Vojinović
b71a7c9edf improv: remove double coloring of content_container windows
This sets the main content and the header bar to transparent when `content_container` is true, so that things aren't colored twice and overlayed on top of each other.
This ensures that modifying color alpha behaves as expected, especially for frosted glass.
2026-01-27 18:07:35 -07:00
Cheong Lau
a27bb5e05d chore: apply clippy suggestions 2025-10-05 04:40:51 +02:00
Vukašin Vojinović
ad1672b881 fix: window corner handling 2025-10-03 14:28:34 -04:00
Ashley Wulber
03f07d2f1e fix: sharp corners & window state handling 2025-09-30 10:59:51 -04:00
Vukašin Vojinović
ea349aca82 chore: use std::syncLazyLock
Also migrates workspace members to Rust 2024.
2025-09-03 21:54:46 +02:00
Michael Aaron Murphy
e7b7c3a126 improv: enable dbus-config by default, but only for Linux targets 2025-08-20 17:31:26 +02:00
Michael Aaron Murphy
c10695600b
feat(segmented_button): add FileNav style with related widget improvements 2025-08-19 11:13:28 +02:00
Michael Aaron Murphy
5434dc95d5
feat(segmented_button): pressed state style 2025-08-13 12:13:05 +02:00
Michael Aaron Murphy
8badf73383
improv(segmented_button): nav bar, tab, and segmented control theme improvements 2025-08-12 17:52:59 +02:00
Ashley Wulber
05874e8ea2 fix: theme updates 2025-07-29 16:18:50 -04:00
Ashley Wulber
8ebd06bed0 chore: more style updates 2025-07-24 17:03:35 +02:00
Ashley Wulber
8c4cb2e54f chore: theme color updates 2025-07-21 22:59:30 +02:00
Vukašin Vojinović
ec7a531539 chore: use with_alpha() where applicable 2025-07-21 10:52:22 -04:00
Michael Aaron Murphy
1af2f4ffe5
chore: format 2025-06-23 17:50:28 +02:00
Ashley Wulber
92ec78ba29
feat: menu bar popups 2025-06-10 18:22:07 +02:00
Ashley Wulber
8fa4b1cae2 fix: card style 2025-04-30 21:36:41 +02:00
Michael Aaron Murphy
9b9600a5d6
fix(desktop): matching the wrong desktop enrties and not getting icons 2025-04-04 01:56:19 +02:00
Michael Aaron Murphy
0aa518984e
chore: format for 2024 edition 2025-03-21 13:33:07 +01:00
Michael Aaron Murphy
8cf372c9b9
perf: inline public getters/setters, and use non-generic inner functions
To reduce compile-times and avoid some overhead to binary size, this will modify some of our
generic functions to use non-generic inner functions where possible. The inner functions are
marked carefully with `#[inline(never)]` to prevent being inlined by LLVM at their callsites

While looking for generic functions to optimize, I have also taken the opportunity to annotate
public non-generic getters and setters with `#[inline]` to ensure that LLVM will inline them
across crate boundaries. By default, only generic functions are automatically inlined, and
only when enabling fat LTO are constant functions reliably inlined across crate boundaries.
2025-03-21 13:31:34 +01:00
Michael Aaron Murphy
ab887aeeac
feat: add cosmic::theme::spacing() 2025-03-21 13:20:45 +01:00
Ashley Wulber
337b80d4ca
feat: Tooltips and Better Surface Management 2025-03-14 16:56:21 +01:00
Vukašin Vojinović
617de4dc95 improv(app): visually align window corners to content 2025-03-12 22:41:32 +01:00
Ashley Wulber
508753ae69 feat: high contrast theme updates 2025-03-10 16:10:32 +01:00
Michael Aaron Murphy
ab6de5304b
chore(theme): avoid logging errors for unset config parameters 2025-02-19 15:37:59 +01:00
Dryadxon
bd8347f7fc fix: impl combo_box::Catalog 2025-01-13 15:45:27 -07:00
Vukašin Vojinović
58fc034459 fix(dropdown): styling 2024-12-25 04:42:24 +01:00
Vukašin Vojinović
2d06ec4226 fix(style): use radius_s for nav bar toggle 2024-12-25 04:42:24 +01:00
Michael Aaron Murphy
a02fa21d36
feat(button): add ListItem style 2024-12-10 16:35:24 +01:00