@@ -257,15 +257,15 @@ const AnalyticsScreen: React.FC = () => {
257257 y1 = { 10 }
258258 x2 = { 30 }
259259 y2 = { CHART_HEIGHT - 30 }
260- stroke = { colors . border }
260+ stroke = { colors . border . default }
261261 strokeWidth = { 1 }
262262 />
263263 < Line
264264 x1 = { 30 }
265265 y1 = { CHART_HEIGHT - 30 }
266266 x2 = { CHART_WIDTH - 10 }
267267 y2 = { CHART_HEIGHT - 30 }
268- stroke = { colors . border }
268+ stroke = { colors . border . default }
269269 strokeWidth = { 1 }
270270 />
271271 { monthlyData . map ( ( data , index ) => {
@@ -295,7 +295,7 @@ const AnalyticsScreen: React.FC = () => {
295295 x = { x + barWidth / 2 }
296296 y = { y - 5 }
297297 fontSize = { 10 }
298- fill = { colors . text }
298+ fill = { colors . text . primary }
299299 textAnchor = "middle" >
300300 { formatCurrency ( data . amount , preferredCurrency ) }
301301 </ SvgText >
@@ -397,7 +397,7 @@ function createStyles(colors: ReturnType<typeof useThemeColors>) {
397397 container : { flex : 1 , backgroundColor : colors . background . primary } ,
398398 scrollView : { flex : 1 } ,
399399 header : { padding : spacing . lg , paddingBottom : spacing . md } ,
400- title : { ...typography . h1 , color : colors . text , marginBottom : spacing . xs } ,
400+ title : { ...typography . h1 , color : colors . text . primary , marginBottom : spacing . xs } ,
401401 subtitle : { ...typography . body , color : colors . textSecondary } ,
402402 dateRangeContainer : {
403403 flexDirection : 'row' ,
@@ -412,12 +412,12 @@ function createStyles(colors: ReturnType<typeof useThemeColors>) {
412412 borderRadius : borderRadius . md ,
413413 backgroundColor : colors . surface ,
414414 borderWidth : 1 ,
415- borderColor : colors . border ,
415+ borderColor : colors . border . default ,
416416 alignItems : 'center' ,
417417 } ,
418418 dateRangeButtonActive : { backgroundColor : colors . primary , borderColor : colors . primary } ,
419- dateRangeButtonText : { ...typography . body , color : colors . text } ,
420- dateRangeButtonTextActive : { color : colors . text , fontWeight : '600' } ,
419+ dateRangeButtonText : { ...typography . body , color : colors . text . primary } ,
420+ dateRangeButtonTextActive : { color : colors . text . inverse , fontWeight : '600' } ,
421421 summaryContainer : {
422422 flexDirection : 'row' ,
423423 paddingHorizontal : spacing . lg ,
@@ -426,14 +426,14 @@ function createStyles(colors: ReturnType<typeof useThemeColors>) {
426426 } ,
427427 summaryCard : { flex : 1 , alignItems : 'center' } ,
428428 summaryLabel : { ...typography . caption , color : colors . textSecondary , marginBottom : spacing . xs } ,
429- summaryValue : { ...typography . h2 , color : colors . text } ,
429+ summaryValue : { ...typography . h2 , color : colors . text . primary } ,
430430 chartCard : { marginHorizontal : spacing . lg , marginBottom : spacing . md } ,
431- chartTitle : { ...typography . h3 , color : colors . text , marginBottom : spacing . md } ,
431+ chartTitle : { ...typography . h3 , color : colors . text . primary , marginBottom : spacing . md } ,
432432 categoryList : { gap : spacing . md } ,
433433 categoryItem : { marginBottom : spacing . sm } ,
434434 categoryLeft : { flexDirection : 'row' , alignItems : 'center' , marginBottom : spacing . xs } ,
435435 categoryIcon : { fontSize : 20 , marginRight : spacing . sm } ,
436- categoryName : { ...typography . body , color : colors . text , flex : 1 } ,
436+ categoryName : { ...typography . body , color : colors . text . primary , flex : 1 } ,
437437 categoryRight : {
438438 flexDirection : 'row' ,
439439 alignItems : 'center' ,
@@ -442,7 +442,7 @@ function createStyles(colors: ReturnType<typeof useThemeColors>) {
442442 right : 0 ,
443443 top : 0 ,
444444 } ,
445- categoryCount : { ...typography . body , color : colors . text , fontWeight : '600' } ,
445+ categoryCount : { ...typography . body , color : colors . text . primary , fontWeight : '600' } ,
446446 categoryPercentage : {
447447 ...typography . caption ,
448448 color : colors . textSecondary ,
@@ -451,7 +451,7 @@ function createStyles(colors: ReturnType<typeof useThemeColors>) {
451451 } ,
452452 categoryBarContainer : {
453453 height : 8 ,
454- backgroundColor : colors . border ,
454+ backgroundColor : colors . border . default ,
455455 borderRadius : borderRadius . full ,
456456 overflow : 'hidden' ,
457457 } ,
@@ -468,14 +468,14 @@ function createStyles(colors: ReturnType<typeof useThemeColors>) {
468468 justifyContent : 'space-between' ,
469469 paddingVertical : spacing . md ,
470470 borderBottomWidth : 1 ,
471- borderBottomColor : colors . border ,
471+ borderBottomColor : colors . border . default ,
472472 } ,
473473 projectionItemLast : { borderBottomWidth : 0 } ,
474474 projectionLabel : { ...typography . body , color : colors . textSecondary } ,
475- projectionValue : { ...typography . body , color : colors . text , fontWeight : '600' } ,
475+ projectionValue : { ...typography . body , color : colors . text . primary , fontWeight : '600' } ,
476476 emptyState : { flex : 1 , justifyContent : 'center' , alignItems : 'center' , padding : spacing . xl } ,
477477 emptyIcon : { fontSize : 64 , marginBottom : spacing . md } ,
478- emptyTitle : { ...typography . h2 , color : colors . text , marginBottom : spacing . sm } ,
478+ emptyTitle : { ...typography . h2 , color : colors . text . primary , marginBottom : spacing . sm } ,
479479 emptyText : { ...typography . body , color : colors . textSecondary , textAlign : 'center' } ,
480480 } ) ;
481481}
0 commit comments