Commit graph

14 commits

Author SHA1 Message Date
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