File tree Expand file tree Collapse file tree
libs/getSplashBackgroundColor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import colors from '@styles/theme/colors' ;
2+
3+ function getSplashBackgroundColor ( ) {
4+ return colors . green400 ;
5+ }
6+
7+ export default getSplashBackgroundColor ;
Original file line number Diff line number Diff line change 1+ import colors from '@styles/theme/colors' ;
2+
3+ function getSplashBackgroundColor ( ) {
4+ return colors . productDark100 ;
5+ }
6+
7+ export default getSplashBackgroundColor ;
Original file line number Diff line number Diff line change 1- import getPlatform from '@libs/getPlatform ' ;
1+ import getSplashBackgroundColor from '@libs/getSplashBackgroundColor ' ;
22import colors from '@styles/theme/colors' ;
33import type { ThemeColors } from '@styles/theme/types' ;
44import CONST from '@src/CONST' ;
55import SCREENS from '@src/SCREENS' ;
66
7- const platform = getPlatform ( ) ;
8-
97const darkTheme = {
108 // Figma keys
119 appBG : colors . productDark100 ,
12- splashBG : platform === CONST . PLATFORM . WEB || platform === CONST . PLATFORM . IOS ? colors . productDark100 : colors . green400 ,
10+ splashBG : getSplashBackgroundColor ( ) ,
1311 highlightBG : colors . productDark200 ,
1412 border : colors . productDark400 ,
1513 borderLighter : colors . productDark400 ,
Original file line number Diff line number Diff line change 1- import getPlatform from '@libs/getPlatform ' ;
1+ import getSplashBackgroundColor from '@libs/getSplashBackgroundColor ' ;
22import colors from '@styles/theme/colors' ;
33import type { ThemeColors } from '@styles/theme/types' ;
44import CONST from '@src/CONST' ;
55import SCREENS from '@src/SCREENS' ;
66
7- const platform = getPlatform ( ) ;
8-
97const lightTheme = {
108 // Figma keys
119 appBG : colors . productLight100 ,
12- splashBG : platform === CONST . PLATFORM . WEB || platform === CONST . PLATFORM . DESKTOP ? colors . productDark100 : colors . green400 ,
10+ splashBG : getSplashBackgroundColor ( ) ,
1311 highlightBG : colors . productLight200 ,
1412 border : colors . productLight400 ,
1513 borderLighter : colors . productLight400 ,
You can’t perform that action at this time.
0 commit comments