Skip to content

Commit 2d12d06

Browse files
authored
Merge pull request #81 from YAPP-Github/develop
[TEST] λ―Έμ…˜-μš΄μ„Έ 데λͺ¨μ•±μ„ λ°°ν¬ν•©λ‹ˆλ‹€.
2 parents efc7913 + a585b33 commit 2d12d06

File tree

87 files changed

+2915
-679
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+2915
-679
lines changed

β€Žcore/common/src/main/java/com/yapp/common/navigation/OrbitNavigator.ktβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import androidx.navigation.NavHostController
77
import androidx.navigation.compose.currentBackStackEntryAsState
88
import androidx.navigation.compose.rememberNavController
99
import androidx.navigation.navOptions
10-
import com.yapp.common.navigation.destination.OnboardingDestination
10+
import com.yapp.common.navigation.destination.MissionDestination
1111
import com.yapp.common.navigation.destination.TopLevelDestination
1212

1313
class OrbitNavigator(
1414
val navController: NavHostController,
1515
) {
16-
val startDestination = OnboardingDestination.Route.route
16+
val startDestination = MissionDestination.Route.route
1717

1818
private val currentDestination: NavDestination?
1919
@Composable get() = navController

β€Žcore/common/src/main/java/com/yapp/common/navigation/Routes.ktβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,10 @@ object Routes {
3030
const val MISSION = "mission_main"
3131
const val PROGRESS = "mission_progress"
3232
}
33+
34+
object Fortune {
35+
const val ROUTE = "fortune_route"
36+
const val FORTUNE = "fortune_main"
37+
const val REWARD = "fortune_reward"
38+
}
3339
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.yapp.common.navigation.destination
2+
3+
import com.yapp.common.navigation.Routes
4+
5+
sealed class FortuneDestination(val route: String) {
6+
data object Route : FortuneDestination(Routes.Fortune.ROUTE)
7+
data object Fortune : FortuneDestination(Routes.Fortune.FORTUNE)
8+
data object Reward : FortuneDestination(Routes.Fortune.REWARD)
9+
10+
companion object {
11+
val routes = listOf(Fortune, Reward)
12+
}
13+
}

β€Žcore/designsystem/src/main/java/com/yapp/designsystem/theme/OrbitColors.ktβ€Ž

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ class OrbitColors(
2323
alert: Color = Color(0xFFF2544A),
2424
alert_pressed: Color = Color(0xFFE53D33),
2525
success: Color = Color(0xFF22C55E),
26+
27+
red: Color = Color(0xFFEF4444),
28+
pink: Color = Color(0xFFE682D7),
29+
babypink: Color = Color(0xFFFFA9A9),
30+
orange: Color = Color(0xFFFB923C),
31+
yellow: Color = Color(0xFFFDE047),
32+
green: Color = Color(0xFF4ADE80),
33+
blue: Color = Color(0xFF2563EB),
34+
blue_2: Color = Color(0xFF69A8F6),
35+
blue_3: Color = Color(0xFF7EA9DE),
36+
purple: Color = Color(0xFF735AFF),
37+
brown: Color = Color(0xFFCA8A04),
38+
gray: Color = Color(0xFF9DA7AE),
39+
indigo: Color = Color(0xFF12304C),
40+
2641
) {
2742
var main by mutableStateOf(main)
2843
private set
@@ -56,6 +71,32 @@ class OrbitColors(
5671
private set
5772
var success by mutableStateOf(success)
5873
private set
74+
var red by mutableStateOf(red)
75+
private set
76+
var pink by mutableStateOf(pink)
77+
private set
78+
var babypink by mutableStateOf(babypink)
79+
private set
80+
var orange by mutableStateOf(orange)
81+
private set
82+
var yellow by mutableStateOf(yellow)
83+
private set
84+
var green by mutableStateOf(green)
85+
private set
86+
var blue by mutableStateOf(blue)
87+
private set
88+
var blue_2 by mutableStateOf(blue_2)
89+
private set
90+
var blue_3 by mutableStateOf(blue_3)
91+
private set
92+
var purple by mutableStateOf(purple)
93+
private set
94+
var brown by mutableStateOf(brown)
95+
private set
96+
var gray by mutableStateOf(gray)
97+
private set
98+
var indigo by mutableStateOf(indigo)
99+
private set
59100

60101
fun copy(
61102
main: Color = this.main,
@@ -74,6 +115,19 @@ class OrbitColors(
74115
alert: Color = this.alert,
75116
alert_pressed: Color = this.alert_pressed,
76117
success: Color = this.success,
118+
red: Color = this.red,
119+
pink: Color = this.pink,
120+
babypink: Color = this.babypink,
121+
orange: Color = this.orange,
122+
yellow: Color = this.yellow,
123+
green: Color = this.green,
124+
blue: Color = this.blue,
125+
blue_2: Color = this.blue_2,
126+
blue_3: Color = this.blue_3,
127+
purple: Color = this.purple,
128+
brown: Color = this.brown,
129+
gray: Color = this.gray,
130+
indigo: Color = this.indigo,
77131
) = OrbitColors(
78132
main = main,
79133
sub_main = sub_main,
@@ -91,6 +145,19 @@ class OrbitColors(
91145
alert = alert,
92146
alert_pressed = alert_pressed,
93147
success = success,
148+
red = red,
149+
pink = pink,
150+
babypink = babypink,
151+
orange = orange,
152+
yellow = yellow,
153+
green = green,
154+
blue = blue,
155+
blue_2 = blue_2,
156+
blue_3 = blue_3,
157+
purple = purple,
158+
brown = brown,
159+
gray = gray,
160+
indigo = indigo,
94161
)
95162

96163
fun updateColorFrom(other: OrbitColors) {
@@ -110,6 +177,19 @@ class OrbitColors(
110177
alert = other.alert
111178
alert_pressed = other.alert_pressed
112179
success = other.success
180+
red = other.red
181+
pink = other.pink
182+
babypink = other.babypink
183+
orange = other.orange
184+
yellow = other.yellow
185+
green = other.green
186+
blue = other.blue
187+
blue_2 = other.blue_2
188+
blue_3 = other.blue_3
189+
purple = other.purple
190+
brown = other.brown
191+
gray = other.gray
192+
indigo = other.indigo
113193
}
114194
}
115195

59.3 KB
Loading
158 KB
Loading
570 KB
Loading
104 KB
Loading
292 KB
Loading
932 KB
Loading

0 commit comments

Comments
Β (0)