Michael Aaron Murphy
e90b584d91
improv(slider): add styling for breakpoint and right rail
2024-02-21 17:01:31 +01:00
Ashley Wulber
d0ff0b739d
fix: typo in button when setting border radius
2024-02-08 07:45:22 -05:00
Ashley Wulber
18b2b74b8d
fix: button border radius
2024-02-06 11:28:27 -05:00
Ashley Wulber
c571a289b4
fix: gap between corner of window content and headerbar
2024-02-06 11:28:27 -05:00
Ashley Wulber
f4ad098647
wip: update to use latest iced
2024-02-06 11:28:27 -05:00
Ashley Wulber
efe4ce2f5b
refactor: config improvements
2024-01-18 20:19:32 -07:00
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
06c33dcf06
refactor: optional config subscriptions using dbus
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
68f80daa67
chore(theme): remove unused expander module
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
Michael Aaron Murphy
4e4eeaac12
feat!(widget): rewrite button & icon widget APIs
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
a387adcb1b
chore: improve documentation
2023-08-16 16:59:15 +02:00
Ashley Wulber
20a5227eca
refactor: add button components to theme because they have different overlays than others when they are hovered or pressed
2023-08-14 12:31:16 -04:00
Ashley Wulber
1c5a233a98
chore: update toggler colors
2023-08-14 12:31:16 -04:00
Ashley Wulber
ff83f893ef
refactor: updates for buttons and checkboxes
2023-08-14 12:31:16 -04:00
Ashley Wulber
f8c25096fd
refactor: update existing buttons
2023-08-14 12:31:16 -04:00
Ashley Wulber
6c57e04e36
refactor: introduce thread local THEME variable and distinguish between custom and system theme settings
2023-08-14 12:31:16 -04:00
Ashley Wulber
a618c1b94a
wip: calculate theme using new method
2023-08-14 12:31:16 -04:00
Michael Murphy
a223b60a0c
feat!: implement Application API
2023-08-02 11:54:07 +02:00
Ian Douglas Scott
da9b6345d8
Add 'disabled' style for text-input, instead of panicking with todo!
2023-07-26 07:49:28 -06:00
Ashley Wulber
f17d52f37f
card widget
2023-07-20 11:11:50 -04:00
Ashley Wulber
850968715c
udpate iced to use latest rebase
2023-06-15 20:38:16 +02:00
Ashley Wulber
a8a2e4ad26
feat: theme helper methods
2023-06-12 12:16:31 -04:00