(theme: &Theme)
| 212 | } |
| 213 | |
| 214 | fn annotation_style(theme: &Theme) -> container::Style { |
| 215 | let palette = theme.extended_palette(); |
| 216 | container::Style { |
| 217 | background: Some(palette.primary.weak.color.scale_alpha(0.3).into()), |
| 218 | text_color: Some(palette.primary.weak.text), |
| 219 | border: border::rounded(4) |
| 220 | .width(1) |
| 221 | .color(palette.primary.strong.color), |
| 222 | ..container::Style::default() |
| 223 | } |
| 224 | } |
nothing calls this directly
no outgoing calls
no test coverage detected