From 08faaaf6234e93acb3b0dc8e10bf9c4cb266f21c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Tue, 7 Jan 2020 05:19:01 +0100 Subject: [PATCH] Color borders of `Checkbox` and `Radio` in `styling` example --- examples/styling.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/styling.rs b/examples/styling.rs index a11bf155..f0edfd82 100644 --- a/examples/styling.rs +++ b/examples/styling.rs @@ -311,9 +311,9 @@ mod style { fn active(&self) -> radio::Style { radio::Style { background: Background::Color(SURFACE), - dot_color: Color::WHITE, - border_width: 0, - border_color: Color::TRANSPARENT, + dot_color: ACTIVE, + border_width: 1, + border_color: ACTIVE, } } @@ -496,10 +496,10 @@ mod style { fn active(&self) -> checkbox::Style { checkbox::Style { background: Background::Color(SURFACE), - checkmark_color: Color::WHITE, + checkmark_color: ACTIVE, border_radius: 2, - border_width: 0, - border_color: Color::TRANSPARENT, + border_width: 1, + border_color: ACTIVE, } }