diff --git a/hui-examples/examples/text_weird.rs b/hui-examples/examples/text_weird.rs index 7de4eca..5d6ec2f 100644 --- a/hui-examples/examples/text_weird.rs +++ b/hui-examples/examples/text_weird.rs @@ -87,12 +87,24 @@ fn main() { })); if instant.elapsed().as_secs() & 1 != 0 { elem.push(Box::new(FrameView { - size: (Size::Relative(1.), Size::Absolute(10.)).into(), - frame: Box::new(vec4(1., 0., 0., 1.)), + size: (Size::Relative(1.), Size::Absolute(5.)).into(), + frame: Box::new(vec4(0.3569, 0.8078, 0.9804, 1.)), // Light Blue (#5BCEFA) })); elem.push(Box::new(FrameView { - size: (Size::Relative(1.), Size::Absolute(10.)).into(), - frame: Box::new(vec4(0., 0., 0., 1.)), + size: (Size::Relative(1.), Size::Absolute(5.)).into(), + frame: Box::new(vec4(0.9608, 0.6627, 0.7216, 1.)), // Pink (#F5A9B8) + })); + elem.push(Box::new(FrameView { + size: (Size::Relative(1.), Size::Absolute(5.)).into(), + frame: Box::new(vec4(1.0, 1.0, 1.0, 1.)), // White + })); + elem.push(Box::new(FrameView { + size: (Size::Relative(1.), Size::Absolute(5.)).into(), + frame: Box::new(vec4(0.9608, 0.6627, 0.7216, 1.)), // Pink (#F5A9B8) + })); + elem.push(Box::new(FrameView { + size: (Size::Relative(1.), Size::Absolute(5.)).into(), + frame: Box::new(vec4(0.3569, 0.8078, 0.9804, 1.)), // Light Blue (#5BCEFA) })); elem.push(Box::new(Spacer(100.))); elem.push(Box::new(Text {