Ashley Wulber
db8e791b87
Text input ( #143 )
...
* update: iced 0.10.0
* wip: text input
* wip: text inputs with icons and buttons
* wip: improve text input
* refactor: text input styling
* chore: add scale factor
* chore(text_input): add winit example and do some cleanup
2023-08-23 10:59:26 -04:00
Ian Douglas Scott
fcdefcd8fb
fix(app): set size_limits to None for autosize
...
With the default size limit, autosize applets don't work as expected.
Setting this to `None` seems to work fairly well, though maybe we'll
need to tune some of these settings more later.
2023-08-23 00:20:45 +02:00
Eduardo Flores
78c1facd5b
chore: allow &str as input for the icon theme
2023-08-21 22:09:36 +02:00
Ashley Wulber
12da20d184
chore: update cosmic-time
2023-08-21 15:47:01 -04:00
Ashley Wulber
69da283aeb
update iced
2023-08-21 15:47:01 -04:00
Ian Douglas Scott
2086a0ee0e
Don't require "a18y" for applet feature
...
Causing panic currently.
2023-08-18 16:47:10 -04:00
Ashley Wulber
4d63d06a7e
fix: make buttons text buttons again
2023-08-18 16:47:10 -04:00
Ashley Wulber
4f964a4bc8
fix(theme): use overlay colors directly for the text button
2023-08-18 16:47:10 -04:00
Ashley Wulber
be49bb2a25
refactor: switch applet back to secondary button
2023-08-18 16:47:10 -04:00
Ian Douglas Scott
9f36d33e34
Fix compilation errors with applet feature
2023-08-18 16:47:10 -04:00
Ashley Wulber
c1495d07e5
cleanup (applet): settings already has the system theme by default
2023-08-18 16:47:10 -04:00
Ashley Wulber
c474b3e955
wip: add applet module
2023-08-18 16:47:10 -04:00
Michael Aaron Murphy
a8ce524baa
refactor: combine open and save dialogs
2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
2602e28d22
chore(readme): improve descriptions and examples
2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
1705b6fe27
feat(dialog): XDG portal integrations for open and save dialogs
2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
a5d3814fff
fix(widget/header_bar): add padding between end elements and window controls
2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
e3f3dc2e82
fix(widget/button: padding causing misaligned text in button
2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
a387adcb1b
chore: improve documentation
2023-08-16 16:59:15 +02:00
Michael Aaron Murphy
0c57ec7446
chore: remove unused module
2023-08-16 16:59:15 +02:00
Ashley Wulber
fb2fb65af0
chore: use palette 0.7.3
2023-08-14 12:31:16 -04: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
dae262f466
fix: make surfaces lighter if possible in light mode
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
3507e9f4cf
refactor: make corner radius f32 so that it's easier to use with BorderRadius
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
40efcbbe31
refactor: use channel subscription for config subscriptions
2023-08-14 12:31:16 -04:00
Ashley Wulber
68225c78cd
fix: write spacing and corner_radii when writing the theme
2023-08-14 12:31:16 -04:00
Ashley Wulber
2dfa9dab5a
feat: add customization for status colors
2023-08-14 12:31:16 -04:00
Ashley Wulber
ea09abb892
cleanup: remove methods that aren't used anymore
2023-08-14 12:31:16 -04:00
Ashley Wulber
c819f94e74
feat: apply tints
2023-08-14 12:31:16 -04:00
Ashley Wulber
4c6912d351
fix: typo
2023-08-14 12:31:16 -04:00
Ashley Wulber
85f816f35b
fix: example
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
Ashley Wulber
607883e4ad
feat: add ThemeBuilder
2023-08-14 12:31:16 -04:00
Ashley Wulber
620c1adb74
wip: theme update & some cleanup
2023-08-14 12:31:16 -04:00
Ian Douglas Scott
54d47a1b38
app/settings: Don't use strip_option ( #137 )
...
Since these don't default to `None`, and the fields aren't public, using
`strip_option` makes it impossible to change them to `None`.
2023-08-03 13:12:32 -07:00
Michael Murphy
a223b60a0c
feat!: implement Application API
2023-08-02 11:54:07 +02:00
Ashley Wulber
e24465ba37
update(example): add button to cards and update cosmic-time
2023-07-28 14:01:14 -07:00
Ashley Wulber
785861a630
example: update cosmic-time and add extra row to each card
2023-07-28 14:01:14 -07:00
Ashley Wulber
5745ed3ffe
chore: examples of animated card usage
2023-07-28 14:01:14 -07:00
Ian Douglas Scott
4895b0c9bd
config: Implement fmt::Display and std::error::Error for Error ( #136 )
2023-07-28 12:44:57 -07:00
Ashley Wulber
ab88a5b59f
feat: animated image widget
2023-07-26 18:11:19 -04:00
Ashley Wulber
dd3f421c72
chore: update iced
2023-07-26 18:11:19 -04:00
Ian Douglas Scott
da9b6345d8
Add 'disabled' style for text-input, instead of panicking with todo!
2023-07-26 07:49:28 -06:00
Ian Douglas Scott
f77bd443d7
Use same sctk commit as iced
2023-07-25 09:33:37 -07:00
Ashley Wulber
a3ab6e93f3
chore: update theme colors
2023-07-21 15:29:57 -06:00
Ian Douglas Scott
b9bd41483d
Update iced ( #131 )
2023-07-20 14:05:23 -07:00
Ashley Wulber
f17d52f37f
card widget
2023-07-20 11:11:50 -04:00