Commit graph

161 commits

Author SHA1 Message Date
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
wiiznokes
b80d90e5ce
fix: compile for markdown feature 2024-12-03 05:13:54 +01:00
Vukašin Vojinović
a6db807c1b fix 2024-11-26 15:24:25 -05:00
Vukašin Vojinović
af7157b45a improv: window border corner appearance 2024-11-26 16:29:53 +01:00
wiiznokes
d79faab789
fix(widget): impl Catalog for qr_code 2024-11-19 20:03:31 +01:00
Vukašin Vojinović
dd79e900da fix(footer): corner radius 2024-11-18 19:59:59 -05:00
wiiznokes
568ff097d6 feat: export markdown iced feature 2024-11-07 01:22:32 +01:00
Vukašin Vojinović
2ce3e95cf6 fix(app): border radius
Increases the border radius by 1.0 to prevent some corner artifacts.
2024-11-05 15:36:02 -07:00
Ashley Wulber
d1aabecc16 fix: card button can't be transparent when disabled 2024-10-23 21:52:35 -06:00
Ashley Wulber
0491c4baaa libcosmic updates 2024-10-18 14:04:39 -04:00
Jeremy Soller
228eb4d70d
Only override icon button colors when it is disabled 2024-09-27 10:08:27 -06:00
Jeremy Soller
973018fdb7
Fix style of menu folders 2024-09-27 09:34:37 -06:00
Jeremy Soller
2006ebe447
Fix disabled icon button and menu item styles, fixes #621 2024-09-27 09:13:38 -06:00
Vukašin Vojinović
1046778d01 improv: spacing/padding fixes 2024-09-04 18:00:16 +02:00
Peter Krull
4c5ae65eb2
improv(toggle): Make handle and border radius concentric 2024-08-05 12:22:51 +02:00
Victoria Brekenfeld
b40839638a fix: Use globals instead of thread-locals
Better support for multi-threaded applications,
especially cosmic-comp rendering in parallel on
multiple threads, each potentially accessing
global configurations such as the active theme,
icon_theme and more...
2024-08-02 20:27:08 +02:00
Ashley Wulber
6f2c893cf5 feat: add overlay option to appearance for vertical icon button 2024-07-17 22:31:21 +02:00
Jeremy Soller
1e566c13aa
fix(theme): use accent color for text button icons and text 2024-07-11 14:02:28 -06:00
Michael Aaron Murphy
bd84f1f07d
fix(inline_input): wrong colors for focused style 2024-06-20 14:00:25 +02:00
Vukašin Vojinović
15a1a80178 chore: change inactive opacity to 50% 2024-06-14 22:56:48 +02:00
Michael Aaron Murphy
deb0348ad2
improv(text_input): increase border_width to 2.0 2024-06-12 02:19:44 +02:00
Ashley Wulber
428dafe37c fix: retry portal when it fails, and only apply theme changes when there is a relevant change 2024-05-22 15:41:56 -04:00
Ashley Wulber
2fc4184636 fix: window & headerbar radius 2024-05-21 20:00:10 +02:00
Michael Aaron Murphy
f9f8eb51cb
fix(menu_bar): root text will inherit icon color from header 2024-05-21 04:34:35 +02:00
Michael Aaron Murphy
0d4c3db162
chore(doc): inline re-exported API docs 2024-05-20 17:19:42 +02:00
Michael Aaron Murphy
9292ea647b feat: inactive window header icon/text colors 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
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
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
Michael Aaron Murphy
c091988af4 fix(button): icon styles should inherit text and icon colors from container 2024-04-26 17:00:24 +02:00