summaryrefslogtreecommitdiffstats
path: root/style (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Simplify `scrollable` styling APILibravatar Héctor Ramón Jiménez2024-02-122-93/+39
|
* Introduce an appearance for a scrollable, ability to customize the scrollbar ↵Libravatar dtzxporter2024-02-122-4/+30
| | | | | | gap. Update scrollable.rs
* Hyperlink sources in `style::theme::palette`Libravatar Héctor Ramón Jiménez2024-02-111-38/+38
|
* Add Kanagawa, Moonfly, Nightfly, Oxocarbon themesLibravatar Var Bhat2024-02-112-0/+126
|
* add tokyo night themes and palettesLibravatar Var Bhat2024-02-112-0/+63
| | | | Source: https://github.com/enkia/tokyo-night-vscode-theme
* add catppuccin themesLibravatar Var Bhat2024-02-112-0/+86
|
* Use custom `Application::style` to enable transparencyLibravatar Héctor Ramón Jiménez2024-02-101-8/+9
|
* Invalidate `QRCode` cache on `Appearance` changeLibravatar Héctor Ramón Jiménez2024-02-091-1/+1
|
* Styling for QR Code using theme frameworkLibravatar Clark Moody2024-02-093-0/+62
|
* add border widths to toggler stylesheetLibravatar Giuliano Bellini s2947392024-02-072-4/+10
|
* Capitalize theme names in docs of `Theme`Libravatar Héctor Ramón Jiménez2024-02-031-6/+6
|
* Fix import style in `style::theme::palette`Libravatar Héctor Ramón Jiménez2024-02-031-1/+1
|
* Use `Theme::ALL` for theme selector in `styling` exampleLibravatar Héctor Ramón Jiménez2024-02-031-3/+13
|
* Capitalize theme names in `style::theme::palette`Libravatar Héctor Ramón Jiménez2024-02-031-18/+24
|
* Add Dracula, Nord, Solarized and Grubvox variants to `Theme`Libravatar Var Bhat2024-02-032-1/+115
|
* Use strong background for `Secondary` checkbox accentLibravatar Héctor Ramón Jiménez2024-02-011-2/+2
|
* Introduce support for disabling a `checkbox`Libravatar Alexander van Saase2024-02-012-2/+41
|
* Add `Shadow` to `container::Appearance`Libravatar Héctor Ramón Jiménez2024-01-202-2/+5
|
* Add `Shadow` to `button::Appearance`Libravatar Héctor Ramón Jiménez2024-01-201-4/+7
|
* Introduce `Border` struct analogous to `Shadow`Libravatar Héctor Ramón Jiménez2024-01-2013-152/+120
|
* Merge pull request #2163 from hicaru/svg_hoverLibravatar Héctor Ramón2024-01-182-0/+11
|\ | | | | added svg hover, for styles impl
| * added svg hover, for styles implLibravatar hicaru2023-12-122-0/+11
| |
* | Add `Theme` selector to `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-101-6/+30
| |
* | Add `explain` toggle to `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-101-0/+3
| |
* | Add basic controls to `layout` exampleLibravatar Héctor Ramón Jiménez2024-01-102-1/+31
|/
* Write documentation for the new text APIsLibravatar Héctor Ramón Jiménez2023-10-271-1/+1
|
* Merge branch 'master' into text-editorLibravatar Héctor Ramón Jiménez2023-10-273-10/+4
|\
| * Centralize `clippy` lints in `.cargo/config.toml`Libravatar Héctor Ramón Jiménez2023-09-201-6/+0
| |
| * Fix `clippy::default_trait_access`Libravatar Héctor Ramón Jiménez2023-09-201-3/+3
| |
| * Chore: Apply clippy docs keyword quotingLibravatar Yuri Astrakhan2023-09-191-1/+1
| | | | | | | | Add quotes a number of doc strings like `sRGB`
* | Introduce new `iced_highlighter` subcrateLibravatar Héctor Ramón Jiménez2023-09-191-15/+1
| |
* | Draft `Highlighter` APILibravatar Héctor Ramón Jiménez2023-09-172-2/+16
| |
* | Draft `Editor` API and `TextEditor` widgetLibravatar Héctor Ramón Jiménez2023-09-123-0/+161
|/
* Deny `broken_intradoc_links` and verify documentation in CILibravatar Héctor Ramón Jiménez2023-09-091-3/+5
|
* Use workspace dependencies and package inheritanceLibravatar Héctor Ramón Jiménez2023-09-041-17/+13
| | | | | | We are also taking this as a chance to synchronize the versions of all the crates! Because of this, we will skip the `0.11` version.
* Introduce `theme::Custom::with_fn` to generate completely custom themesLibravatar Héctor Ramón Jiménez2023-09-031-5/+22
|
* Bump versions :tada:Libravatar Héctor Ramón Jiménez2023-07-281-2/+2
|
* Add ability to drag pane to the pane grid edges & optional style for dragged ↵Libravatar Joao Freitas2023-07-061-1/+1
| | | | pane
* Change default styling of `Slider` to leverage rounded bordersLibravatar Héctor Ramón Jiménez2023-06-011-2/+2
|
* Add border_radius to slider railLibravatar Casper Storm2023-06-012-1/+4
|
* Upgrade `palette` dependencyLibravatar Clark Moody2023-05-252-11/+13
|
* Extend border radius on relevant widgetsLibravatar Casper Storm2023-05-2312-43/+43
|
* Support conversion from Fn trait to custom themeLibravatar Marien Zwart2023-05-211-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...instead of just from function pointers. I'm making this change not because I actually want to pass a closure, but to make passing a single fixed function work. This commit also simplifies the scrollable example slightly, and without the other half of this change that simplified example fails to compile with: ``` error[E0277]: the trait bound `iced::theme::ProgressBar: From<for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance {progress_bar_custom_style}>` is not satisfied --> examples/scrollable/src/main.rs:292:28 | 292 | .style(progress_bar_custom_style) | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance {progress_bar_custom_style}>` is not implemented for `iced::theme::ProgressBar` | | | required by a bound introduced by this call | = help: the trait `From<for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance>` is implemented for `iced::theme::ProgressBar` = note: required for `for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance {progress_bar_custom_style}` to implement `Into<iced::theme::ProgressBar>` note: required by a bound in `iced::widget::ProgressBar::<Renderer>::style` --> /home/marienz/src/iced/widget/src/progress_bar.rs:77:21 | 77 | style: impl Into<<Renderer::Theme as StyleSheet>::Style>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProgressBar::<Renderer>::style` ``` This happens because `progress_bar_custom_style` by itself is a function item, which is typically coerced to a function pointer when one is needed, but not in this case. It is possible to work around this on the caller's side, but especially since the compiler diagnostic for this is a bit rough (see https://github.com/rust-lang/rust/issues/100116) let's try to make it work out of the box.
* Merge pull request #1856 from jhff/pane_grid_split_with_dragged_paneLibravatar Héctor Ramón2023-05-192-11/+46
|\ | | | | [Feature] Enhance PaneGrid to split panes by drag & drop
| * Change name of hovered region style struct, reorder lines & export AppearanceLibravatar Joao Freitas2023-05-192-18/+18
| |
| * Add pane_grid functionality to split a pane with another paneLibravatar Joao Freitas2023-05-162-1/+36
| |
* | Implement `custom` helper for `theme::Button`Libravatar Héctor Ramón Jiménez2023-05-191-0/+9
| |
* | Remove `Builder` abstractions for gradientsLibravatar Héctor Ramón Jiménez2023-05-191-3/+3
| |
* | Added support for gradients as background variants + other optimizations.Libravatar Bingus2023-05-112-0/+6
|/
* Do not require `Copy` for text `StyleSheet::Style`Libravatar Ian Douglas Scott2023-04-281-20/+0
| | | | | | | | | | | | | | | | For most widgets, `Style` only requires `Default`. A few require `Clone`. Only this one requires `Copy`. Some of the types in the default theme has a custom variant requiring `Box<dyn Trait>`, or `Rc<dyn Trait>` to provide `Clone`, but this isn't possible if `Copy` is required. It would be good to also address the inconsistency of requiring `Clone` in some places and not others. This removes `style/src/text.rs` which is unused in this branch and thus confusing. If there's a reason to keep it, that can be removed from the change.