File tree Expand file tree Collapse file tree 8 files changed +2117
-2103
lines changed
androidMain/kotlin/dev/dimension/flare/ui/theme
kotlin/dev/dimension/flare/ui
iosMain/kotlin/dev/dimension/flare/ui/theme
jvmMain/kotlin/dev/dimension/flare/ui/theme
desktopApp/src/main/composeResources/values Expand file tree Collapse file tree 8 files changed +2117
-2103
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ internal actual object PlatformColorScheme {
88 actual val primary: Color
99 @Composable
1010 get() = MaterialTheme .colorScheme.primary
11+ actual val retweetColor: Color
12+ @Composable
13+ get() = Color (0xff00ba7c )
1114 actual val primaryContainer: Color
1215 @Composable
1316 get() = MaterialTheme .colorScheme.primaryContainer
Original file line number Diff line number Diff line change 114114 <string name =" reaction_remove" >Remove reaction</string >
115115 <string name =" reply" >Reply</string >
116116 <string name =" report" >Report</string >
117- <string name =" retweet" >Retweet </string >
118- <string name =" retweet_remove" >Remove retweet </string >
117+ <string name =" retweet" >Repost </string >
118+ <string name =" retweet_remove" >Remove repost </string >
119119 <string name =" share" >Share</string >
120120 <string name =" fx_share" >Share via FxEmbed</string >
121121 <string name =" comment" >Comment</string >
Original file line number Diff line number Diff line change @@ -933,7 +933,7 @@ private fun ActionMenu.Item.Color.toComposeColor(): Color =
933933 when (this ) {
934934 ActionMenu .Item .Color .Red -> PlatformTheme .colorScheme.error
935935 ActionMenu .Item .Color .ContentColor -> PlatformContentColor .current
936- ActionMenu .Item .Color .PrimaryColor -> PlatformTheme .colorScheme.primary
936+ ActionMenu .Item .Color .PrimaryColor -> PlatformTheme .colorScheme.retweetColor
937937 }
938938
939939private fun ActionMenu.Item.Icon.toImageVector (): ImageVector =
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ internal expect object PlatformColorScheme {
77 @get:Composable
88 val primary: Color
99
10+ @get:Composable
11+ val retweetColor: Color
12+
1013 @get:Composable
1114 val primaryContainer: Color
1215
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ internal actual object PlatformColorScheme {
1010 actual val primary: Color
1111 @Composable
1212 get() = CupertinoTheme .colorScheme.accent
13+
14+ actual val retweetColor: Color
15+ @Composable
16+ get() = CupertinoTheme .colorScheme.accent
1317 actual val primaryContainer: Color
1418 @Composable
1519 get() = CupertinoTheme .colorScheme.accent
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ internal actual object PlatformColorScheme {
88 actual val primary: Color
99 @Composable
1010 get() = FluentTheme .colors.fillAccent.default
11+
12+ actual val retweetColor: Color
13+ @Composable
14+ get() = FluentTheme .colors.fillAccent.default
1115 actual val primaryContainer: Color
1216 @Composable
1317 get() = FluentTheme .colors.fillAccent.secondary
Original file line number Diff line number Diff line change 7171 <string name =" reaction_remove" >Remove reaction</string >
7272 <string name =" reply" >Reply</string >
7373 <string name =" report" >Report</string >
74- <string name =" retweet" >Retweet </string >
75- <string name =" retweet_remove" >Remove retweet </string >
74+ <string name =" retweet" >Repost </string >
75+ <string name =" retweet_remove" >Remove repost </string >
7676 <string name =" status_loadmore_error_retry" >Retry</string >
7777 <string name =" status_detail_comment" >Comment</string >
7878 <string name =" status_detail_repost" >Repost</string >
You can’t perform that action at this time.
0 commit comments