diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 6f23e494c7e840c7511e248f9ffaff6f81a25809..8404c8c7f23199bd722c76acb6cccc2faac9687b 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2107,6 +2107,17 @@ typedef enum { */ NODE_POSITION_EDGES = 107, + /** + * @brief Set whether the component enables the ability to invert colors. + * This attribute can be set , and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: The parameter type is 1 or 0.\n + * + * @since 21 + */ + NODE_ALLOW_FORCE_DARK = 108, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. *