Skip to content

Commit 58729a3

Browse files
committed
feat: add caret-color property
1 parent 399eedc commit 58729a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

float-pigment-css/src/property.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ property_list! (PropertyValueWithGlobal, {
4242
0x10 Visibility: VisibilityType as Inherit default Visibility::Visible;
4343
0x11 Color: ColorType as Inherit default Color::Specified(0, 0, 0, 255);
4444
0x12 Opacity: NumberType as Initial default Number::F32(1.);
45+
0x13 CaretColor: ColorType as Inherit default Color::Undefined;
4546

4647
// flex
4748
0x20 FlexDirection: FlexDirectionType as Initial default FlexDirection::Row;
@@ -372,6 +373,7 @@ property_value_format! (PropertyValueWithGlobal, {
372373
}};
373374

374375
color: {{ Color = <color_repr> }};
376+
caret_color: {{ CaretColor = <color_repr> }};
375377
opacity: {{ Opacity = <number> }};
376378
z_index: {{ ZIndex
377379
= "auto" => ZIndexType::Auto

0 commit comments

Comments
 (0)