pub struct ImcbHighlightConfig {
pub imcb_border_color: Option<Rgba>,
pub imcb_background_color: Option<Rgba>,
pub insets_background_color: Option<Rgba>,
pub insets_hatch_color: Option<Rgba>,
pub anchor_border_color: Option<Rgba>,
pub anchor_background_color: Option<Rgba>,
pub show_position_area_grid: Option<bool>,
pub position_area_grid_line_color: Option<Rgba>,
pub position_area_active_region_color: Option<Rgba>,
}Expand description
Configuration for Inset-Modified Containing Block (IMCB) and CSS Anchor Positioning highlight.
Fields§
§imcb_border_color: Option<Rgba>Border color for the Inset-Modified Containing Block (default: transparent).
imcb_background_color: Option<Rgba>Background fill color for the Inset-Modified Containing Block (default: transparent).
insets_background_color: Option<Rgba>Fill color for the inset modifiers area (difference between CB and IMCB).
insets_hatch_color: Option<Rgba>Hatch color for the inset modifiers area.
anchor_border_color: Option<Rgba>Border color for the referenced target anchor element(s) (when element is anchor-positioned).
anchor_background_color: Option<Rgba>Background fill color for the referenced target anchor element(s) (when element is anchor-positioned).
show_position_area_grid: Option<bool>Whether to render the 3x3 position-area grid lines when position-area is used.
position_area_grid_line_color: Option<Rgba>Line color for the 3x3 position-area grid lines.
position_area_active_region_color: Option<Rgba>Fill color for the active region within the position-area grid.