/* * AUTO-GENERATED FILE. DO NOT EDIT. * * Font design tokens for Android. * * This file is intended for Compose-based Android projects. * * Note: Deprecated tokens are marked with @Deprecated annotation. */ package com.salesforce.android.sharedui.tokens import androidx.compose.ui.unit.sp object SalesforceCosmosFontFamily { @Deprecated("System font stack for your application.", replaceWith = ReplaceWith("slds.g.font.family-base")) val family get() = SalesforceCosmosFontFamily.familyBase // System font stack for your application. val familyBase = "system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" // Font Family Base. val familyMonospace = "Consolas, Menlo, Monaco, Courier, monospace" // Font Family Monospace. } object SalesforceCosmosFontWeight { val weight1 = 100 // Font Weight 1 | 100. val weight2 = 200 // Font Weight 2 | 200. val weight3 = 300 // Light | 300. val weight4 = 400 // Regular | 400. val weight5 = 500 // Font Weight 5 | 500. val weight6 = 600 // SemiBold | 600. val weight7 = 700 // Bold | 700. } object SalesforceCosmosFontSize { val sizeBase get() = SalesforceCosmosFontScale.scaleBase // Font Size Base | 13px. } object SalesforceCosmosFontScale { val scale1 = 14.sp // Font Scale 1 | 14px. val scale2 = 16.sp // Font Scale 2 | 16px. val scale3 = 20.sp // Font Scale 3 | 20px. val scale4 = 24.sp // Font Scale 4 | 24px. val scale5 = 28.sp // Font Scale 5 | 28px. val scale6 = 32.sp // Font Scale 6 | 32px. val scale7 = 40.sp // Font Scale 7 | 40px. val scale8 = 48.sp // Font Scale 8 | 48px. val scale9 get() = scale8 // Font Scale 9 | 48px. val scale10 get() = scale8 // Font Scale 10 | 48px. val scaleBase = 13.sp // Default font-scale ratio for your application. val scaleRatio = 1.15f // Font Scale Ratio | 1.15. val scaleNeg1 = 12.sp // Font Scale Neg 1 | 12px. val scaleNeg2 = 10.sp // Font Scale Neg 2 | 10px. val scaleNeg3 get() = scaleNeg2 // Font Scale Neg 3 | 10px. val scaleNeg4 get() = scaleNeg3 // Font Scale Neg 4 | 10px. val scaleVar1 get() = scale1 // Comfy (default) = 0.875rem | Compact = 0.875rem. val scaleVar2 get() = scale2 // Comfy (default) = 1rem | Compact = 0.875rem. val scaleVar3 get() = scale3 // Comfy (default) = 1.25rem | Compact = 1rem. val scaleVar4 get() = scale4 // Comfy (default) = 1.5rem | Compact = 1.25rem. val scaleVar5 get() = scale5 // Comfy (default) = 1.75rem | Compact = 1.75rem. val scaleVar6 get() = scale6 // Comfy (default) = 2rem | Compact = 2rem. val scaleVar7 get() = scale7 // Comfy (default) = 2.5rem | Compact = 2.5rem. val scaleVar8 get() = scale8 // Comfy (default) = 3rem | Compact = 3rem. val scaleVar9 get() = scaleVar8 // Comfy (default) = 3rem | Compact = 3rem. val scaleVar10 get() = scaleVar8 // Comfy (default) = 3rem | Compact = 3rem. val scaleVarBase get() = scaleBase // Default variable font-scale ratio for your application. val scaleVarNeg1 get() = scaleNeg1 // Comfy (default) = 0.75rem | Compact = 0.75rem. val scaleVarNeg2 get() = scaleNeg2 // Comfy (default) = 0.625rem | Compact = 0.625rem. val scaleVarNeg3 get() = scaleVarNeg2 // Comfy (default) = 0.625rem | Compact = 0.625rem. val scaleVarNeg4 get() = scaleVarNeg3 // Comfy (default) = 0.625rem | Compact = 0.625rem. } object SalesforceCosmosFontLineHeight { val lineHeight1 = 1f // Line-height 1. val lineHeight2 = 1.25f // Line-height 2. val lineHeight3 = 1.375f // Line-height 3. val lineHeight4 = 1.5f // Line-height 4. val lineHeight5 = 1.75f // Line-height 5. val lineHeight6 = 2f // Line-height 6. val lineHeightBase = 1.5f // Default line-height for your application. val lineHeightVarBase get() = lineHeightBase // Default variable line-height for your application. @Deprecated("Font Lineheight 1 | 16px.", replaceWith = ReplaceWith("slds.g.font.line.height.1")) val lineheight1 get() = lineHeight1 // Font Lineheight 1 | 16px. @Deprecated("Font Lineheight 2 | 20px.", replaceWith = ReplaceWith("slds.g.font.line.height.2")) val lineheight2 get() = lineHeight2 // Font Lineheight 2 | 20px. @Deprecated("Font Lineheight 3 | 22px.", replaceWith = ReplaceWith("slds.g.font.line.height.3")) val lineheight3 get() = lineHeight3 // Font Lineheight 3 | 22px. @Deprecated("Font Lineheight 4 | 24px.", replaceWith = ReplaceWith("slds.g.font.line.height.4")) val lineheight4 get() = lineHeight4 // Font Lineheight 4 | 24px. @Deprecated("Font Lineheight 5 | 28px.", replaceWith = ReplaceWith("slds.g.font.line.height.5")) val lineheight5 get() = lineHeight5 // Font Lineheight 5 | 28px. @Deprecated("Font Lineheight 6 | 32px.", replaceWith = ReplaceWith("slds.g.font.line.height.6")) val lineheight6 get() = lineHeight6 // Font Lineheight 6 | 32px. @Deprecated("Font Lineheight Base | 1.5.", replaceWith = ReplaceWith("slds.g.font.line.height.base")) val lineheightBase get() = lineHeightBase // Font Lineheight Base | 1.5. @Deprecated("Token slds.g.font.lineheight.var.base is deprecated", replaceWith = ReplaceWith("slds.g.font.line.height.var.base")) val lineheightVarBase get() = lineHeightVarBase } object SalesforceCosmosFontLineClamp { val lineClamp = 3f // Default line-clamp. }