package de.arxsilex.maptools.converter.desktop

import androidx.compose.ui.graphics.Color

internal data class SelectionVisualStyle(
    val fillColor: Color,
    val outlineColor: Color,
    val outlineWidthDp: Float,
)

internal fun selectionVisualStyle(active: Boolean): SelectionVisualStyle = if (active) {
    SelectionVisualStyle(
        fillColor = Petrol900.copy(alpha = 0.20f),
        outlineColor = Amber300,
        outlineWidthDp = 3f,
    )
} else {
    SelectionVisualStyle(
        fillColor = Petrol900.copy(alpha = 0.12f),
        outlineColor = Petrol860.copy(alpha = 0.88f),
        outlineWidthDp = 2f,
    )
}
