({
theme,
customBackdropColor,
}: {
theme: InternalTheme;
customBackdropColor?: string;
})
| 311 | }; |
| 312 | |
| 313 | const getBackdropColor = ({ |
| 314 | theme, |
| 315 | customBackdropColor, |
| 316 | }: { |
| 317 | theme: InternalTheme; |
| 318 | customBackdropColor?: string; |
| 319 | }) => { |
| 320 | if (customBackdropColor) { |
| 321 | return customBackdropColor; |
| 322 | } |
| 323 | if (theme.isV3) { |
| 324 | return color(theme.colors.background).alpha(0.95).rgb().string(); |
| 325 | } |
| 326 | return theme.colors?.backdrop; |
| 327 | }; |
| 328 | |
| 329 | const getStackedFABBackgroundColor = ({ theme }: { theme: InternalTheme }) => { |
| 330 | if (theme.isV3) { |
no outgoing calls
no test coverage detected
searching dependent graphs…