Skip to content

Commit

Permalink
replace hardcoded color to library reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Balcan committed Nov 28, 2024
1 parent 37702df commit fbdd719
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.platform.LocalConfiguration
import androidx.compose.ui.platform.LocalDensity
import androidx.compose.ui.res.stringResource
Expand Down Expand Up @@ -49,6 +48,7 @@ import org.dhis2.composetable.ui.TableSelection
import org.dhis2.composetable.ui.TableTheme
import org.dhis2.composetable.ui.compositions.LocalInteraction
import org.hisp.dhis.android.core.arch.helpers.DateUtils
import org.hisp.dhis.mobile.ui.designsystem.theme.TextColor
import kotlin.math.roundToInt

private const val LINE_LISTING_MAX_ROWS = 500
Expand Down Expand Up @@ -176,7 +176,7 @@ class GraphToTable {
LINE_LISTING_MAX_ROWS,
),
style = TextStyle(
color = Color(0xFF667685),
color = TextColor.OnSurfaceLight,
fontSize = 10.sp,
fontWeight = FontWeight.Normal,
fontFamily = FontFamily(Font(org.dhis2.ui.R.font.roboto_regular)),
Expand Down

0 comments on commit fbdd719

Please sign in to comment.