Skip to content

Commit

Permalink
[CHORE] Add New Color Resource to Theme.
Browse files Browse the repository at this point in the history
  - Add new color resource to Application Theme that offers different color based on the device UI theme.
  • Loading branch information
doyoonkim3312 committed Oct 6, 2024
1 parent 7b662ac commit d23b6b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/com/doyoonkim/knutice/ui/theme/Theme.kt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ val ColorScheme.subTitle: Color
@Composable
get() = SubtitleAny

val ColorScheme.buttonContainer: Color
@Composable
get() = if(isSystemInDarkTheme()) ButtonDark else ButtonLight


@Composable
fun KNUTICETheme(
Expand Down

0 comments on commit d23b6b1

Please sign in to comment.