package com.example.wabi.view.components.texts

import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.sp
import com.example.wabi.ui.theme.WabiTheme

@Composable
fun MainText(
    text: String,
    modifier: Modifier = Modifier,
    color: Color = WabiTheme.colors.mainColor,
    fontSize: Int = WabiTheme.fonts.mainFont.fontSize.value.toInt(),
    minLines: Int = 3,
    maxLines: Int = 3,
) {
    Text(
        text = text,
        style = WabiTheme.fonts.mainFont,
        color = color,
        modifier = modifier,
        minLines = minLines,
        maxLines = maxLines,
        fontSize = fontSize.sp
    )
}