Commit graph

29 commits

Author SHA1 Message Date
Ashley Wulber
95bf466607 fix: scrollbar colors 2024-01-11 15:54:45 -05:00
Ashley Wulber
8157ed5c63 feat: apply overlay to headerbar when it loses focus 2024-01-11 15:54:32 -05:00
Ashley Wulber
8f88833d8e cargo fmt 2024-01-02 15:12:14 +01:00
Ashley Wulber
a4d1b1b651 refactor: cosmic-config granular key updates and remove unused generics from cosmic-theme 2024-01-02 15:12:14 +01:00
Ashley Wulber
ef657fb19d fix: icon button should not use on_accent color for text when hovered 2024-01-02 15:10:16 +01:00
Ashley Wulber
696437506c fix: missed one corner radius in segmented buttons 2023-12-13 13:20:35 -05:00
Ashley Wulber
310064ca1d refactor: use theme corner radii everywhere
not all values matched a default value but I picked the next closest in that case
2023-12-13 13:10:39 -05:00
Ashley Wulber
77b8718706 fix: headerbar and multi-window example improvements 2023-12-08 10:06:13 -05:00
Ashley Wulber
ad241c700a chore: implement text editor StyleSheet 2023-12-04 17:53:24 -05:00
Ashley Wulber
9202383596 chore: update to 0.12 2023-12-04 17:53:24 -05:00
Michael Aaron Murphy
bb7c7ac52a feat(widget): add dropdown::multi list widget 2023-11-30 22:20:12 +01:00
danieleades
8e99406a8b
chore: fixing linter warnings 2023-11-28 20:02:08 +01:00
Jeremy Soller
7ea8a6103b Format 2023-11-16 08:06:07 -07:00
Jeremy Soller
bad4400779 Add menu code, adapted from iced_aw 2023-11-16 08:06:07 -07:00
Michael Aaron Murphy
2c445d820f feat(image_button): add optional removable button overlay 2023-11-15 16:50:15 +01:00
Michael Aaron Murphy
14614e4e03 fix(button): image button rendering fixes 2023-11-13 12:14:51 +01:00
Michael Aaron Murphy
34386561b3 feat(button): add ImageButton widget variant 2023-11-03 16:41:31 +01:00
Michael Aaron Murphy
ca7c17ce21 feat(widget): add dropdown widget as pick_list replacement
The Dropdown widget is based on the PickList widget from iced.
2023-10-24 19:45:21 +02:00
Ashley Wulber
a2bda49152 refactor: add applet button variants and a menu_button helper 2023-10-19 15:10:32 -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
ca3870ed13 fix(theme): header button icon color 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
Ashley Wulber
70077ca985 feat: color picker 2023-10-02 10:24:43 -04:00
Michael Aaron Murphy
586a5debe7 feat(theme): add Button::Transparent style 2023-09-19 17:22:20 +02:00
Michael Aaron Murphy
b404497e76
fix(widget): allow None for button text color to inherit from container 2023-09-18 08:28:57 +02:00
Ashley Wulber
c3ae2c0017 fix: ambiguous import 2023-09-15 17:21:28 +02:00
Michael Aaron Murphy
c2d62bad52 fix(button): icon style variant to inherit colors from container 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
2e11d62de5 feat(widget): custom style variant for button widget 2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
7f0943924a feat(theme): improvements and refactoring of theme module
fix: theme rebase
2023-09-14 01:38:56 +02:00