Commit graph

82 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
de21a651c0
Implement theme styling for Scrollable 2022-06-07 03:26:48 +02:00
Héctor Ramón Jiménez
ce53d3933c
Implement theme styling for TextInput 2022-06-07 01:11:35 +02:00
Héctor Ramón Jiménez
835877fc63
Implement theme styling for Checkbox 2022-06-04 03:26:53 +02:00
Héctor Ramón Jiménez
1388d71f03
Expose palette module in theme 2022-06-04 03:04:43 +02:00
Héctor Ramón Jiménez
77dc9dc2cb
Implement theme styling for ProgressBar 2022-06-01 02:40:42 +02:00
Héctor Ramón Jiménez
e4ca779e43
Introduce Custom style variant for Rule 2022-06-01 02:04:23 +02:00
Héctor Ramón Jiménez
c275fde67a
Implement theme styling for Rule 2022-06-01 01:56:46 +02:00
Héctor Ramón Jiménez
6f69df3d41
Implement theme styling for PaneGrid 2022-06-01 01:46:14 +02:00
Héctor Ramón Jiménez
3e2b6247f7
Implement theme styling for Toggler
... and wire up theming to the `styling` example.
2022-06-01 01:46:04 +02:00
Héctor Ramón Jiménez
28d09bfff1
Implement theme styling for Radio 2022-05-27 01:29:36 +02:00
Héctor Ramón Jiménez
d988d813d7
Introduce specific types for each palette::Extended field
We will have more control over color calculations for each semantic purpose this way.
2022-05-26 23:58:56 +02:00
Héctor Ramón Jiménez
cf0230072c
Rename Variant to Style and Style to Appearance 2022-05-26 23:07:34 +02:00
Héctor Ramón Jiménez
7f3b7075db
Rename theme::Definition to application::StyleSheet 2022-05-26 19:02:15 +02:00
Héctor Ramón Jiménez
5a39dad506
Tweak styling of Slider and improve contrast of Background 2022-05-26 05:31:25 +02:00
Héctor Ramón Jiménez
822a3cd04f
Let a Theme control the text_color of an application 2022-05-26 01:10:26 +02:00
Héctor Ramón Jiménez
3a820b45f3
Implement theme styling for Slider 2022-05-26 00:40:27 +02:00
Héctor Ramón Jiménez
03eda9b162
Let a Theme control the background color of an application
... and remove `Application::background_color`
2022-05-25 05:01:18 +02:00
Héctor Ramón Jiménez
2cfb307f8c
Implement basic theming Palette 2022-05-21 17:33:31 -04:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉 2022-05-02 22:07:53 +02:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉 2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
93285d85b0
Remove ambiguous text_color attributes for Checkbox and Radio
Instead, always use a `StyleSheet`.
2022-01-20 18:34:15 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files 2022-01-03 11:36:13 +07:00
Héctor Ramón Jiménez
998a04645d
Use commit hash in html_logo_url 2021-12-09 15:10:38 +07:00
daladim
d72b1493e0
Added icon in docs 2021-12-09 15:05:41 +07:00
Daniel May
1a6c912332 Add checkbox text_color styling 2021-11-14 11:35:12 +01:00
Héctor Ramón Jiménez
157a40a568
Introduce generic lifetime to Default implementation for style sheets 2021-11-02 16:02:05 +07:00
Héctor Ramón Jiménez
631e95ee0b
Move viewport argument to last position in mouse_interaction methods
This keeps the order of the arguments consistent with `draw`.
2021-11-02 15:03:29 +07:00
Héctor Ramón Jiménez
c9ed15782c
Introduce state lifetime for style_sheet in Toggler 2021-10-31 17:48:23 +07:00
Héctor Ramón Jiménez
0d3c9ef7bd
Reintroduce Box for style_sheet in TextInput 2021-10-31 17:45:57 +07:00
Héctor Ramón Jiménez
0c76e0307f
Reintroduce Box for style_sheet in Slider 2021-10-31 17:42:43 +07:00
Héctor Ramón Jiménez
eed19dcf81
Reintroduce Box for style_sheet in Scrollable 2021-10-31 17:39:24 +07:00
Héctor Ramón Jiménez
48490c3d87
Introduce state lifetime for style_sheet in Rule 2021-10-31 17:34:58 +07:00
Héctor Ramón Jiménez
bd7b086ec1
Reintroduce Box for style_sheet in Radio 2021-10-31 17:14:10 +07:00
Héctor Ramón Jiménez
d758006ee9
Introduce state lifetime for style_sheet in ProgressBar 2021-10-31 17:08:19 +07:00
Héctor Ramón Jiménez
6504dca059
Introduce state lifetime for style_sheet in PickList 2021-10-31 17:06:05 +07:00
Héctor Ramón Jiménez
89d50c0243
Reintroduce Box for style_sheet in PaneGrid 2021-10-31 17:04:44 +07:00
Héctor Ramón Jiménez
40a5de5811
Reintroduce Box for style_sheet in Container 2021-10-31 17:02:59 +07:00
Héctor Ramón Jiménez
fcc282bd76
Reintroduce Box for style_sheet in Checkbox 2021-10-31 16:58:02 +07:00
Héctor Ramón Jiménez
d36ce33a95
Reintroduce Box for style_sheet in Button 2021-10-31 16:53:18 +07:00
Héctor Ramón Jiménez
41394b4e90
Implement Widget::draw for PaneGrid 2021-10-25 15:37:28 +07:00
Héctor Ramón Jiménez
7c08c6bd13
Remove Renderer trait for Checkbox 2021-10-21 18:50:27 +07:00
Héctor Ramón Jiménez
d39ad717ed
Wire up styling to Radio in iced_native 2021-10-20 19:18:40 +07:00
Héctor Ramón Jiménez
e914888f57
Implement Widget::draw for TextInput 2021-10-20 18:40:39 +07:00
Héctor Ramón Jiménez
11bcb13427
Wire up styling to Slider in iced_native 2021-10-20 15:50:42 +07:00
Héctor Ramón Jiménez
3140cdc4ba
Wire up styling to Button in iced_native 2021-10-18 16:02:30 +07:00
Héctor Ramón Jiménez
d61cb58d92
Wire up container styling to iced_native 2021-10-18 15:36:32 +07:00
Héctor Ramón Jiménez
54a9a232f8
Draw scrollbar in Widget::draw for Scrollable 2021-10-18 14:48:33 +07:00
Billy Messenger
6c179379a0 tweak default rule style 2021-08-12 09:57:59 -05:00
Héctor Ramón Jiménez
1b36068847
Introduce placeholder_color to pick_list::Style 2021-07-22 20:22:32 +07:00