package com.pixelized.biblib.ui.theme

import androidx.compose.runtime.Immutable
import androidx.compose.runtime.Stable
import androidx.compose.runtime.compositionLocalOf
import com.pixelized.biblib.ui.theme.color.BibLibColor
import com.pixelized.biblib.ui.theme.dimen.BibLibDimen
import com.pixelized.biblib.ui.theme.shape.BibLibShape
import com.pixelized.biblib.ui.theme.typography.BibLibTypography

val LocalBibLibTheme = compositionLocalOf<BibLibTheme> {
    error("BibLibTheme not ready yet.")
}

@Stable
@Immutable
data class BibLibTheme(
    val colors: BibLibColor,
    val dimen: BibLibDimen,
    val typography: BibLibTypography,
    val shapes: BibLibShape,
)