From 35e9b0f82766c17dd4902590b6bee2f17c031b74 Mon Sep 17 00:00:00 2001 From: JMS55 <47158642+JMS55@users.noreply.github.com> Date: Wed, 20 Dec 2023 22:42:10 -0800 Subject: [PATCH] Add outline attribute --- src/elements.rs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/elements.rs b/src/elements.rs index a875132..0e1022c 100644 --- a/src/elements.rs +++ b/src/elements.rs @@ -30,12 +30,15 @@ macro_rules! node_attributes { pub const padding_right: AttributeDescription = ("padding_right", None, false); pub const padding_top: AttributeDescription = ("padding_top", None, false); pub const padding_bottom: AttributeDescription = ("padding_bottom", None, false); - pub const border_size: AttributeDescription = ("border_size", None, false); - pub const border_size_left: AttributeDescription = ("border_size_left", None, false); - pub const border_size_right: AttributeDescription = ("border_size_right", None, false); - pub const border_size_top: AttributeDescription = ("border_size_top", None, false); - pub const border_size_bottom: AttributeDescription = ("border_size_bottom", None, false); + pub const border_width: AttributeDescription = ("border_width", None, false); + pub const border_width_left: AttributeDescription = ("border_width_left", None, false); + pub const border_width_right: AttributeDescription = ("border_width_right", None, false); + pub const border_width_top: AttributeDescription = ("border_width_top", None, false); + pub const border_width_bottom: AttributeDescription = ("border_width_bottom", None, false); pub const border_color: AttributeDescription = ("border_color", None, false); + pub const outline_width: AttributeDescription = ("outline_width", None, false); + pub const outline_offset: AttributeDescription = ("outline_offset", None, false); + pub const outline_color: AttributeDescription = ("outline_color", None, false); pub const flex_direction: AttributeDescription = ("flex_direction", None, false); pub const flex_wrap: AttributeDescription = ("flex_wrap", None, false); pub const flex_grow: AttributeDescription = ("flex_grow", None, false);