diff options
| author | pml68 <contact@pml68.dev> | 2025-05-13 00:02:29 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-05-13 00:02:29 +0200 |
| commit | 4febea34098f021c78597882def2deeab5451f3f (patch) | |
| tree | ba0909b8dda34121e790b21d200a7d38fa1be07b /crates/material_theme/src/text_input.rs | |
| parent | Merge pull request #20 from pml68/feat/custom-theme (diff) | |
| download | iced-builder-4febea34098f021c78597882def2deeab5451f3f.tar.gz | |
chore: update `iced`
Diffstat (limited to '')
| -rw-r--r-- | crates/material_theme/src/text_input.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crates/material_theme/src/text_input.rs b/crates/material_theme/src/text_input.rs index ed5e02a..4db220b 100644 --- a/crates/material_theme/src/text_input.rs +++ b/crates/material_theme/src/text_input.rs @@ -36,10 +36,7 @@ pub fn default(theme: &Theme, status: Status) -> Style { match status { Status::Active => active, Status::Hovered => Style { - border: Border { - color: surface.on_surface, - ..active.border - }, + border: active.border.color(surface.on_surface), ..active }, Status::Disabled => Style { |
