/**
 * The function takes three arguments: style, weight, and decoration.
 * It returns the appropriate font size based on the given style, weight, and decoration.
 * It uses the ternary operator with multiple conditions to determine the font size.
 *
 * @param style The style of the font (e.g., regular, bold, italic)
 * @param weight The weight of the font (e.g., 100, 200, ..., 900)
 * @param decoration The decoration of the font (e.g., none, underline, line-through)
 * @return The font size based on the given style, weight, and decoration
 *
 * Example:
 * getFontSize("bold", 700, "underline") // 32
 */
fun getFontSize(style: String, weight: Int, decoration: String): Int {

    return if (style == "bold" && weight >= 700 && decoration == "underline") {
        32
    } else if (style == "italic" && weight >= 700 && decoration == "underline") {
        20
    } else if (style == "regular" && weight >= 700 && decoration == "underline") {
        16
    } else {
        18
    }
}
/**
 * The function takes three arguments: style, weight, and decoration.
 * It returns the appropriate font size based on the given style, weight, and decoration.
 * It uses the ternary operator with multiple conditions to determine the font size.
 *
 * @param style The style of the font (e.g., regular, bold, italic)
 * @param weight The weight of the font (e.g., 100, 200, ..., 900)
 * @param decoration The decoration of the font (e.g., none, underline, line-through)
 * @return The font size based on the given style, weight, and decoration
 *
 * Example:
 * getFontSize("bold", 700, "underline") // 32
 */
fun getFontSize(style: String, weight: Int, decoration: String): Int {
/**
 * The function takes three arguments: style, weight, and decoration.
 * It returns the appropriate font size based on the given style, weight, and decoration.
 * It uses the ternary operator with multiple conditions to determine the font size.
 *
 * @param style The style of the font (e.g., regular, bold, italic)
 * @param weight The weight of the font (e.g., 100, 200, ..., 900)
 * @param decoration The decoration of the font (e.g., none, underline, line-through)
 * @return The font size based on the given style, weight, and decoration
 *
 * Example:
 * getFontSize("bold", 700, "underline") // 32
 */
fun getFontSize(style: String, weight: Int, decoration: String): Int {

    return if (style == "bold" && weight >= 700 && decoration == "underline") {
        32
    } else if (style == "italic" && weight >= 700 && decoration == "underline") {
        20
    } else if (style == "regular" && weight >= 700 && decoration == "underline") {
        16
    } else {
        18
    }
}