Michael Aaron Murphy
0ac4172b74
feat(widget): add editable_input widget
2024-04-09 21:22:06 +02:00
Ashley Wulber
d02a4fefff
fix: selected images should have a border
2024-03-19 11:32:36 -04:00
Ashley Wulber
e47684ffdb
refactor: icon styling and headerbar icon styling
...
Headerbar icons are transparent when their window is not focused, but otherwise share the same style as icons with selection. This updates the icon styles to match figma when selected.
2024-03-11 16:26:48 -04:00
Michael Aaron Murphy
736eca1150
fix(theme): Container::List has wrong background color on light theme
2024-03-05 08:35:47 -07:00
Michael Aaron Murphy
85898347e2
refactor(theme): create Container::List style variant
2024-03-05 08:35:47 -07:00
Michael Aaron Murphy
db5d989972
refactor(theme): create Container::ContextDrawer style variant
2024-03-05 08:35:47 -07:00
Ashley Wulber
be0742f209
chore: cleanup
2024-03-01 21:30:24 -05:00
Ashley Wulber
06b46f455b
wip: support desktop portal color-scheme, and accent variables
2024-03-01 21:30:24 -05:00
Ashley Wulber
c390b2614d
wip: support desktop portal color-scheme, and accent variables
2024-03-01 21:30:24 -05:00
Jeremy Soller
16aaf10b56
Add support for themed application dialog
2024-02-27 09:38:33 -07:00
Jeremy Soller
94905c5201
Add style for dialog
2024-02-26 16:56:23 -07:00
Ashley Wulber
09cd1a2319
chore(theme): clippy cleanup
2024-02-26 16:50:40 -07:00
Michael Aaron Murphy
ff9438c5ba
refactor!(widget): rename view_switcher to tab_bar to match Figma docs
2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
bfc84c4759
refactor!(widget): rename segmented_selection to segmented_control to match Figma docs
2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
366a450977
improv(segmented_button): rework layout, drawing, and styling to fix visual flaws
2024-02-26 19:17:49 +01:00
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