struct Protocol::Overlay::HighlightConfig
- Protocol::Overlay::HighlightConfig
- Struct
- Value
- Object
Overview
Configuration data for the highlighting of page elements.
Included Modules
- JSON::Serializable
Defined in:
protocol/overlay.crConstructors
Instance Method Summary
-
#border_color : DOM::RGBA | Nil
The border highlight fill color (default: transparent).
-
#color_format : ColorFormat | Nil
The color format used to format color styles (default: hex).
-
#container_query_container_highlight_config : ContainerQueryContainerHighlightConfig | Nil
The container query container highlight configuration (default: all transparent).
-
#content_color : DOM::RGBA | Nil
The content box highlight fill color (default: transparent).
-
#contrast_algorithm : ContrastAlgorithm | Nil
The contrast algorithm to use for the contrast ratio (default: aa).
-
#css_grid_color : DOM::RGBA | Nil
The grid layout color (default: transparent).
-
#event_target_color : DOM::RGBA | Nil
The event target element highlight fill color (default: transparent).
-
#flex_container_highlight_config : FlexContainerHighlightConfig | Nil
The flex container highlight configuration (default: all transparent).
-
#flex_item_highlight_config : FlexItemHighlightConfig | Nil
The flex item highlight configuration (default: all transparent).
-
#grid_highlight_config : GridHighlightConfig | Nil
The grid layout highlight configuration (default: all transparent).
-
#margin_color : DOM::RGBA | Nil
The margin highlight fill color (default: transparent).
-
#padding_color : DOM::RGBA | Nil
The padding highlight fill color (default: transparent).
-
#shape_color : DOM::RGBA | Nil
The shape outside fill color (default: transparent).
-
#shape_margin_color : DOM::RGBA | Nil
The shape margin fill color (default: transparent).
-
#show_accessibility_info : Bool | Nil
Whether the a11y info should be shown (default: true).
-
#show_extension_lines : Bool | Nil
Whether the extension lines from node to the rulers should be shown (default: false).
-
#show_info : Bool | Nil
Whether the node info tooltip should be shown (default: false).
-
#show_rulers : Bool | Nil
Whether the rulers should be shown (default: false).
-
#show_styles : Bool | Nil
Whether the node styles in the tooltip (default: false).
Constructor Detail
Instance Method Detail
The border highlight fill color (default: transparent).
The container query container highlight configuration (default: all transparent).
The content box highlight fill color (default: transparent).
The contrast algorithm to use for the contrast ratio (default: aa).
The event target element highlight fill color (default: transparent).
The flex container highlight configuration (default: all transparent).
The flex item highlight configuration (default: all transparent).
The grid layout highlight configuration (default: all transparent).
The margin highlight fill color (default: transparent).
The padding highlight fill color (default: transparent).
The shape outside fill color (default: transparent).
The shape margin fill color (default: transparent).
Whether the extension lines from node to the rulers should be shown (default: false).